diff --git a/spindle_control.c b/spindle_control.c index 8fb51e0..5dfab0b 100644 --- a/spindle_control.c +++ b/spindle_control.c @@ -93,5 +93,5 @@ uint8_t spindle_pwm() void spindle_pwm_update(uint8_t pwm) { - OCRA_REGISTER = pwm; + OCR_REGISTER = pwm; }