Update main.c keep Pi Zero 2 threshold voltage the same

beta-drop
Alan Johnston 2 years ago committed by GitHub
parent 3f08d6d439
commit 488b8d164d
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

@ -39,7 +39,7 @@ int main(int argc, char * argv[]) {
if ((resbuffer[0] == '9') && (resbuffer[1] == '0')) if ((resbuffer[0] == '9') && (resbuffer[1] == '0'))
{ {
sleep(5); // try sleep at start to help boot sleep(5); // try sleep at start to help boot
voltageThreshold = 3.7; // voltageThreshold = 3.7;
printf("Pi Zero 2 detected\n"); printf("Pi Zero 2 detected\n");
} }

Loading…
Cancel
Save

Powered by TurnKey Linux.