gpio_sch: use k_thread_create()

Signed-off-by: Andrew Boie <andrew.p.boie@intel.com>
This commit is contained in:
Andrew Boie 2017-05-09 12:12:54 -07:00 committed by Anas Nashif
commit f21129180d
2 changed files with 7 additions and 5 deletions

View file

@ -34,6 +34,7 @@ struct gpio_sch_config {
struct gpio_sch_data {
char __stack polling_stack[GPIO_SCH_POLLING_STACK_SIZE];
struct k_thread polling_thread;
sys_slist_t callbacks;
struct k_timer poll_timer;