zephyr/drivers/lora
Marcin Niestroj 47e10a6830 drivers: lora: fix RtcGetCalendarTime()
Uptime in milliseconds is assigned to uint32_t variable, which results
in integer overflow after enough time has expired. Additionally
milliseconds part (which should be 0-999) is assigned directly from
uptime, without subtracting full seconds.

Fix both issues by using int64_t variable and calculating milliseconds
with modulo.

Signed-off-by: Marcin Niestroj <m.niestroj@grinn-global.com>
2021-10-05 19:24:58 -04:00
..
CMakeLists.txt drivers: sx126x: add support for the stm32wl chip 2021-07-15 21:30:28 -04:00
Kconfig lora: sx12xx_common: transition to k_poll_signal 2021-08-08 04:19:27 -04:00
Kconfig.sx12xx drivers: sx126x: add support for the stm32wl chip 2021-07-15 21:30:28 -04:00
hal_common.c drivers: lora: fix RtcGetCalendarTime() 2021-10-05 19:24:58 -04:00
shell.c
sx12xx_common.c drivers: lora: sx12xx: fix atomic include 2021-08-20 11:32:45 -04:00
sx12xx_common.h lora: `lora_send` blocks until completion 2021-08-18 05:16:46 -04:00
sx126x.c lora: `lora_send` blocks until completion 2021-08-18 05:16:46 -04:00
sx126x_common.h drivers: sx126x: add support for the stm32wl chip 2021-07-15 21:30:28 -04:00
sx126x_standalone.c drivers: sx126x_standalone: use the correct dev_data for dio1 callback 2021-08-16 04:57:41 -04:00
sx126x_stm32wl.c drivers: sx126x_stm32wl: clear the radio IRQ before reenabling it 2021-09-22 21:10:05 -05:00
sx127x.c lora: `lora_send` blocks until completion 2021-08-18 05:16:46 -04:00