• Scott Allen's avatar
    Always read key to check for new LUFA bootloader · 7d4bca50
    Scott Allen authored
    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.
    7d4bca50
USBCore.cpp 19.4 KB