Commit e77a8b6
authored
Fix: Ignore lower z bits when erasing flash for page-alignment (#565)
Previously it was possible to erase the size of a page not page aligend.
Documentation of atmega328 and atmega2560 states that for the erase operation
the lower bits of z are ignored. (I guess it wouldn't make sense to not erase
page aligned as well :)1 parent 845f7f3 commit e77a8b6
1 file changed
+1
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
127 | 127 | | |
128 | 128 | | |
129 | 129 | | |
130 | | - | |
| 130 | + | |
131 | 131 | | |
132 | 132 | | |
133 | 133 | | |
| |||
0 commit comments