Глобальная переделка. тест сделан по длине импульса и заданной частоте шим, а не меандру
This commit is contained in:
@@ -7,7 +7,8 @@ namespace Log {
|
||||
void event(const char *component, const char *message) {
|
||||
if (!SERIAL_ACTION_LOG) return;
|
||||
if (SERIAL_MINIMAL_LOG && strcmp(component, "INPUT") && strcmp(component, "UI") &&
|
||||
strcmp(component, "CONFIG") && strcmp(component, "RESULT") && strcmp(component, "ESP-NOW")) return;
|
||||
strcmp(component, "CONFIG") && strcmp(component, "RESULT") && strcmp(component, "CAPTURE") &&
|
||||
strcmp(component, "ESP-NOW")) return;
|
||||
if (SERIAL_LOG_TIMESTAMPS) Serial.printf("[%10lu][%-8s] %s\n", millis(), component, message);
|
||||
else Serial.printf("[%-8s] %s\n", component, message);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user