diff --git a/spule.c b/spule.c index 98d1ab1..b2a8432 100644 --- a/spule.c +++ b/spule.c @@ -91,7 +91,8 @@ void do_spule(){ } ISR(TIMER1_OVF_vect) { - if(ioHelperReadBit(outStates, MOTOR_TRANS_DIR)){ + //if(ioHelperReadBit(outStates, MOTOR_TRANS_DIR)){ + if(PORTB & (1<<6)){ spule_trans_pos -= 1; } else{