21#ifndef LSH_CORE_UTIL_TIME_KEEPER_HPP
22#define LSH_CORE_UTIL_TIME_KEEPER_HPP
Utility namespace that exposes the controller time used by the main loop.
Definition time_keeper.hpp:32
auto getTime() -> uint32_t
Gets the cached timestamp from the last timeKeeper::update() call.
Definition time_keeper.hpp:42
uint32_t now
Cached millis() value refreshed once per main-loop iteration.
Definition time_keeper.cpp:24
__attribute__((always_inline)) inline void update()
Refresh the cached timestamp from millis().
Definition time_keeper.hpp:50
auto getRealTime() -> uint32_t
Gets the current time directly by calling millis().
Definition time_keeper.hpp:62
Internal bridge that imports static profile resources into the library's scope.