mirror of
https://github.com/espressif/esp-idf.git
synced 2025-08-04 05:04:33 +02:00
light sleep: add esp_timer light sleep test case
This commit is contained in:
@@ -9,8 +9,6 @@
|
|||||||
#include "esp_sleep.h"
|
#include "esp_sleep.h"
|
||||||
|
|
||||||
|
|
||||||
#if !TEMPORARY_DISABLED_FOR_TARGETS(ESP32S3) // IDF-1780 ESP32-S3 Deep sleep and light sleep
|
|
||||||
|
|
||||||
static void timer_cb1(void *arg)
|
static void timer_cb1(void *arg)
|
||||||
{
|
{
|
||||||
++*((int*) arg);
|
++*((int*) arg);
|
||||||
@@ -48,5 +46,3 @@ TEST_CASE("Test the periodic timer does not handle lost events during light slee
|
|||||||
TEST_ESP_OK(esp_timer_dump(stdout));
|
TEST_ESP_OK(esp_timer_dump(stdout));
|
||||||
TEST_ESP_OK(esp_timer_delete(periodic_timer));
|
TEST_ESP_OK(esp_timer_delete(periodic_timer));
|
||||||
}
|
}
|
||||||
|
|
||||||
#endif // !TEMPORARY_DISABLED_FOR_TARGETS(ESP32S3)
|
|
||||||
|
Reference in New Issue
Block a user