altos/stm: Simplify ao_usb_write a bit
authorKeith Packard <keithp@keithp.com>
Sat, 21 Apr 2018 23:14:39 +0000 (16:14 -0700)
committerKeith Packard <keithp@keithp.com>
Fri, 27 Apr 2018 02:24:21 +0000 (19:24 -0700)
commita414a32f86c9d8a2c5f576898c0f0dc75263ff85
tree544cdbc7cf954008ef49e367fd973d4e2541b5a9
parent1569b23b2f139e3840ec145f4eef45f36fc4939a
altos/stm: Simplify ao_usb_write a bit

Remove unnecessary 'offset' param (was always passed zero). This also
makes some code conditional on that value no longer necessary.

Signed-off-by: Keith Packard <keithp@keithp.com>
src/stm/ao_usb_stm.c