Explorar el Código

[BT-6709/10]change UPS model RTMP IIv -> RTMP II r

balbekova hace 2 años
padre
commit
8ef0f6f8a4
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      modules/MegaTec/megatec.c

+ 1 - 1
modules/MegaTec/megatec.c

@@ -671,7 +671,7 @@ void ups_model_response(char *data)
             } else
 #endif
 #if HARDWARE_BT6709_MTS || HARDWARE_BT6710
-            if(strncmp(value, "RTMP-II v", 9) == 0) {
+            if(strncmp(value, "RTMP-II v", 9) == 0 || strncmp(value, "RTMP-IIv", 8) == 0) {
                 strcpy(UPS.model, "RTMP-II r");
             } else
 #endif