1
0
mirror of https://bitbucket.org/librepilot/librepilot.git synced 2024-12-01 09:24:10 +01:00

REVONANO - Enable WDG and raise timeout value (due to eeprom reading and initialization being very slow)

This commit is contained in:
Alessio Morale 2014-12-14 15:20:12 +01:00
parent 1e9829b5b7
commit 674963790e
2 changed files with 2 additions and 2 deletions

View File

@ -69,7 +69,7 @@
#define PIOS_INCLUDE_SPI
#define PIOS_INCLUDE_GPIO
#define PIOS_INCLUDE_EXTI
//#define PIOS_INCLUDE_WDG
#define PIOS_INCLUDE_WDG
/* PIOS USB functions */
#define PIOS_INCLUDE_USB

View File

@ -107,7 +107,7 @@
// ------------------------
// PIOS_WDG
// ------------------------
#define PIOS_WATCHDOG_TIMEOUT 250
#define PIOS_WATCHDOG_TIMEOUT 500
#define PIOS_WDG_REGISTER RTC_BKP_DR4
#define PIOS_WDG_ACTUATOR 0x0001
#define PIOS_WDG_STABILIZATION 0x0002