touch: add protection for touch sleep case

This commit is contained in:
Michael (XIAO Xufeng) 2022-03-24 18:26:16 +08:00
parent 8075f44178
commit 974ac3b4b8

View File

@ -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. */