1
0
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:
Harold Hankins 2016-03-02 17:29:37 -05:00
parent aca8a4db13
commit 352d2c27f0

View File

@ -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;