New logger & removed old unused files
This commit is contained in:
@@ -3,19 +3,12 @@
|
||||
#ifndef PLATFORM_NATIVE
|
||||
|
||||
// ---------------------------------- Arduino -------------------------------------------------------------
|
||||
|
||||
#include "Logger.h"
|
||||
#include <Arduino.h>
|
||||
|
||||
inline void _assert(const char *expression, const char *message, const char *file, int line)
|
||||
{
|
||||
Serial.print("Assert ");
|
||||
Serial.print(file);
|
||||
Serial.print(" : ");
|
||||
Serial.print(line);
|
||||
Serial.print(" '");
|
||||
Serial.print(expression);
|
||||
Serial.println("' failed.");
|
||||
Serial.println(message);
|
||||
LOG_WARNING("Assert %s:%d '%s' failed.\n%s", file, line, expression, message);
|
||||
}
|
||||
|
||||
template <typename T>
|
||||
|
||||
Reference in New Issue
Block a user