[Horus] Some LCD timings added in comments
This commit is contained in:
@@ -78,6 +78,9 @@ void debugPrintf(const char * format, ...);
|
||||
#define TRACE_WARNING_WP(...) debugPrintf(__VA_ARGS__)
|
||||
#define TRACE_ERROR(...) debugPrintf("-E- " __VA_ARGS__)
|
||||
|
||||
#define TIME_MEASURE_START(id) uint16_t t0 ## id = getTmr2MHz()
|
||||
#define TIME_MEASURE_STOP(id) TRACE("Measure(" # id ") = %.1fus", float((uint16_t)(getTmr2MHz() - t0 ## id))/2)
|
||||
|
||||
#if defined(DEBUG_TRACE_BUFFER)
|
||||
|
||||
#define TRACE_BUFFER_LEN 50
|
||||
|
||||
Reference in New Issue
Block a user