mirror of
https://github.com/ByteWelder/Tactility.git
synced 2026-02-18 19:03:16 +00:00
* **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.
23 lines
350 B
C++
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 |