check init when spooling is stopped
This commit is contained in:
3
spule.c
3
spule.c
@@ -109,7 +109,7 @@ void do_spule(){
|
|||||||
if (read_Input(BTN_WICKELN_AUS, RISING)) {
|
if (read_Input(BTN_WICKELN_AUS, RISING)) {
|
||||||
spule_onoff(0);
|
spule_onoff(0);
|
||||||
}
|
}
|
||||||
|
}
|
||||||
if (read_Input(BTN_INIT, RISING)) {
|
if (read_Input(BTN_INIT, RISING)) {
|
||||||
spule_trans_homed = 0;
|
spule_trans_homed = 0;
|
||||||
taenzer_state.homed = 0;
|
taenzer_state.homed = 0;
|
||||||
@@ -117,7 +117,6 @@ void do_spule(){
|
|||||||
windings = 0;
|
windings = 0;
|
||||||
windings_wakeup = 0;
|
windings_wakeup = 0;
|
||||||
}
|
}
|
||||||
}
|
|
||||||
//PORTH |= (1<<5);
|
//PORTH |= (1<<5);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user