mirror of https://github.com/ARMmbed/mbed-os.git
Fix astyle
parent
31babca1da
commit
9e97037316
|
@ -160,10 +160,10 @@ public:
|
|||
* If both serial input and serial output are disabled, the
|
||||
* peripheral is freed. If either serial input or serial
|
||||
* output is re-enabled, the peripheral is reinitialized.
|
||||
*
|
||||
* On reinitialisation rx interrupts will be enabled if a
|
||||
*
|
||||
* On reinitialization rx interrupts will be enabled if a
|
||||
* rx handler is attached. The rx handler is called once
|
||||
* during reinitialisation.
|
||||
* during reinitialization.
|
||||
*/
|
||||
void enable_input(bool enable = true);
|
||||
|
||||
|
@ -172,10 +172,10 @@ public:
|
|||
* If both serial input and serial output are disabled, the
|
||||
* peripheral is freed. If either serial input or serial
|
||||
* output is re-enabled, the peripheral is reinitialized.
|
||||
*
|
||||
* On reinitialisation tx interrupts will be enabled if a
|
||||
*
|
||||
* On reinitialization tx interrupts will be enabled if a
|
||||
* tx handler is attached. The tx handler is called once
|
||||
* during reinitialisation.
|
||||
* during reinitialization.
|
||||
*/
|
||||
void enable_output(bool enable = true);
|
||||
|
||||
|
|
|
@ -30,11 +30,11 @@ SerialBase::SerialBase(PinName tx, PinName rx, int baud) :
|
|||
_rx_callback(NULL), _tx_asynch_set(false),
|
||||
_rx_asynch_set(false),
|
||||
#endif
|
||||
_serial(),
|
||||
_baud(baud),
|
||||
_rx_enabled(true),
|
||||
_tx_enabled(true),
|
||||
_tx_pin(tx),
|
||||
_serial(),
|
||||
_baud(baud),
|
||||
_rx_enabled(true),
|
||||
_tx_enabled(true),
|
||||
_tx_pin(tx),
|
||||
_rx_pin(rx),
|
||||
_flow_type(Disabled),
|
||||
_flow1(NC),
|
||||
|
|
Loading…
Reference in New Issue