Fix compile error with SD_FIRMWARE_UPDATE (#12462)

This commit is contained in:
Ludy
2018-11-18 04:13:36 +01:00
committed by Scott Lahteine
parent 779b2709ec
commit 22d7fed60a
5 changed files with 10 additions and 7 deletions

View File

@@ -27,7 +27,7 @@ constexpr char axis_codes[XYZE] = { 'X', 'Y', 'Z', 'E' };
void safe_delay(millis_t ms);
#if ENABLED(EEPROM_SETTINGS)
#if ENABLED(EEPROM_SETTINGS) || ENABLED(SD_FIRMWARE_UPDATE)
void crc16(uint16_t *crc, const void * const data, uint16_t cnt);
#endif