瀏覽代碼

Corrected errors

Nicole Portas 1 年之前
父節點
當前提交
e23f88e7bc
共有 2 個文件被更改,包括 2 次插入2 次删除
  1. 1 1
      patch/inav/src/main/io/displayport_msp_bf_compat.c
  2. 1 1
      patch/inav/src/main/io/osd.c

+ 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;