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

Address #11463
This commit is contained in:
Giuliano 2018-08-07 06:14:53 +02:00 committed by Scott Lahteine
parent e85feb2545
commit eee1b7c50c

View file

@ -97,7 +97,9 @@ void Max7219(const uint8_t reg, const uint8_t data) {
Max7219_PutByte(reg); // specify register Max7219_PutByte(reg); // specify register
SIG_DELAY(); SIG_DELAY();
Max7219_PutByte(data); // put data Max7219_PutByte(data); // put data
#ifndef CPU_32_BIT
CRITICAL_SECTION_END; CRITICAL_SECTION_END;
#endif
} }
#if ENABLED(MAX7219_NUMERIC) #if ENABLED(MAX7219_NUMERIC)