Skip to content

Commit

Permalink
Merge pull request #8718 from iNavFlight/dzikuvx-bfcompat-rpm
Browse files Browse the repository at this point in the history
Add RPM symbol translation
  • Loading branch information
DzikuVx committed Jan 20, 2023
2 parents 8325080 + c69ada7 commit 4d4e01e
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/main/io/bf_osd_symbols.h
Expand Up @@ -28,7 +28,7 @@
#define BF_SYM_HYPHEN 0x2D
#define BF_SYM_BBLOG 0x10
#define BF_SYM_HOMEFLAG 0x11
//#define SYM_RPM 0x12
#define BF_SYM_RPM 0x12
#define BF_SYM_ROLL 0x14
#define BF_SYM_PITCH 0x15
#define BF_SYM_TEMPERATURE 0x7A
Expand Down
5 changes: 3 additions & 2 deletions src/main/io/displayport_msp_bf_compat.c
Expand Up @@ -237,13 +237,14 @@ uint8_t getBfCharacter(uint8_t ch, uint8_t page)
case SYM_3D_KT:
return BF_SYM_3D_KT;
case SYM_RPM:
return BF_SYM_RPM;
case SYM_AIR:
return BF_SYM_AIR;
*/

case SYM_RPM:
return BF_SYM_RPM;

case SYM_FTS:
return BF_SYM_FTPS;
/*
Expand Down

0 comments on commit 4d4e01e

Please sign in to comment.