Skip to content

Commit 0586260

Browse files
committed
Merge branch 'martinroger-master'
2 parents f31aaf9 + dfa7968 commit 0586260

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

bsp/esp32_s3_touch_amoled_1_75/esp32_s3_touch_amoled_1_75.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -652,7 +652,7 @@ esp_err_t bsp_display_rotation_set(bsp_display_rotation_t rotation)
652652

653653
bool bsp_display_lock(uint32_t timeout_ms)
654654
{
655-
return esp_lv_adapter_lock(timeout_ms);
655+
return (esp_lv_adapter_lock(timeout_ms) == ESP_OK);
656656
}
657657

658658
void bsp_display_unlock(void)

bsp/esp32_s3_touch_amoled_1_75/include/bsp/esp32_s3_touch_amoled_1_75.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -305,7 +305,7 @@ lv_indev_t *bsp_display_get_input_dev(void);
305305
/**
306306
* @brief Take LVGL mutex
307307
*
308-
* @param timeout_ms Timeout in [ms]. 0 will block indefinitely.
308+
* @param timeout_ms Timeout in [ms]. -1 will block indefinitely.
309309
* @return true Mutex was taken
310310
* @return false Mutex was NOT taken
311311
*/

0 commit comments

Comments
 (0)