mirror of
https://bitbucket.org/librepilot/librepilot.git
synced 2025-02-20 10:54:14 +01:00
LP-252 allow compile without watchdog
This commit is contained in:
parent
aca8a4db13
commit
352d2c27f0
@ -110,6 +110,10 @@ static void gpspSystemTask(__attribute__((unused)) void *parameters)
|
||||
while (!initTaskDone) {
|
||||
vTaskDelay(10);
|
||||
}
|
||||
#ifndef PIOS_INCLUDE_WDG
|
||||
// if no watchdog is enabled, don't reset watchdog in MODULE_TASKCREATE_ALL loop
|
||||
#define PIOS_WDG_Clear()
|
||||
#endif
|
||||
/* create all modules thread */
|
||||
MODULE_TASKCREATE_ALL;
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user