diff --git a/src/main.c b/src/main.c --- a/src/main.c +++ b/src/main.c @@ -97,8 +97,7 @@ int main(void) i2c_init(); gps_init(); - -// jtencode_init(); + //jtencode_init(); HAL_Delay(300); @@ -127,7 +126,7 @@ int main(void) uint32_t led_timer = HAL_GetTick(); uint32_t last_gps = HAL_GetTick(); - uint32_t last_wspr = 0xfffff; // start immediately. + uint32_t last_wspr = HAL_GetTick(); //0xfffff; // start immediately. HAL_GPIO_TogglePin(LED_BLUE); HAL_Delay(100); @@ -143,7 +142,7 @@ int main(void) { if(HAL_GetTick() - last_wspr > 120000) { - //encode_wspr(); + encode_wspr(); last_wspr = HAL_GetTick(); }