mirror of
https://github.com/ByteWelder/Tactility.git
synced 2026-02-18 10:53:17 +00:00
14 lines
355 B
C
14 lines
355 B
C
#include <assert.h>
|
|
#include <tactility/freertos/task.h>
|
|
#include <tactility/log.h>
|
|
|
|
#define TAG LOG_TAG(freertos)
|
|
|
|
/**
|
|
* Assert implementation as defined in the FreeRTOSConfig.h
|
|
*/
|
|
void vAssertCalled(unsigned long line, const char* const file) {
|
|
LOG_E("Assert triggered at {}:{}", file, line);
|
|
__assert_fail("assert failed", file, line, "");
|
|
}
|