forked from espressif/esp-idf
touch_sensor: enlarge task stack in examples
This commit is contained in:
@@ -1,5 +1,5 @@
|
|||||||
/*
|
/*
|
||||||
* SPDX-FileCopyrightText: 2021 Espressif Systems (Shanghai) CO LTD
|
* SPDX-FileCopyrightText: 2021-2022 Espressif Systems (Shanghai) CO LTD
|
||||||
*
|
*
|
||||||
* SPDX-License-Identifier: CC0-1.0
|
* SPDX-License-Identifier: CC0-1.0
|
||||||
*/
|
*/
|
||||||
@@ -165,5 +165,5 @@ void app_main(void)
|
|||||||
// Register touch interrupt ISR
|
// Register touch interrupt ISR
|
||||||
touch_pad_isr_register(tp_example_rtc_intr, NULL);
|
touch_pad_isr_register(tp_example_rtc_intr, NULL);
|
||||||
// Start a task to show what pads have been touched
|
// Start a task to show what pads have been touched
|
||||||
xTaskCreate(&tp_example_read_task, "touch_pad_read_task", 2048, NULL, 5, NULL);
|
xTaskCreate(&tp_example_read_task, "touch_pad_read_task", 4096, NULL, 5, NULL);
|
||||||
}
|
}
|
||||||
|
@@ -1,5 +1,5 @@
|
|||||||
/*
|
/*
|
||||||
* SPDX-FileCopyrightText: 2021 Espressif Systems (Shanghai) CO LTD
|
* SPDX-FileCopyrightText: 2021-2022 Espressif Systems (Shanghai) CO LTD
|
||||||
*
|
*
|
||||||
* SPDX-License-Identifier: CC0-1.0
|
* SPDX-License-Identifier: CC0-1.0
|
||||||
*/
|
*/
|
||||||
@@ -66,5 +66,5 @@ void app_main(void)
|
|||||||
touch_pad_filter_start(TOUCHPAD_FILTER_TOUCH_PERIOD);
|
touch_pad_filter_start(TOUCHPAD_FILTER_TOUCH_PERIOD);
|
||||||
#endif
|
#endif
|
||||||
// Start task to read values sensed by pads
|
// Start task to read values sensed by pads
|
||||||
xTaskCreate(&tp_example_read_task, "touch_pad_read_task", 2048, NULL, 5, NULL);
|
xTaskCreate(&tp_example_read_task, "touch_pad_read_task", 4096, NULL, 5, NULL);
|
||||||
}
|
}
|
||||||
|
@@ -208,5 +208,5 @@ void app_main(void)
|
|||||||
touch_pad_fsm_start();
|
touch_pad_fsm_start();
|
||||||
|
|
||||||
// Start a task to show what pads have been touched
|
// Start a task to show what pads have been touched
|
||||||
xTaskCreate(&tp_example_read_task, "touch_pad_read_task", 2048, NULL, 5, NULL);
|
xTaskCreate(&tp_example_read_task, "touch_pad_read_task", 4096, NULL, 5, NULL);
|
||||||
}
|
}
|
||||||
|
@@ -85,5 +85,5 @@ void app_main(void)
|
|||||||
touch_pad_fsm_start();
|
touch_pad_fsm_start();
|
||||||
|
|
||||||
/* Start task to read values by pads. */
|
/* Start task to read values by pads. */
|
||||||
xTaskCreate(&tp_example_read_task, "touch_pad_read_task", 2048, NULL, 5, NULL);
|
xTaskCreate(&tp_example_read_task, "touch_pad_read_task", 4096, NULL, 5, NULL);
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user