betaflight font mapping

accounts for logo at the end of the font file, starting at 0xA0
This commit is contained in:
nathan 2016-06-29 02:02:57 -07:00
parent 08ff559ccf
commit dc4791f024
1 changed files with 7 additions and 14 deletions

View File

@ -125,16 +125,9 @@
#define SYM_MAG11 0xB6 #define SYM_MAG11 0xB6
// AH Center screen Graphics // AH Center screen Graphics
//#define SYM_AH_CENTER 0x01 #define SYM_AH_CENTER_LINE 0x26
#ifdef ALT_CENTER #define SYM_AH_CENTER_LINE_RIGHT 0x27
#define SYM_AH_CENTER_LINE 0xB0 #define SYM_AH_CENTER 0x7E
#define SYM_AH_CENTER 0xB1
#define SYM_AH_CENTER_LINE_RIGHT 0xB2
#else
#define SYM_AH_CENTER_LINE 0x26
#define SYM_AH_CENTER 0x7E
#define SYM_AH_CENTER_LINE_RIGHT 0xBC
#endif
#define SYM_AH_RIGHT 0x02 #define SYM_AH_RIGHT 0x02
#define SYM_AH_LEFT 0x03 #define SYM_AH_LEFT 0x03
#define SYM_AH_DECORATION_UP 0xC9 #define SYM_AH_DECORATION_UP 0xC9
@ -183,7 +176,7 @@
#define SYM_FT 0x0F #define SYM_FT 0x0F
// Voltage and amperage // Voltage and amperage
#define SYM_VOLT 0xA9 #define SYM_VOLT 0x00
#define SYM_AMP 0x9A #define SYM_AMP 0x9A
#define SYM_MAH 0xA4 #define SYM_MAH 0xA4
#define SYM_WATT 0x57 #define SYM_WATT 0x57
@ -214,11 +207,11 @@
#define SYM_FLY_H 0x71 #define SYM_FLY_H 0x71
// Throttle Position (%) // Throttle Position (%)
#define SYM_THR 0xC8 #define SYM_THR 0x04
#define SYM_THR1 0xC9 #define SYM_THR1 0x05
// RSSI // RSSI
#define SYM_RSSI 0xBA #define SYM_RSSI 0x01
// Menu cursor // Menu cursor
#define SYM_CURSOR SYM_AH_LEFT #define SYM_CURSOR SYM_AH_LEFT