Cosmetics
This commit is contained in:
+4
-4
@@ -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;
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user