# HG changeset patch # User Ethan Zonca # Date 2016-10-11 22:06:44 # Node ID 7466cb02e3ec3e67541b6e0b2431120292c282fa # Parent b32b9376de928a47618d5f6bef7cd6b433d6e0dd Remove useless code diff --git a/src/main.c b/src/main.c --- a/src/main.c +++ b/src/main.c @@ -64,13 +64,10 @@ int main(void) 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));