Fix MKS UI SPI flash typo (#19410)

This commit is contained in:
Victor Oliveira 2020-09-17 07:52:47 -03:00 committed by GitHub
parent c539254101
commit 3eaa19fdb0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

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