diff options
author | Scott Allen <saydisp-git@yahoo.ca> | 2017-11-13 17:41:23 +0100 |
---|---|---|
committer | Martino Facchin <m.facchin@arduino.cc> | 2017-11-13 17:41:34 +0100 |
commit | 7d4bca50419f2b2e57f92e9bec1cbbbe6d846fc1 (patch) | |
tree | 9fe993a839ec06b4faeb3f920ab8031369385319 /firmwares/atmegaxxu2/arduino-usbserial/Lib/LightweightRingBuff.h | |
parent | 31223160ebfeb6aef21dded0572003eedb2b8fd1 (diff) |
Always read key to check for new LUFA bootloader
Instead of checking for the NEW_LUFA_SIGNATURE once in program memory and then
setting a flag which is used for further checks, a function is used that always
checks program memory directly.
If a flag is used, there's a slight chance that its location in RAM could fall
on MAGIC_KEY_POS. In this case, an aborted USB auto-reset sequence may fail.
Diffstat (limited to 'firmwares/atmegaxxu2/arduino-usbserial/Lib/LightweightRingBuff.h')
0 files changed, 0 insertions, 0 deletions