File tree 1 file changed +8
-14
lines changed
ublox-short-range/src/wifi
1 file changed +8
-14
lines changed Original file line number Diff line number Diff line change @@ -202,25 +202,19 @@ where
202
202
}
203
203
204
204
pub fn reset_config_profile ( & mut self ) -> Result < ( ) , WifiConnectionError > {
205
- self . send_internal (
206
- & EdmAtCmdWrapper ( ExecWifiStationAction {
207
- config_id : CONFIG_ID ,
208
- action : WifiStationAction :: Reset ,
209
- } ) ,
210
- true ,
211
- ) ?;
205
+ self . send_at ( EdmAtCmdWrapper ( ExecWifiStationAction {
206
+ config_id : CONFIG_ID ,
207
+ action : WifiStationAction :: Reset ,
208
+ } ) ) ?;
212
209
Ok ( ( ) )
213
210
}
214
211
215
212
pub fn disconnect ( & mut self ) -> Result < ( ) , WifiConnectionError > {
216
213
defmt:: debug!( "Disconnecting" ) ;
217
- self . send_internal (
218
- & EdmAtCmdWrapper ( ExecWifiStationAction {
219
- config_id : CONFIG_ID ,
220
- action : WifiStationAction :: Deactivate ,
221
- } ) ,
222
- true ,
223
- ) ?;
214
+ self . send_at ( EdmAtCmdWrapper ( ExecWifiStationAction {
215
+ config_id : CONFIG_ID ,
216
+ action : WifiStationAction :: Deactivate ,
217
+ } ) ) ?;
224
218
Ok ( ( ) )
225
219
}
226
220
}
You can’t perform that action at this time.
0 commit comments