diff --git a/libraries/DataFlash/DataFlash_Empty.cpp b/libraries/DataFlash/DataFlash_Empty.cpp index bfdd832800..3ad3f073d7 100644 --- a/libraries/DataFlash/DataFlash_Empty.cpp +++ b/libraries/DataFlash/DataFlash_Empty.cpp @@ -70,7 +70,10 @@ void DataFlash_Empty::BlockWrite(uint8_t BufferNum, uint16_t IntPageAdr, bool DataFlash_Empty::BlockRead(uint8_t BufferNum, uint16_t IntPageAdr, void *pBuffer, uint16_t size) -{ return false; } +{ + memset(pBuffer, 0, size); + return false; +} // *** END OF INTERNAL FUNCTIONS ***