Flesh out time module

This commit is contained in:
2023-05-15 17:31:23 +01:00
parent 8be7ec1e28
commit cee2e368dc
5 changed files with 41 additions and 23 deletions

View File

@@ -7,7 +7,7 @@
#include "display_driver.h"
#include "fatal.h"
#include "time.h"
#include "time_manager.h"
#include "esp_log.h"
#include "esp_timer.h"
@@ -57,7 +57,7 @@ static void show_time(unsigned hour, unsigned minute)
static void update_time(void *arg)
{
(void)arg;
const Time time = time_get();
const Time time = get_time();
show_time(time.hour, time.minute);
}