Skip to content

Commit a7fced3

Browse files
committed
STMOD_CELLULAR: print cleanup
1 parent 85c477c commit a7fced3

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

components/cellular/COMPONENT_STMOD_CELLULAR/STModCellular.cpp

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -107,7 +107,7 @@ nsapi_error_t STModCellular::soft_power_on()
107107
_at->restore_at_timeout();
108108
_at->unlock();
109109

110-
tr_debug("Modem %sready to receive AT commands", rdy ? "" : "NOT ");
110+
tr_debug("Modem %sready to receive AT commands\r\n", rdy ? "" : "NOT ");
111111

112112
#if DEVICE_SERIAL_FC
113113
if ((MBED_CONF_STMOD_CELLULAR_CTS != NC) && (MBED_CONF_STMOD_CELLULAR_RTS != NC)) {
@@ -126,9 +126,9 @@ nsapi_error_t STModCellular::soft_power_on()
126126
_at->unlock();
127127

128128
if (err == NSAPI_ERROR_OK) {
129-
tr_debug("Flow control turned ON");
129+
tr_debug("Flow control turned ON\r\n");
130130
} else {
131-
tr_error("Failed to enable hw flow control");
131+
tr_error("Failed to enable hw flow control\r\n");
132132
}
133133
}
134134
#endif
@@ -164,7 +164,7 @@ CellularDevice *CellularDevice::get_default_instance()
164164

165165
static UARTSerial serial(MBED_CONF_STMOD_CELLULAR_TX, MBED_CONF_STMOD_CELLULAR_RX, MBED_CONF_STMOD_CELLULAR_BAUDRATE);
166166
#if defined (MBED_CONF_STMOD_CELLULAR_RTS) && defined(MBED_CONF_STMOD_CELLULAR_CTS)
167-
tr_debug("STMOD_CELLULAR flow control: RTS %d CTS %d", MBED_CONF_STMOD_CELLULAR_RTS, MBED_CONF_STMOD_CELLULAR_CTS);
167+
tr_debug("STMOD_CELLULAR flow control: RTS %d CTS %d\r\n", MBED_CONF_STMOD_CELLULAR_RTS, MBED_CONF_STMOD_CELLULAR_CTS);
168168
serial.set_flow_control(SerialBase::RTSCTS, MBED_CONF_STMOD_CELLULAR_RTS, MBED_CONF_STMOD_CELLULAR_CTS);
169169
#endif
170170
static STModCellular device(&serial);

0 commit comments

Comments
 (0)