altoslib: Linker script changed -> the USB desc is two bytes off
authorKeith Packard <keithp@keithp.com>
Wed, 4 Dec 2019 03:31:34 +0000 (19:31 -0800)
committerKeith Packard <keithp@keithp.com>
Wed, 4 Dec 2019 03:31:34 +0000 (19:31 -0800)
commit5bdf8eeb1cdc1a50c9abd0f8962533f6970bd7f0
treed8885634e2c720e79de45ddc1e6e09d8eb1649d9
parent946faa1541f69c6cf2759c13760fa9bc16e2298e
altoslib: Linker script changed -> the USB desc is two bytes off

The USB descriptor used to be at 0x0800110c in previous releases and
is now at 0x0800110a, presumably because the linker script changed the
padding requirements of those sections.

Search forward and backwards two bytes to see if we can't find the
descriptors by checking for the descriptor value and size at each
location.

Signed-off-by: Keith Packard <keithp@keithp.com>
altoslib/AltosHexfile.java