Cosmetics

This commit is contained in:
Bertrand Songis
2019-05-15 09:13:46 +02:00
parent 2f67e75720
commit 19bbc03bc9
+4 -4
View File
@@ -396,12 +396,12 @@ extern uint8_t channel_order(uint8_t x);
#define ROTENC_DELAY_HIGHSPEED 16 #define ROTENC_DELAY_HIGHSPEED 16
#endif #endif
#define HEART_TIMER_10MS 1 constexpr uint8_t HEART_TIMER_10MS = 0x01;
#define HEART_TIMER_PULSES 2 // when multiple modules this is the first one constexpr uint8_t HEART_TIMER_PULSES = 0x02; // when multiple modules this is the first one
#if defined(PCBTARANIS) || defined(PCBHORUS) #if defined(PCBTARANIS) || defined(PCBHORUS)
#define HEART_WDT_CHECK (HEART_TIMER_10MS + (HEART_TIMER_PULSES << 0) + (HEART_TIMER_PULSES << 1)) constexpr uint8_t HEART_WDT_CHECK = (HEART_TIMER_10MS + (HEART_TIMER_PULSES << 0) + (HEART_TIMER_PULSES << 1));
#else #else
#define HEART_WDT_CHECK (HEART_TIMER_10MS + HEART_TIMER_PULSES) constexpr uint8_t HEART_WDT_CHECK = (HEART_TIMER_10MS + HEART_TIMER_PULSES);
#endif #endif
extern uint8_t heartbeat; extern uint8_t heartbeat;