use PIN_IRQ_PIN_NONE to replace RT_PIN_NONE

This commit is contained in:
Meco Man
2022-12-26 02:10:30 -05:00
committed by Man, Jianting (Meco)
parent 2570fab0e1
commit 20a6f14e89
10 changed files with 15 additions and 18 deletions
@@ -264,7 +264,7 @@ int rt_touch_init(void)
else if (TOUCH_POLL_MODE == current_driver->check_mode)
{
rt_thread_t thread;
irq_pin = RT_PIN_NONE; // No interrupt pins are used
irq_pin = PIN_IRQ_PIN_NONE; // No interrupt pins are used
thread = rt_thread_create("touch", touch_poll_entry, RT_NULL, 2048, 16, 20);
if (thread == RT_NULL)
{