@@ -40,7 +40,7 @@ static void os_power_task_handle(void *pvParameters)
4040 EventBits_t uxBits = xEventGroupGetBits (user_event_group );
4141 if (uxBits & OS_PWR_SLEEP_BIT ) {
4242 for (int i = 3 ; i > 0 ; i -- ) {
43- ESP_LOGW (OS_PWR_TAG , "sleep countdown...%d " , i );
43+ ESP_LOGW (OS_PWR_TAG , "sleeping in %ds " , i );
4444 vTaskDelay (1000 / portTICK_RATE_MS );
4545 }
4646
@@ -70,7 +70,7 @@ static void os_power_task_handle(void *pvParameters)
7070 esp_deep_sleep_start ();
7171 } else if (uxBits & OS_PWR_RESTART_BIT ) {
7272 for (int i = 3 ; i > 0 ; i -- ) {
73- ESP_LOGW (OS_PWR_TAG , "restart countdown...%d " , i );
73+ ESP_LOGW (OS_PWR_TAG , "restarting in %ds " , i );
7474 vTaskDelay (1000 / portTICK_RATE_MS );
7575 }
7676
@@ -140,7 +140,7 @@ void os_init(void)
140140#endif
141141 ESP_LOGW (OS_PWR_TAG , "resuming from sleep mode" );
142142 } else {
143- ESP_LOGW (OS_PWR_TAG , "resume aborted" );
143+ ESP_LOGW (OS_PWR_TAG , "resuming aborted" );
144144
145145 os_power_sleep_wait (0 );
146146 }
@@ -154,6 +154,6 @@ void os_init(void)
154154#endif // CONFIG_ENABLE_WAKEUP_KEY
155155
156156#if defined(CONFIG_ENABLE_WAKEUP_KEY ) || defined(CONFIG_ENABLE_SLEEP_KEY ) || defined(CONFIG_ENABLE_OTA_OVER_SPP )
157- xTaskCreatePinnedToCore (os_power_task_handle , "OsPowerT " , 2048 , NULL , 5 , NULL , 0 );
157+ xTaskCreatePinnedToCore (os_power_task_handle , "osPowerT " , 2048 , NULL , 5 , NULL , 0 );
158158#endif
159159}
0 commit comments