aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--wirish/boards.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/wirish/boards.cpp b/wirish/boards.cpp
index 1f97119..dd3f21d 100644
--- a/wirish/boards.cpp
+++ b/wirish/boards.cpp
@@ -75,7 +75,7 @@ bool boardUsesPin(uint8 pin) {
static void setupFlash(void) {
flash_enable_prefetch();
- flash_set_latency(FLASH_WAIT_STATE_2);
+ flash_set_latency(FLASH_SAFE_WAIT_STATES);
}
/*