diff options
author | Dean Camera <[email protected]> | 2009-12-23 14:42:50 +0000 |
---|---|---|
committer | Dean Camera <[email protected]> | 2009-12-23 14:42:50 +0000 |
commit | 69802635ed89aade8be0dea223971bc1afc4ad39 (patch) | |
tree | 0fd2e01d2db0382ae2ca49d2a993b97c1867713a /Projects/AVRISP/Lib/PDITarget.h | |
parent | bd5e8f07b71b4fa0c058c0edfa8ff3f59ab31610 (diff) | |
download | qmk_firmware-69802635ed89aade8be0dea223971bc1afc4ad39.tar.gz qmk_firmware-69802635ed89aade8be0dea223971bc1afc4ad39.zip |
Lower timeout periods in the AVRISP project. Increment firmware minor revision number in the AVRISP project so that it remains comatible with the latest AVRStudio without an upgrade warning.
Diffstat (limited to 'Projects/AVRISP/Lib/PDITarget.h')
-rw-r--r-- | Projects/AVRISP/Lib/PDITarget.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/Projects/AVRISP/Lib/PDITarget.h b/Projects/AVRISP/Lib/PDITarget.h index da89d55f1d..cf7780c179 100644 --- a/Projects/AVRISP/Lib/PDITarget.h +++ b/Projects/AVRISP/Lib/PDITarget.h @@ -68,9 +68,11 @@ #define BITBANG_PDICLOCK_MASK RESET_LINE_MASK
#endif
+ /** Total number of bits in a single USART frame */
#define BITS_IN_PDI_FRAME 12
- #define PDI_NVM_TIMEOUT_MS 200
+ /** Timeout in milliseconds of a PDI busy-wait command */
+ #define PDI_NVM_TIMEOUT_MS 100
#define PDI_CMD_LDS 0x00
#define PDI_CMD_LD 0x20
|