File tree Expand file tree Collapse file tree 2 files changed +7
-3
lines changed
Expand file tree Collapse file tree 2 files changed +7
-3
lines changed Original file line number Diff line number Diff line change @@ -479,7 +479,7 @@ async fn execute_command(
479479 }
480480 }
481481 Commands :: Rtc ( rtc_cmd) => {
482- use cli:: { RtcCommands , ExternalRtcAction } ;
482+ use cli:: { ExternalRtcAction , RtcCommands } ;
483483 match rtc_cmd {
484484 RtcCommands :: Status => {
485485 let response = controller. rtc_status ( ) . await ?;
Original file line number Diff line number Diff line change @@ -194,13 +194,17 @@ impl PowerController {
194194 /// Configure external RTC interrupt action
195195 pub async fn rtc_config ( & mut self , action : & str ) -> Result < String > {
196196 info ! ( "Configuring external RTC action: {}" , action) ;
197- self . protocol . execute_power_command ( "rtc_config" , action) . await
197+ self . protocol
198+ . execute_power_command ( "rtc_config" , action)
199+ . await
198200 }
199201
200202 /// Show external RTC interrupt configuration
201203 pub async fn rtc_show_config ( & mut self ) -> Result < String > {
202204 info ! ( "Getting external RTC configuration" ) ;
203- self . protocol . execute_power_command ( "rtc_config" , "status" ) . await
205+ self . protocol
206+ . execute_power_command ( "rtc_config" , "status" )
207+ . await
204208 }
205209
206210 /// Parse power statistics response
You can’t perform that action at this time.
0 commit comments