File tree Expand file tree Collapse file tree 2 files changed +2
-4
lines changed
Expand file tree Collapse file tree 2 files changed +2
-4
lines changed Original file line number Diff line number Diff line change @@ -115,13 +115,12 @@ fn main() -> ! {
115115
116116 defmt:: info!( "Entering main loop" ) ;
117117
118- let sleep: u32 = 1500 ;
118+ let mut sleep: u32 = 1500 ;
119119 loop {
120120 match wifi. get_connection_status ( ) {
121121 Ok ( status) => {
122122 defmt:: info!( "Get Connection Result: {:?}" , status) ;
123123
124- let mut sleep: u32 = 1500 ;
125124 delay. delay_ms ( sleep) ;
126125
127126 if status == ConnectionStatus :: Connected {
Original file line number Diff line number Diff line change @@ -114,13 +114,12 @@ fn main() -> ! {
114114
115115 defmt:: info!( "Entering main loop" ) ;
116116
117- let sleep: u32 = 1500 ;
117+ let mut sleep: u32 = 1500 ;
118118 loop {
119119 match wifi. get_connection_status ( ) {
120120 Ok ( status) => {
121121 defmt:: info!( "Get Connection Result: {:?}" , status) ;
122122
123- let mut sleep: u32 = 1500 ;
124123 delay. delay_ms ( sleep) ;
125124
126125 if status == ConnectionStatus :: Connected {
You can’t perform that action at this time.
0 commit comments