Browse Source

[2.0.x] Fix compile error (#11465)

Address #11463
Giuliano 7 years ago
parent
commit
eee1b7c50c
1 changed files with 2 additions and 0 deletions
  1. 2
    0
      Marlin/src/feature/Max7219_Debug_LEDs.cpp

+ 2
- 0
Marlin/src/feature/Max7219_Debug_LEDs.cpp View File

97
   Max7219_PutByte(reg);          // specify register
97
   Max7219_PutByte(reg);          // specify register
98
   SIG_DELAY();
98
   SIG_DELAY();
99
   Max7219_PutByte(data);         // put data
99
   Max7219_PutByte(data);         // put data
100
+  #ifndef CPU_32_BIT
100
     CRITICAL_SECTION_END;
101
     CRITICAL_SECTION_END;
102
+  #endif
101
 }
103
 }
102
 
104
 
103
 #if ENABLED(MAX7219_NUMERIC)
105
 #if ENABLED(MAX7219_NUMERIC)

Loading…
Cancel
Save