remove ALL logging if not enabled
This commit is contained in:
1 parent
36f20a8ca3
commit
562258e433
1 file changed
+1
-1
@@ -673,6 +673,6 @@ int main() {
|
|||||||
gpio_set_dir(DCC_INPUT_PIN, GPIO_IN);
|
gpio_set_dir(DCC_INPUT_PIN, GPIO_IN);
|
||||||
gpio_pull_up(DCC_INPUT_PIN);
|
gpio_pull_up(DCC_INPUT_PIN);
|
||||||
gpio_set_irq_enabled_with_callback(DCC_INPUT_PIN, GPIO_IRQ_EDGE_RISE, true, &track_signal_rise);
|
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);
|
while (1);
|
||||||
}
|
}
|
||||||
Reference in new issue
Block a user