summaryrefslogtreecommitdiffstats
path: root/firmware/configuration/t841_default/bootloaderconfig.h
diff options
context:
space:
mode:
Diffstat (limited to 'firmware/configuration/t841_default/bootloaderconfig.h')
-rw-r--r--firmware/configuration/t841_default/bootloaderconfig.h5
1 files changed, 2 insertions, 3 deletions
diff --git a/firmware/configuration/t841_default/bootloaderconfig.h b/firmware/configuration/t841_default/bootloaderconfig.h
index 80f6522..8930bcc 100644
--- a/firmware/configuration/t841_default/bootloaderconfig.h
+++ b/firmware/configuration/t841_default/bootloaderconfig.h
@@ -65,9 +65,8 @@
// how many milliseconds should host wait till it sends another erase or write?
// needs to be above 4.5 (and a whole integer) as avr freezes for 4.5ms
-// ATtiny841 erases four pages at once
-#define MICRONUCLEUS_WRITE_SLEEP 5
-#define MICRONUCLEUS_ERASE_SLEEP 1
+// Set bit 7 to reduce wait time for page erase by factor of four
+#define MICRONUCLEUS_WRITE_SLEEP 128 + 5
// ATtiny841 does not know OSCCAL
#ifndef OSCCAL