Fist commit

This commit is contained in:
Angel Ivan
2026-10-02 12:08:21 -06:00
commit 2a9eabce14
54 changed files with 10737 additions and 0 deletions

View File

@@ -0,0 +1,17 @@
#pragma once
#include <esp_timer.h>
#include <cstdint>
namespace timbre {
class EspMonotonicClock {
public:
std::uint64_t micros() const { return static_cast<std::uint64_t>(esp_timer_get_time()); }
std::uint32_t milliseconds() const {
return static_cast<std::uint32_t>(micros() / 1000ULL);
}
};
} // namespace timbre