mirror of
https://github.com/RT-Thread/rt-thread.git
synced 2026-09-26 06:43:58 +08:00
use PIN_IRQ_PIN_NONE to replace RT_PIN_NONE
This commit is contained in:
committed by
Man, Jianting (Meco)
parent
2570fab0e1
commit
20a6f14e89
@@ -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)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user