altos: Need to use 16-bit counts for ao_xmem functions
authorKeith Packard <keithp@keithp.com>
Fri, 14 Sep 2012 23:56:04 +0000 (16:56 -0700)
committerKeith Packard <keithp@keithp.com>
Fri, 14 Sep 2012 23:56:04 +0000 (16:56 -0700)
Trying to use 8-bit counts is a nice optimization which fails when the
count is larger than 255, as is the case with clearing the flash block
in the AT45 driver. This bug resulted in the inability to erase
flights on TeleMetrum v1.0 boards.

Signed-off-by: Keith Packard <keithp@keithp.com>

No differences found