touch: add protection for touch sleep case

pull/9423/head
Michael (XIAO Xufeng) 2022-03-24 18:26:16 +08:00
rodzic c29343eb94
commit b6c2c80e44
1 zmienionych plików z 4 dodań i 0 usunięć

Wyświetl plik

@ -1977,6 +1977,10 @@ static void test_deep_sleep_init(void)
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();
/* Change the work duty of touch sensor to reduce current. */