Skip to content

Commit 6d37b45

Browse files
committed
Increase delay between each write to EEPROM
1 parent 1785ffc commit 6d37b45

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

libraries/EEPROM/src/EEPROM.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ void CurieRestoreMemory(uint32_t* buffer, uint32_t size)
5454
rom_wr_ctrl |= 0x00000001; //set (WR_REQ) bit
5555
*(uint32_t*)(ROM_WR_CTRL) = rom_wr_ctrl;
5656

57-
delay(3); //give it enough time to finish writing
57+
delay(5); //give it enough time to finish writing
5858
}
5959
}
6060

@@ -121,5 +121,5 @@ void CurieWrite8(uint32_t address, uint8_t data)
121121
rom_wr_ctrl |= 0x00000001; //set (WR_REQ) bit
122122
*(uint32_t*)(ROM_WR_CTRL) = rom_wr_ctrl;
123123

124-
delay(3); //give it enough time to finish writing
124+
delay(5); //give it enough time to finish writing
125125
}

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy