mirror of
https://github.com/eried/portapack-mayhem.git
synced 2025-08-13 17:05:37 -04:00
Add Signal for per-second tick callbacks.
This commit is contained in:
parent
7430e31578
commit
8188b44439
4 changed files with 71 additions and 0 deletions
|
@ -24,6 +24,7 @@
|
|||
#include "portapack.hpp"
|
||||
|
||||
#include "sd_card.hpp"
|
||||
#include "time.hpp"
|
||||
|
||||
#include "message.hpp"
|
||||
#include "message_queue.hpp"
|
||||
|
@ -145,6 +146,8 @@ void EventDispatcher::handle_rtc_tick() {
|
|||
sd_card::poll_inserted();
|
||||
|
||||
portapack::temperature_logger.second_tick();
|
||||
|
||||
time::on_tick_second();
|
||||
}
|
||||
|
||||
ui::Widget* EventDispatcher::touch_widget(ui::Widget* const w, ui::TouchEvent event) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue