try to fix LIN_ADVANCE for 32bit

This commit is contained in:
kfazz
2017-08-12 20:09:39 -04:00
committed by Scott Lahteine
parent 18f97c4013
commit fa9ff6be6e
2 changed files with 15 additions and 8 deletions

View File

@@ -1608,7 +1608,7 @@ void Temperature::isr() {
// Allow UART and stepper ISRs
DISABLE_TEMPERATURE_INTERRUPT(); //Disable Temperature ISR
#if !defined(CPU_32_BIT)
#ifndef CPU_32_BIT
sei();
#endif
@@ -2114,7 +2114,7 @@ void Temperature::isr() {
}
#endif
#if !defined(CPU_32_BIT)
#ifndef CPU_32_BIT
cli();
#endif
in_temp_isr = false;