فهرست منبع

Fix syntax error in PowerResetCamera function

SybexXx 3 ماه پیش
والد
کامیت
4216bf6bb1
1فایلهای تغییر یافته به همراه1 افزوده شده و 1 حذف شده
  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");
     }