From 562258e433de411625e2c818ef080ade3b258a4e Mon Sep 17 00:00:00 2001 From: questor/Inter Date: Sat, 27 May 2023 22:41:52 +0200 Subject: [PATCH] remove ALL logging if not enabled --- core0.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core0.c b/core0.c index 1e3c212..81ee4e6 100644 --- a/core0.c +++ b/core0.c @@ -673,6 +673,6 @@ int main() { gpio_set_dir(DCC_INPUT_PIN, GPIO_IN); gpio_pull_up(DCC_INPUT_PIN); gpio_set_irq_enabled_with_callback(DCC_INPUT_PIN, GPIO_IRQ_EDGE_RISE, true, &track_signal_rise); - LOG(0, "core0 done\n"); + LOG(1, "core0 done\n"); while (1); } \ No newline at end of file