aboutsummaryrefslogtreecommitdiff
path: root/variants/circuitplay32u4
diff options
context:
space:
mode:
authorScott Allen <saydisp-git@yahoo.ca>2017-03-10 14:47:18 -0500
committerMartino Facchin <m.facchin@arduino.cc>2017-11-13 17:34:41 +0100
commit289faaa75900b35a785584d25532a55e4daaddd9 (patch)
tree300abbbc5b077d5fc06eb9480672e3b9f17faf1b /variants/circuitplay32u4
parentb084848f2eaf9ccb3ac9a64ac5492d91df4706bf (diff)
Fix save/restore of magic key location during reset
In the USB CDC code to invoke an auto-reset, the magic key location could be restored before it had actually been saved. The sketch would then have a corrupted value at this location. This fix prevents the value from being restored if it hasn't previously been saved.
Diffstat (limited to 'variants/circuitplay32u4')
0 files changed, 0 insertions, 0 deletions