Export boot timestamp, update docs and examples to use it

This commit is contained in:
cpq committed 2026-06-01 14:35:06 +01:00
1 parent 987075189d
commit 5ae35e3812
11 files changed
+177 -207

No files matched your search

-1
View File
@@ -17,7 +17,6 @@ void mg_bzero(volatile unsigned char *buf, size_t len);
bool mg_random(void *buf, size_t len);
char *mg_random_str(char *buf, size_t len);
uint32_t mg_crc32(uint32_t crc, const char *buf, size_t len);
uint64_t mg_millis(void); // Return milliseconds since boot
bool mg_path_is_sane(const struct mg_str path);
void mg_delayms(unsigned int ms);