Explorar el Código

efem报错不能运行

lixiang hace 2 años
padre
commit
acbb0f745b
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      Venus/Venus_RT/Devices/VirgoSignalTower.cs

+ 1 - 1
Venus/Venus_RT/Devices/VirgoSignalTower.cs

@@ -94,7 +94,7 @@ namespace Venus_RT.Devices
 
                     break;
             }
-            EfemController.SetLamp(venusType, venusSetpoint);
+            EfemController?.SetLamp(venusType, venusSetpoint);
             _SignalTower.SetLight(venusType, lightState);
             return true;
         }