소스 검색

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");
     }