1
0
Fork 0
mirror of https://github.com/betaflight/betaflight.git synced 2025-07-24 08:45:36 +03:00

Merge pull request #7994 from krzysztofmatula/km-on-arm-timer

OSD: combined ON/ARM timer
This commit is contained in:
Michael Keller 2019-04-19 13:38:56 +12:00 committed by GitHub
commit edcacb9f0d
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 8 additions and 2 deletions

View file

@ -26,7 +26,7 @@
#include "sensors/esc_sensor.h"
#define OSD_NUM_TIMER_TYPES 3
#define OSD_NUM_TIMER_TYPES 4
extern const char * const osdTimerSourceNames[OSD_NUM_TIMER_TYPES];
#define OSD_ELEMENT_BUFFER_LENGTH 32
@ -180,6 +180,7 @@ typedef enum {
OSD_TIMER_SRC_ON,
OSD_TIMER_SRC_TOTAL_ARMED,
OSD_TIMER_SRC_LAST_ARMED,
OSD_TIMER_SRC_ON_OR_ARMED,
OSD_TIMER_SRC_COUNT
} osd_timer_source_e;