Browse Source

Fix MKS UI SPI flash typo (#19410)

vanilla_fb_2.0.x
Victor Oliveira 4 years ago
committed by Scott Lahteine
parent
commit
9d1b1cf073
  1. 2
      Marlin/src/lcd/extui/lib/mks_ui/SPIFlashStorage.cpp

2
Marlin/src/lcd/extui/lib/mks_ui/SPIFlashStorage.cpp

@ -221,7 +221,7 @@ void SPIFlashStorage::flushPage() {
#if HAS_SPI_FLASH_COMPRESSION #if HAS_SPI_FLASH_COMPRESSION
// Restart the compressed buffer, keep the pointers of the uncompressed buffer // Restart the compressed buffer, keep the pointers of the uncompressed buffer
m_compressedDataUsed = 0; m_compressedDataUsed = 0;
#elif #else
m_pageDataUsed = 0; m_pageDataUsed = 0;
#endif #endif
m_currentPage++; m_currentPage++;

Loading…
Cancel
Save