mirror of
https://github.com/MrUnknownDE/OpenIris-ESPIDF.git
synced 2026-04-18 22:13:45 +02:00
Remove reset camera
This commit is contained in:
@@ -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();
|
||||
// }
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user