Skip to content

Commit

Permalink
remove more ambiguity.
Browse files Browse the repository at this point in the history
  • Loading branch information
mmosca committed Jan 19, 2025
1 parent 3497987 commit 1d708c1
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions src/main/io/displayport_msp_dji_compat.c
Original file line number Diff line number Diff line change
Expand Up @@ -256,10 +256,11 @@ uint8_t getDJICharacter(uint8_t ch, uint8_t page)
return DJI_SYM_M;

case SYM_KM:
return 'K';
return DJI_SYM_KM;

case SYM_MI:
return 'M';
return DJI_SYM_MILES;

/*
case SYM_NM:
return DJI_SYM_NM;
Expand All @@ -277,14 +278,13 @@ uint8_t getDJICharacter(uint8_t ch, uint8_t page)
/*
case SYM_AIR:
return 'A'; // A for airspeed
*/
case SYM_3D_KMH:
return DJI_SYM_KPH;
case SYM_3D_MPH:
return DJI_SYM_MPH;

*/
case SYM_RPM:
return DJI_SYM_RPM;

Expand Down Expand Up @@ -352,10 +352,10 @@ uint8_t getDJICharacter(uint8_t ch, uint8_t page)
case SYM_ZERO_HALF_LEADING_DOT:
return DJI_SYM_ZERO_HALF_LEADING_DOT;
*/
case SYM_AUTO_THR0:
return 'A';
*/

case SYM_AUTO_THR1:
return DJI_SYM_THR;
Expand Down

0 comments on commit 1d708c1

Please sign in to comment.