diff --git a/src/aprsis.c b/src/aprsis.c index 7a18894..1f998de 100644 --- a/src/aprsis.c +++ b/src/aprsis.c @@ -321,6 +321,7 @@ void aprsis_receive_callback(srl_context_t* srl_context) { gsm_sim800_tcpip_async_receive(aprsis_serial_port, aprsis_gsm_modem_state, 0, 61000, aprsis_receive_callback); } else { + gsm_sim800_tcpip_async_receive(aprsis_serial_port, aprsis_gsm_modem_state, 0, 61000, aprsis_receive_callback); } } diff --git a/system/src/cmsis/stm32l4xx/system_stm32l4xx.c b/system/src/cmsis/stm32l4xx/system_stm32l4xx.c index 56fcf7b..386ab0e 100644 --- a/system/src/cmsis/stm32l4xx/system_stm32l4xx.c +++ b/system/src/cmsis/stm32l4xx/system_stm32l4xx.c @@ -457,10 +457,10 @@ void system_clock_start_rtc_l4(void) { } // set date - RTC->DR = 0x0021A820; + RTC->DR = 0x0023E723; // set time - RTC->TR = 0x00232711; + RTC->TR = 0x00090711; // exit RTC set mode RTC->ISR &= (0xFFFFFFFF ^ RTC_ISR_INIT);