Changeset - c52174ca9326
[Not reviewed]
default
0 1 0
Ethan Zonca (ethanzonca) - 9 years ago 2017-01-12 09:37:26
e@ethanzonca.com
Add safety check to afsk transmit start
1 file changed with 1 insertions and 1 deletions:
0 comments (0 inline, 0 general)
Source/main.c
Show inline comments
 
@@ -58,14 +58,14 @@ int main(void)
 
  {
 
	  // Blink LEDs
 
	  if(HAL_GetTick() - last_transmission > 700)
 
	  {
 
		  gps_update_data(); // Will always return at 1hz rate (default measurement rate)
 
		  pressure_read();
 
		  while(afsk_busy()); // ensure previous message finished
 
		  aprs_send();
 
		  //while(afsk_busy());
 
 
		  last_transmission = HAL_GetTick();
 
	  }
 
 
	  if(HAL_GetTick() - last_led > 100)
 
	  {
0 comments (0 inline, 0 general)