Compilation + warning fix

This commit is contained in:
Bertrand Songis
2020-03-04 10:46:38 +01:00
parent 6627d3f1ef
commit c3ec23c758
2 changed files with 3 additions and 3 deletions
+1 -1
View File
@@ -54,7 +54,7 @@ uint8_t auxSerialTracesEnabled();
#endif
#define TRACE_TIME_FORMAT "%0.2f "
#define TRACE_TIME_VALUE float(g_tmr10ms) / 100
#define TRACE_TIME_VALUE ((float)g_tmr10ms / 100)
#define TRACE_NOCRLF(...) debugPrintf(__VA_ARGS__)
#define TRACE(f_, ...) debugPrintf((TRACE_TIME_FORMAT f_ CRLF), TRACE_TIME_VALUE, ##__VA_ARGS__)