altos/stmf0: Toggle IN2 SW_BUF bit when sending data
authorKeith Packard <keithp@keithp.com>
Mon, 7 May 2018 04:09:22 +0000 (21:09 -0700)
committerKeith Packard <keithp@keithp.com>
Mon, 7 May 2018 16:21:56 +0000 (09:21 -0700)
commitb15549d8c5277ba3aa425e232473a17dc136e5a4
tree0287aabf870f45cfe9afa5a848ae101494218d8e
parent8efe0d40deded973f08f63eb650a036f9e24d2fb
altos/stmf0: Toggle IN2 SW_BUF bit when sending data

This tells the hardware we're done writing data to the second input
buffer and allows it to be switched from NAK to VALID.

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