mirror of https://github.com/ARMmbed/mbed-os.git
Serial, QSPI: Fix style
parent
933e77414d
commit
7db99341fa
|
|
@ -83,7 +83,7 @@ public:
|
|||
* Either tx or rx may be specified as NC (Not Connected) if unused
|
||||
*/
|
||||
Serial(const serial_pinmap_t &explicit_pinmap, const char *name = NULL, int baud = MBED_CONF_PLATFORM_DEFAULT_SERIAL_BAUD_RATE);
|
||||
Serial(const serial_pinmap_t &&, const char* = NULL, int = MBED_CONF_PLATFORM_DEFAULT_SERIAL_BAUD_RATE) = delete; // prevent passing of temporary objects
|
||||
Serial(const serial_pinmap_t &&, const char * = NULL, int = MBED_CONF_PLATFORM_DEFAULT_SERIAL_BAUD_RATE) = delete; // prevent passing of temporary objects
|
||||
|
||||
/** Create a Serial port, connected to the specified transmit and receive pins, with the specified baud
|
||||
*
|
||||
|
|
|
|||
|
|
@ -89,7 +89,7 @@ QSPI::QSPI(const qspi_pinmap_t &pinmap, int mode) : _qspi()
|
|||
_init_func = &QSPI::_initialize_direct;
|
||||
|
||||
//Go ahead init the device here with the default config
|
||||
bool success = (this->*_init_func)();
|
||||
bool success = (this->*_init_func)();
|
||||
MBED_ASSERT(success);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue