File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -1519,7 +1519,7 @@ int commander_thread_main(int argc, char *argv[])
15191519					/* GPS lock */ 
15201520					led_on (LED_BLUE );
15211521
1522- 				} else  if  (counter  % (1000000  / COMMANDER_MONITORING_INTERVAL ) ==  0 ) {
1522+ 				} else  if  (( counter   +   4 )  % (1000000  / COMMANDER_MONITORING_INTERVAL ) ==  0 ) {
15231523					/* no GPS lock, but GPS module is aquiring lock */ 
15241524					led_toggle (LED_BLUE );
15251525				}
@@ -1535,8 +1535,8 @@ int commander_thread_main(int argc, char *argv[])
15351535				led_toggle (LED_BLUE );
15361536
15371537			} else  if  (bat_remain  <  0.3f  &&  (low_voltage_counter  >  LOW_VOLTAGE_BATTERY_COUNTER_LIMIT )) {
1538- 				/* toggle error  (red) at 5 Hz on low battery or error */ 
1539- 				led_toggle (LED_BLUE );
1538+ 				/* toggle arming  (red) at 5 Hz on low battery or error */ 
1539+ 				led_toggle (LED_AMBER );
15401540
15411541			} else  {
15421542				// /* Constant error indication in standby mode without GPS */ 
    
 
   
 
     
   
   
          
     
  
    
     
 
    
      
     
 
     
    You can’t perform that action at this time.
  
 
    
  
     
    
      
        
     
 
       
      
     
   
 
    
    
  
 
  
 
     
    
0 commit comments