cesanta / mongoose-os

Mongoose OS - an IoT Firmware Development Framework. Supported microcontrollers: ESP32, ESP8266, CC3220, CC3200, STM32F4, STM32L4, STM32F7. Amazon AWS IoT, Microsoft Azure, Google IoT Core integrated. Code in C or JavaScript.
https://mongoose-os.com
Other
2.48k stars 430 forks source link

mgos::Timer - get time left until invocation #612

Open vadimpronin opened 6 months ago

vadimpronin commented 6 months ago

mgos::Timer did not have public method to get time left until next invocation, neither it was extendable to add such method in a child class

Changes: