Skip to content

Commit

Permalink
Fix boot loader self-update regression since 50ac1b7.
Browse files Browse the repository at this point in the history
Oops, sorry! You will have to use ISP to update if you used anything
between 50ac1b7 and before this commit.
  • Loading branch information
sim- committed Apr 14, 2013
1 parent 99284ec commit b04262b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion boot.inc
Original file line number Diff line number Diff line change
Expand Up @@ -586,6 +586,7 @@ scmd_read_ee1: rcall boot_eeprom_rw ; Uses and increments byte address
; For chip erase, clear the flash before the boot loader and nuke the EEPROM.
scmd_chip_erase:
rcall boot_clear_flash ; Also clears r12:r13 for EEPROM address
nop
ldi r24, low(EEPROMEND+1)
ldi r25, high(EEPROMEND+1)
set
Expand Down Expand Up @@ -682,7 +683,6 @@ boot_clear_fl1: sbiw ZL, PAGESIZE
nop
nop
nop
nop

nop
nop
Expand Down

0 comments on commit b04262b

Please sign in to comment.