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));