diff options
author | Dean Camera <[email protected]> | 2009-08-27 23:07:53 +0000 |
---|---|---|
committer | Dean Camera <[email protected]> | 2009-08-27 23:07:53 +0000 |
commit | 489515fbbf0f61ae63bcdd4b858a5fe59e90c0be (patch) | |
tree | 357be26ea97f9274be49990db044d506d60a639a /Projects/AVRISP/Lib/V2Protocol.c | |
parent | 94c899d7b7b84cd170d75e1fbb4e696cf3447c27 (diff) | |
download | qmk_firmware-489515fbbf0f61ae63bcdd4b858a5fe59e90c0be.tar.gz qmk_firmware-489515fbbf0f61ae63bcdd4b858a5fe59e90c0be.zip |
Make WaitWhileBusy function in the AVRISP project more explicit about how it sends and receives the busy check command.
Reduce size of PROGRAM FLASH ISP or PROGRAM EEPROM ISP buffer to 256 bytes to prevent blowing the stack on the smallest USB AVR models.
Diffstat (limited to 'Projects/AVRISP/Lib/V2Protocol.c')
-rw-r--r-- | Projects/AVRISP/Lib/V2Protocol.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Projects/AVRISP/Lib/V2Protocol.c b/Projects/AVRISP/Lib/V2Protocol.c index 248c50d245..3a1b78efd1 100644 --- a/Projects/AVRISP/Lib/V2Protocol.c +++ b/Projects/AVRISP/Lib/V2Protocol.c @@ -301,7 +301,7 @@ static void V2Protocol_Command_ProgramMemory(uint8_t V2Command) uint8_t ProgrammingCommands[3];
uint8_t PollValue1;
uint8_t PollValue2;
- uint8_t ProgData[512];
+ uint8_t ProgData[256];
} Write_Memory_Params;
uint8_t* NextWriteByte = Write_Memory_Params.ProgData;
|