From 43fd2cac4c75a56883aae04eb5837416c1f70799 Mon Sep 17 00:00:00 2001 From: cpldcpu Date: Sun, 16 Mar 2014 09:29:51 +0100 Subject: firmware: ATtiny841- write time configuration --- firmware/configuration/t841_default/bootloaderconfig.h | 5 ++--- 1 file 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 -- cgit v1.2.3