Remove esp8266 support

This commit is contained in:
cpq committed 2026-10-15 21:14:31 +01:00
1 parent 10e67fdf2b
commit 497a3f5e73
19 files changed
+3 -796

No files matched your search

+1 -1
View File
@@ -200,7 +200,7 @@ bool mg_path_is_sane(const struct mg_str path) {
#if MG_ENABLE_CUSTOM_MILLIS
#else
uint64_t mg_millis(void) {
#if MG_ARCH == MG_ARCH_ESP8266 || MG_ARCH == MG_ARCH_ESP32 || MG_ENABLE_FREERTOS
#if MG_ARCH == MG_ARCH_ESP32 || MG_ENABLE_FREERTOS
return xTaskGetTickCount() * portTICK_PERIOD_MS;
#elif MG_ARCH == MG_ARCH_THREADX
return tx_time_get() * (1000 /* MS per SEC */ / TX_TIMER_TICKS_PER_SECOND);