altos/stmf: Fix up serial port flow control configuration bits
authorKeith Packard <keithp@keithp.com>
Mon, 15 May 2017 15:58:21 +0000 (08:58 -0700)
committerKeith Packard <keithp@keithp.com>
Mon, 15 May 2017 15:58:21 +0000 (08:58 -0700)
commitf132a22995235f3002e4a2bb8771c9b5738efb30
tree3a7a154b25fd70e0f996af191c8e9204e74716a4
parent2536640b852feff41975d2da50befdda91ee6303
altos/stmf: Fix up serial port flow control configuration bits

Compute whether any sw/hw flow control is in use.
Compute whether hw flow control is in use as a separate value.

These make the code a bit easier to follow.

Signed-off-by: Keith Packard <keithp@keithp.com>
src/stmf0/ao_arch_funcs.h
src/stmf0/ao_exti.h
src/stmf0/ao_serial_stm.c