Browse Source

Corrected errors

Nicole Portas 1 năm trước cách đây
mục cha
commit
e23f88e7bc

+ 1 - 1
patch/inav/src/main/io/displayport_msp_bf_compat.c

@@ -370,7 +370,7 @@ uint8_t getBfCharacter(uint8_t ch, uint8_t page)
 
     case SYM_TEMP:
         return BF_SYM_TEMPERATURE;
-
+/*
     case SYM_TEMP_SENSOR_FIRST:
         return 'A';
 

+ 1 - 1
patch/inav/src/main/io/osd.c

@@ -1158,7 +1158,7 @@ static void osdFormatThrottlePosition(char *buff, bool useScaled, textAttributes
 #endif
     int8_t throttlePercent = getThrottlePercent(useScaled);
     if ((useScaled && throttlePercent <= 0) || !ARMING_FLAG(ARMED)) {
-        const char* message = ARMING_FLAG(ARMED) ? (throttlePercent == 0 && !ifMotorstopFeatureEnabled()) ? "IDLE" : "STOP" : "DARM";
+        const char* message = ARMING_FLAG(ARMED) ? (throttlePercent == 0 && !ifMotorstopFeatureEnabled()) ? "IDLE" : "STOP" : "DSBL";
         buff[0] = SYM_THR;
         strcpy(buff + 1, message);
         return;