Skip to content

Commit 5726f72

Browse files
committed
Merge branch 'fix/eeprom-flash-cache-read' into add-waveshare-sx1262-support
2 parents 8a7ab0a + 85b818b commit 5726f72

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/boards/rp2040/eeprom-board.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ void EepromMcuInit()
2626

2727
uint8_t EepromMcuReadBuffer( uint16_t addr, uint8_t *buffer, uint16_t size )
2828
{
29-
memcpy(buffer, EEPROM_ADDRESS + addr, size);
29+
memcpy(buffer, eeprom_write_cache + addr, size);
3030

3131
return SUCCESS;
3232
}

0 commit comments

Comments
 (0)