Explorar o código

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

balbekova %!s(int64=2) %!d(string=hai) anos
pai
achega
8ef0f6f8a4
Modificáronse 1 ficheiros con 1 adicións e 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