1 diff --git a/teensy4/eeprom.c b/teensy4/eeprom.c
2 index dde1809..9cdfcd0 100644
6 // Conversation about how this code works & what the upper limits are
7 // https://forum.pjrc.com/threads/57377?p=214566&viewfull=1#post214566
9 -static void flash_write(void *addr, const void *data, uint32_t len);
10 -static void flash_erase_sector(void *addr);
11 +void flash_write(void *addr, const void *data, uint32_t len);
12 +void flash_erase_sector(void *addr);
14 static uint8_t initialized=0;
15 static uint16_t sector_index[FLASH_SECTORS];
16 @@ -217,7 +217,7 @@ void eeprom_write_block(const void *buf, void *addr, uint32_t len)
17 #define PINS1 FLEXSPI_LUT_NUM_PADS_1
18 #define PINS4 FLEXSPI_LUT_NUM_PADS_4
20 -static void flash_wait()
23 FLEXSPI_LUT60 = LUT0(CMD_SDR, PINS1, 0x05) | LUT1(READ_SDR, PINS1, 1); // 05 = read status
25 @@ -239,7 +239,7 @@ static void flash_wait()
28 // write bytes into flash memory (which is already erased to 0xFF)
29 -static void flash_write(void *addr, const void *data, uint32_t len)
30 +void flash_write(void *addr, const void *data, uint32_t len)
33 FLEXSPI_LUTKEY = FLEXSPI_LUTKEY_VALUE;
34 @@ -279,7 +279,7 @@ static void flash_write(void *addr, const void *data, uint32_t len)
38 -static void flash_erase_sector(void *addr)
39 +void flash_erase_sector(void *addr)
42 FLEXSPI_LUTKEY = FLEXSPI_LUTKEY_VALUE;