change tag
This commit is contained in:
parent
896aefde48
commit
48aab82046
@ -1,8 +1,8 @@
|
||||
extern SemaphoreHandle_t lvgl_mux;
|
||||
const char* TAG="bsp";
|
||||
static const char* TAG_BSP="bsp";
|
||||
bool bsp_display_lock(int timeout_ms)
|
||||
{
|
||||
ESP_LOGI(TAG, "Obtention mutex");
|
||||
ESP_LOGI(TAG_BSP, "Obtention mutex");
|
||||
// Convert timeout in milliseconds to FreeRTOS ticks
|
||||
// If `timeout_ms` is set to -1, the program will block until the condition is met
|
||||
const TickType_t timeout_ticks = (timeout_ms == -1) ? portMAX_DELAY : pdMS_TO_TICKS(timeout_ms);
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user