| 47 | static rt_uint32_t timeout = 3; |
| 48 | |
| 49 | static void idle_hook(void) |
| 50 | { |
| 51 | /* Feed the dog in the callback function of the idle thread */ |
| 52 | if (flag_feed) |
| 53 | rt_device_control(wdg_dev, KD_DEVICE_CTRL_WDT_KEEPALIVE, NULL); |
| 54 | |
| 55 | /* Do not print, otherwise the screen will display too much. */ |
| 56 | } |
| 57 | |
| 58 | static void waiting_for_timeout(int seconds) |
| 59 | { |
nothing calls this directly
no test coverage detected