only turn off Power LED if CW ID is enabled

pull/33/merge
alanbjohnston 6 years ago committed by GitHub
parent 522ed51433
commit de1d1d38a2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -611,8 +611,8 @@ while (loop-- != 0)
transmit = popen("sudo killall -9 sendiq > /dev/null 2>&1", "r");
transmit = popen("sudo fuser -k 8080/tcp > /dev/null 2>&1", "r");
// if(vB4)
digitalWrite (onLed, onLedOff);
if(cw_id == ON) // only turn off Power LED if CW ID is enabled (i.e. not demo.sh mode cycling)
digitalWrite (onLed, onLedOff);
return 0;
}

Loading…
Cancel
Save

Powered by TurnKey Linux.