Fix astyle

pull/10924/head
Sebastian Stockhammer 2019-08-28 13:56:13 +02:00
parent 31babca1da
commit 9e97037316
2 changed files with 11 additions and 11 deletions

View File

@ -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);

View File

@ -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),