Update main.c add check for safe mode

beta-sim
Alan Johnston 2 years ago committed by GitHub
parent 00a361e590
commit 3b8ab093de
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

@ -122,6 +122,9 @@ int main(int argc, char * argv[]) {
// FILE * rpitx_restart = popen("sudo systemctl restart rpitx", "r");
// pclose(rpitx_restart);
if (battery_saver_check() == ON)
SafeMode = 0;
mode = FSK;
frameCnt = 1;

Loading…
Cancel
Save

Powered by TurnKey Linux.