Updated to spot local only once every 15 minutes
This commit is contained in:
		
							parent
							
								
									1629415dc1
								
							
						
					
					
						commit
						6e036b7d58
					
				@ -52,8 +52,8 @@ void SpotClient::setLocalStation(QString callsign, QString grid, QString info, Q
 | 
				
			|||||||
        changed = true;
 | 
					        changed = true;
 | 
				
			||||||
    }
 | 
					    }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    // send local information to network on change, or once every 5 minutes
 | 
					    // send local information to network on change, or once every 15 minutes
 | 
				
			||||||
    if(changed || m_seq % 5 == 0){
 | 
					    if(changed || m_seq % 15 == 0){
 | 
				
			||||||
        enqueueLocalSpot(callsign, grid, info, version);
 | 
					        enqueueLocalSpot(callsign, grid, info, version);
 | 
				
			||||||
    }
 | 
					    }
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
		Reference in New Issue
	
	Block a user