Fix MKS UI SPI flash typo (#19410)

This commit is contained in:
Victor Oliveira 2020-09-17 07:52:47 -03:00 committed by Scott Lahteine
parent 90dea98a14
commit 9d1b1cf073

View File

@ -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++;