Remove reset camera

This commit is contained in:
Lorow
2025-10-09 23:12:57 +02:00
parent 44b5fe157a
commit ecf881a552
3 changed files with 1 additions and 27 deletions

View File

@@ -255,28 +255,4 @@ int CameraManager::setVieWindow(int offsetX,
// todo safariMonkey made a PoC, implement it here
return 0;
}
//! either hardware(1) or software(0)
void CameraManager::resetCamera(bool type)
{
// TODO add camera reset
// if (type)
// {
// // power cycle the camera module (handy if camera stops responding)
// digitalWrite(PWDN_GPIO_NUM, HIGH); // turn power off to camera module
// Network_Utilities::my_delay(0.3); // a for loop with a delay of 300ms
// digitalWrite(PWDN_GPIO_NUM, LOW);
// Network_Utilities::my_delay(0.3);
// setupCamera();
// }
// else
// {
// // reset via software (handy if you wish to change resolution or image type
// // etc. - see test procedure)
// esp_camera_deinit();
// Network_Utilities::my_delay(0.05);
// setupCamera();
// }
}
}