1
0
Fork 0
mirror of https://github.com/betaflight/betaflight.git synced 2025-07-16 21:05:35 +03:00

Lower watchdog timer for interrupt

This commit is contained in:
borisbstyle 2015-09-02 14:28:41 +02:00
parent 4e230668cd
commit 6d99b58330

View file

@ -92,7 +92,7 @@ enum {
#define VBATINTERVAL (6 * 3500) #define VBATINTERVAL (6 * 3500)
/* IBat monitoring interval (in microseconds) - 6 default looptimes */ /* IBat monitoring interval (in microseconds) - 6 default looptimes */
#define IBATINTERVAL (6 * 3500) #define IBATINTERVAL (6 * 3500)
#define GYRO_WATCHDOG_DELAY 500 // Watchdog for boards without interrupt for gyro #define GYRO_WATCHDOG_DELAY 200 // Watchdog for boards without interrupt for gyro
uint32_t currentTime = 0; uint32_t currentTime = 0;
uint32_t previousTime = 0; uint32_t previousTime = 0;