diff options
author | cpldcpu <cpldcpu@gmail.com> | 2014-03-16 09:29:51 +0100 |
---|---|---|
committer | cpldcpu <cpldcpu@gmail.com> | 2014-03-16 09:29:51 +0100 |
commit | 43fd2cac4c75a56883aae04eb5837416c1f70799 (patch) | |
tree | ea5cb1b0f3fe2924d4b7d8f987122a162a4b8521 | |
parent | bdae3d430ffe822b97382ca2eb4c8a34bee75004 (diff) | |
download | micronucleus-43fd2cac4c75a56883aae04eb5837416c1f70799.tar.gz micronucleus-43fd2cac4c75a56883aae04eb5837416c1f70799.tar.bz2 micronucleus-43fd2cac4c75a56883aae04eb5837416c1f70799.zip |
firmware: ATtiny841- write time configuration
-rw-r--r-- | firmware/configuration/t841_default/bootloaderconfig.h | 5 |
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 |