mirror of
https://github.com/espressif/esp-idf.git
synced 2025-07-30 10:47:19 +02:00
touch: add protection for touch sleep case
This commit is contained in:
@ -1977,6 +1977,10 @@ static void test_deep_sleep_init(void)
|
|||||||
|
|
||||||
TEST_CASE("Touch Sensor sleep pad wakeup deep sleep test", "[touch][ignore]")
|
TEST_CASE("Touch Sensor sleep pad wakeup deep sleep test", "[touch][ignore]")
|
||||||
{
|
{
|
||||||
|
//TODO: IDF-4813
|
||||||
|
#if TEMPORARY_DISABLED_FOR_TARGETS(ESP32S2, ESP32S3)
|
||||||
|
abort();
|
||||||
|
#endif //TEMPORARY_DISABLED_FOR_TARGETS(..)
|
||||||
test_deep_sleep_init();
|
test_deep_sleep_init();
|
||||||
|
|
||||||
/* Change the work duty of touch sensor to reduce current. */
|
/* Change the work duty of touch sensor to reduce current. */
|
||||||
|
Reference in New Issue
Block a user