1
0
Fork 0
mirror of https://github.com/betaflight/betaflight.git synced 2025-07-20 06:45:16 +03:00

Renumbered timerFlag_e

Also made it clear that they are bit flags.
This commit is contained in:
jflyper 2017-11-07 03:36:05 +09:00
parent 751a3307cb
commit 2a1b09f3ae

View file

@ -114,9 +114,9 @@ typedef struct timerHardware_s {
} timerHardware_t;
typedef enum {
TIMER_OUTPUT_NONE = 0x00,
TIMER_OUTPUT_INVERTED = 0x02,
TIMER_OUTPUT_N_CHANNEL = 0x04
TIMER_OUTPUT_NONE = 0,
TIMER_OUTPUT_INVERTED = (1 << 0),
TIMER_OUTPUT_N_CHANNEL = (1 << 1),
} timerFlag_e;
#ifdef STM32F1