Changeset - 7466cb02e3ec
[Not reviewed]
default
0 1 0
Ethan Zonca - 9 years ago 2016-10-11 22:06:44
ez@ethanzonca.com
Remove useless code
1 file changed with 0 insertions and 3 deletions:
0 comments (0 inline, 0 general)
src/main.c
Show inline comments
 
@@ -61,19 +61,16 @@ int main(void)
 
        // Update fix status every 2 seconds
 
        if(HAL_GetTick() - gps_polltimer > 2000)
 
        {
 
            if(gps_ison())
 
            {
 
            	gps_update_data();
 
            	gps_getdata()->minute;
 
            	gps_getdata()->second;
 
 
            	// If odd minute
 
            	if(gps_getdata()->minute % 2)
 
            	{
 
            		volatile uint8_t minute = gps_getdata()->minute;
 
            		// Wait until even minute, coming soon
 
            		nextwspr_time = HAL_GetTick() + (60000 - (gps_getdata()->second * 1000));
 
 
            	}
 
            	// If even minute
 
            	else
0 comments (0 inline, 0 general)