Skip to content

Commit 9e97037

Browse files
author
Sebastian Stockhammer
committed
Fix astyle
1 parent 31babca commit 9e97037

File tree

2 files changed

+11
-11
lines changed

2 files changed

+11
-11
lines changed

drivers/SerialBase.h

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -160,10 +160,10 @@ class SerialBase : private NonCopyable<SerialBase> {
160160
* If both serial input and serial output are disabled, the
161161
* peripheral is freed. If either serial input or serial
162162
* output is re-enabled, the peripheral is reinitialized.
163-
*
164-
* On reinitialisation rx interrupts will be enabled if a
163+
*
164+
* On reinitialization rx interrupts will be enabled if a
165165
* rx handler is attached. The rx handler is called once
166-
* during reinitialisation.
166+
* during reinitialization.
167167
*/
168168
void enable_input(bool enable = true);
169169

@@ -172,10 +172,10 @@ class SerialBase : private NonCopyable<SerialBase> {
172172
* If both serial input and serial output are disabled, the
173173
* peripheral is freed. If either serial input or serial
174174
* output is re-enabled, the peripheral is reinitialized.
175-
*
176-
* On reinitialisation tx interrupts will be enabled if a
175+
*
176+
* On reinitialization tx interrupts will be enabled if a
177177
* tx handler is attached. The tx handler is called once
178-
* during reinitialisation.
178+
* during reinitialization.
179179
*/
180180
void enable_output(bool enable = true);
181181

drivers/source/SerialBase.cpp

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -30,11 +30,11 @@ SerialBase::SerialBase(PinName tx, PinName rx, int baud) :
3030
_rx_callback(NULL), _tx_asynch_set(false),
3131
_rx_asynch_set(false),
3232
#endif
33-
_serial(),
34-
_baud(baud),
35-
_rx_enabled(true),
36-
_tx_enabled(true),
37-
_tx_pin(tx),
33+
_serial(),
34+
_baud(baud),
35+
_rx_enabled(true),
36+
_tx_enabled(true),
37+
_tx_pin(tx),
3838
_rx_pin(rx),
3939
_flow_type(Disabled),
4040
_flow1(NC),

0 commit comments

Comments
 (0)