Commit 77e3f7846e0ff3c1e1f61f20bcda39a29c671b10
authorbsekisser <squirmyworms@embarqmail.com>
Sat, 18 Apr 2015 12:11:22 +0000 (08:11 -0400)
committerbsekisser <squirmyworms@embarqmail.com>
Sat, 18 Apr 2015 12:18:18 +0000 (08:18 -0400)
treecdf168def4aa4492838a287c7ff971efb1430b3d
parent74a05db0b65e1f2e583b8f015814976572f332a5
Message:
flash: be sure to use current page for writing

bound z to ~(page size - 1), otherwise write may start at anywhere in page to write and fail.

also corrected log line to previous state as was missleading/inacurate.

modified:   simavr/sim/avr_flash.c
simavr/sim/avr_flash.c