Add Signal for per-second tick callbacks.

This commit is contained in:
Jared Boone 2016-04-27 12:02:17 -07:00
parent 7430e31578
commit 8188b44439
4 changed files with 71 additions and 0 deletions

View file

@ -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) {