Skip to content

Commit 1e06ad0

Browse files
committed
Astyle fixes
1 parent fe2b2a7 commit 1e06ad0

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

components/cellular/COMPONENT_STMOD_CELLULAR/STModCellular.cpp

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,8 @@ STModCellular::~STModCellular()
5252
{
5353
}
5454

55-
nsapi_error_t STModCellular::soft_power_on() {
55+
nsapi_error_t STModCellular::soft_power_on()
56+
{
5657
tr_debug("STMOD cellular modem power ON\r\n");
5758

5859
#if (MBED_CONF_STMOD_CELLULAR_TYPE == STMOD_UG96)
@@ -106,7 +107,7 @@ nsapi_error_t STModCellular::soft_power_on() {
106107
_at->restore_at_timeout();
107108
_at->unlock();
108109

109-
tr_debug("Modem %sready to receive AT commands", rdy?"":"NOT ");
110+
tr_debug("Modem %sready to receive AT commands", rdy ? "" : "NOT ");
110111

111112
#if DEVICE_SERIAL_FC
112113
if ((MBED_CONF_STMOD_CELLULAR_CTS != NC) && (MBED_CONF_STMOD_CELLULAR_RTS != NC)) {
@@ -145,7 +146,8 @@ nsapi_error_t STModCellular::soft_power_on() {
145146
return err;
146147
}
147148

148-
nsapi_error_t STModCellular::soft_power_off() {
149+
nsapi_error_t STModCellular::soft_power_off()
150+
{
149151
_at->cmd_start("AT+QPOWD");
150152
_at->cmd_stop();
151153
wait_ms(1000);

0 commit comments

Comments
 (0)