Skip to content

Commit d38c7d6

Browse files
committed
Serial, QSPI: Fix style
1 parent 9813021 commit d38c7d6

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

drivers/Serial.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@ class Serial : public SerialBase, public Stream, private NonCopyable<Serial> {
8383
* Either tx or rx may be specified as NC (Not Connected) if unused
8484
*/
8585
Serial(const serial_pinmap_t &explicit_pinmap, const char *name = NULL, int baud = MBED_CONF_PLATFORM_DEFAULT_SERIAL_BAUD_RATE);
86-
Serial(const serial_pinmap_t &&, const char* = NULL, int = MBED_CONF_PLATFORM_DEFAULT_SERIAL_BAUD_RATE) = delete; // prevent passing of temporary objects
86+
Serial(const serial_pinmap_t &&, const char * = NULL, int = MBED_CONF_PLATFORM_DEFAULT_SERIAL_BAUD_RATE) = delete; // prevent passing of temporary objects
8787

8888
/** Create a Serial port, connected to the specified transmit and receive pins, with the specified baud
8989
*

drivers/source/QSPI.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,7 @@ QSPI::QSPI(const qspi_pinmap_t &pinmap, int mode) : _qspi()
8989
_init_func = &QSPI::_initialize_direct;
9090

9191
//Go ahead init the device here with the default config
92-
bool success = (this->*_init_func)();
92+
bool success = (this->*_init_func)();
9393
MBED_ASSERT(success);
9494
}
9595

0 commit comments

Comments
 (0)