File tree Expand file tree Collapse file tree 1 file changed +5
-3
lines changed
components/cellular/COMPONENT_STMOD_CELLULAR Expand file tree Collapse file tree 1 file changed +5
-3
lines changed Original file line number Diff line number Diff line change @@ -52,7 +52,8 @@ STModCellular::~STModCellular()
52
52
{
53
53
}
54
54
55
- nsapi_error_t STModCellular::soft_power_on () {
55
+ nsapi_error_t STModCellular::soft_power_on ()
56
+ {
56
57
tr_debug (" STMOD cellular modem power ON\r\n " );
57
58
58
59
#if (MBED_CONF_STMOD_CELLULAR_TYPE == STMOD_UG96)
@@ -106,7 +107,7 @@ nsapi_error_t STModCellular::soft_power_on() {
106
107
_at->restore_at_timeout ();
107
108
_at->unlock ();
108
109
109
- tr_debug (" Modem %sready to receive AT commands" , rdy? " " : " NOT " );
110
+ tr_debug (" Modem %sready to receive AT commands" , rdy ? " " : " NOT " );
110
111
111
112
#if DEVICE_SERIAL_FC
112
113
if ((MBED_CONF_STMOD_CELLULAR_CTS != NC) && (MBED_CONF_STMOD_CELLULAR_RTS != NC)) {
@@ -145,7 +146,8 @@ nsapi_error_t STModCellular::soft_power_on() {
145
146
return err;
146
147
}
147
148
148
- nsapi_error_t STModCellular::soft_power_off () {
149
+ nsapi_error_t STModCellular::soft_power_off ()
150
+ {
149
151
_at->cmd_start (" AT+QPOWD" );
150
152
_at->cmd_stop ();
151
153
wait_ms (1000 );
You can’t perform that action at this time.
0 commit comments