Skip to content

Commit 117c65b

Browse files
author
MOK
committed
BugFix: buffer too large will affect the http request...
1 parent 413cee3 commit 117c65b

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

lib/appController/appController.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -250,7 +250,7 @@ void https_get_all_stock_prices(void)
250250
{
251251
httpsClient->setCACert(rootCACertificate); // Set the root CA certificate
252252
httpsClient->setHandshakeTimeout(8000); // Set handshake timeout
253-
httpsClient->setInsecure(); // Disable certificate validation for testing purposes (not recommended for production)
253+
// httpsClient->setInsecure(); // Disable certificate validation for testing purposes (not recommended for production)
254254
for (int i = 0; i < 4; ++i)
255255
{
256256

lib/hal/app_hal.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
static const uint32_t screenWidth = WIDTH;
1010
static const uint32_t screenHeight = HEIGHT;
1111

12-
const unsigned int lvBufferSize = screenWidth * screenHeight;
12+
const unsigned int lvBufferSize = screenWidth * 30;
1313
uint8_t lvBuffer[2][lvBufferSize];
1414

1515
static lv_display_t *lvDisplay;

0 commit comments

Comments
 (0)