Add missing serial flow control elements in serial structure

pull/2499/head
bcostm 2016-08-10 16:48:45 +02:00 committed by 0xc0170
parent 418e9f0aeb
commit 3b9b2ec3c2
1 changed files with 5 additions and 0 deletions

View File

@ -74,6 +74,11 @@ struct serial_s {
uint32_t parity;
PinName pin_tx;
PinName pin_rx;
#if DEVICE_SERIAL_FC
uint32_t hw_flow_ctl;
PinName pin_rts;
PinName pin_cts;
#endif
};
struct spi_s {