mirror of
https://github.com/apache/nuttx.git
synced 2026-05-30 05:16:47 +08:00
sched/wdog: Don't dynamically allocate wdog_s
to save the preserved space(1KB) and also avoid the heap overhead Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com> Change-Id: I694073f68e1bd63960cedeea1ddec441437be025
This commit is contained in:
@@ -149,7 +149,7 @@ struct pcf8574_dev_s
|
||||
|
||||
#ifdef CONFIG_IOEXPANDER_INT_ENABLE
|
||||
#ifdef CONFIG_PCF8574_INT_POLL
|
||||
WDOG_ID wdog; /* Timer used to poll for missed interrupts */
|
||||
struct wdog_s wdog; /* Timer used to poll for missed interrupts */
|
||||
#endif
|
||||
|
||||
uint8_t input; /* Last input registers */
|
||||
|
||||
Reference in New Issue
Block a user