Sfoglia il codice sorgente

Fix syntax error in PowerResetCamera function

SybexXx 3 mesi fa
parent
commit
4216bf6bb1
1 ha cambiato i file con 1 aggiunte e 1 eliminazioni
  1. 1 1
      code/components/jomjol_controlcamera/server_camera.cpp

+ 1 - 1
code/components/jomjol_controlcamera/server_camera.cpp

@@ -19,7 +19,7 @@ static const char *TAG = "server_cam";
 void PowerResetCamera()
 {
     // Use reset only if pin is available
-    if CAM_PIN_PWDN == GPIO_NUM_NC
+    if (CAM_PIN_PWDN == GPIO_NUM_NC)
     {
         LogFile.WriteToFile(ESP_LOG_DEBUG, TAG, "No power down pin availbale to reset camera");
     }