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,7 +97,9 @@ void Max7219(const uint8_t reg, const uint8_t data) {
97 97
   Max7219_PutByte(reg);          // specify register
98 98
   SIG_DELAY();
99 99
   Max7219_PutByte(data);         // put data
100
+  #ifndef CPU_32_BIT
100 101
     CRITICAL_SECTION_END;
102
+  #endif
101 103
 }
102 104
 
103 105
 #if ENABLED(MAX7219_NUMERIC)

Loading…
Cancel
Save