Browse Source

Fix syntax error in PowerResetCamera function

SybexXx 3 tháng trước cách đây
mục cha
commit
4216bf6bb1
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  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");
     }