Ken Van Hoeylandt e6abd496f9
Various improvements (#461)
* **New Features**
  * Time and delay utilities added (ticks, ms, µs); SD card now uses an expansion-header CS pin; HTTP downloads warn when run on the GUI task and yield to avoid blocking.

* **Bug Fixes / Reliability**
  * Many hard-crash paths converted to guarded checks to reduce abrupt termination and improve stability.

* **Tests**
  * Unit tests added to validate time and delay accuracy.

* **Chores**
  * License header and build/macro updates.
2026-01-27 08:04:21 +01:00

23 lines
350 B
C++

// SPDX-License-Identifier: Apache-2.0
#ifndef ESP_PLATFORM
#include <Tactility/Log.h>
#include <stdio.h>
#include <stdarg.h>
extern "C" {
void log_generic(const char* tag, const char* format, ...) {
va_list args;
va_start(args, format);
printf("%s ", tag);
vprintf(format, args);
printf("\n");
va_end(args);
}
}
#endif