chg: feedback after successful operation. led flashes twice. and whitespace removed

This commit is contained in:
iceman1001 2019-09-13 10:04:59 +02:00
parent 680d1db9ec
commit cb23de9694

View file

@ -95,6 +95,7 @@ void RunMod() {
continue;
}
SpinErr( (select==0) ? LED_A : LED_B, 250, 2);
state = STATE_SIM;
continue;
@ -108,6 +109,7 @@ void RunMod() {
// high, low, no led control(A) no time limit
CmdHIDsimTAGEx(high[selected], low[selected], false, -1);
SpinErr( LED_C, 250, 2);
state = STATE_CLONE;
continue;
@ -122,9 +124,8 @@ void RunMod() {
// high2, high, low, no longFMT
CopyHIDtoT55x7(0, high[selected], low[selected], 0);
state = STATE_READ;
SpinErr( LED_D, 250, 2);
selected = (selected + 1) % OPTS;
LEDsoff();
}
}