diff options
author | Dean Camera <dean@fourwalledcubicle.com> | 2010-05-06 02:06:12 +0000 |
---|---|---|
committer | Dean Camera <dean@fourwalledcubicle.com> | 2010-05-06 02:06:12 +0000 |
commit | 298592383ad2a98922064a0d183390e896856483 (patch) | |
tree | f09ed904cb4954e5c86c1a8c6b45cae519faa55e /Bootloaders/TeensyHID/TeensyHID.c | |
parent | fc31973daffea3506051ce51a5f79383ce0867d6 (diff) | |
download | lufa-298592383ad2a98922064a0d183390e896856483.tar.gz lufa-298592383ad2a98922064a0d183390e896856483.tar.bz2 lufa-298592383ad2a98922064a0d183390e896856483.zip |
Fixed TeensyHID bootloader so that it works with the official TeensyLoader GUI application with all supported AVR models.
Diffstat (limited to 'Bootloaders/TeensyHID/TeensyHID.c')
-rw-r--r-- | Bootloaders/TeensyHID/TeensyHID.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Bootloaders/TeensyHID/TeensyHID.c b/Bootloaders/TeensyHID/TeensyHID.c index 5431a5700..4e287bcf4 100644 --- a/Bootloaders/TeensyHID/TeensyHID.c +++ b/Bootloaders/TeensyHID/TeensyHID.c @@ -120,7 +120,7 @@ void EVENT_USB_Device_UnhandledControlRequest(void) boot_spm_busy_wait();
/* Write each of the FLASH page's bytes in sequence */
- for (uint8_t PageByte = 0; PageByte < SPM_PAGESIZE; PageByte += 2)
+ for (uint16_t PageByte = 0; PageByte < SPM_PAGESIZE; PageByte += 2)
{
/* Check if endpoint is empty - if so clear it and wait until ready for next packet */
if (!(Endpoint_BytesInEndpoint()))
|