Clean up some HAL code

This commit is contained in:
Scott Lahteine
2017-08-31 17:30:43 -05:00
parent b29b66feda
commit 27cbb939b2
12 changed files with 140 additions and 164 deletions

View File

@@ -355,11 +355,8 @@ void Stepper::isr() {
}
_NEXT_ISR(ocr_val);
#ifdef CPU_32_BIT
//todo: HAL?
#else
NOLESS(OCR1A, TCNT1 + 16);
#endif
NOLESS(OCR1A, TCNT1 + 16);
HAL_ENABLE_ISRs(); // re-enable ISRs
return;