|
|
@ -672,10 +672,10 @@ void loop() |
|
|
|
if (cpu_mem_millis >= SHOW_CPU_LOAD_MSEC) |
|
|
|
if (cpu_mem_millis >= SHOW_CPU_LOAD_MSEC) |
|
|
|
{ |
|
|
|
{ |
|
|
|
if (master_peak_r.available()) |
|
|
|
if (master_peak_r.available()) |
|
|
|
if (master_peak_r.read() > 0.99) |
|
|
|
if (master_peak_r.read() == 1.0) |
|
|
|
peak_r++; |
|
|
|
peak_r++; |
|
|
|
if (master_peak_l.available()) |
|
|
|
if (master_peak_l.available()) |
|
|
|
if (master_peak_l.read() > 0.99) |
|
|
|
if (master_peak_l.read() == 1.0) |
|
|
|
peak_l++; |
|
|
|
peak_l++; |
|
|
|
if (microdexed_peak.available()) |
|
|
|
if (microdexed_peak.available()) |
|
|
|
{ |
|
|
|
{ |
|
|
@ -1592,12 +1592,12 @@ void generate_version_string(char* buffer, uint8_t len) |
|
|
|
itoa (MAX_NOTES, tmp, 10); |
|
|
|
itoa (MAX_NOTES, tmp, 10); |
|
|
|
strncat(buffer, tmp, 2); |
|
|
|
strncat(buffer, tmp, 2); |
|
|
|
#endif |
|
|
|
#endif |
|
|
|
|
|
|
|
buffer[len] = '\0'; |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
/******************************************************************************
|
|
|
|
/******************************************************************************
|
|
|
|
DEBUG HELPER |
|
|
|
DEBUG HELPER |
|
|
|
******************************************************************************/ |
|
|
|
******************************************************************************/ |
|
|
|
|
|
|
|
|
|
|
|
#if defined (DEBUG) && defined (SHOW_CPU_LOAD_MSEC) |
|
|
|
#if defined (DEBUG) && defined (SHOW_CPU_LOAD_MSEC) |
|
|
|
void show_cpu_and_mem_usage(void) |
|
|
|
void show_cpu_and_mem_usage(void) |
|
|
|
{ |
|
|
|
{ |
|
|
|