Closed ecnelson closed 6 years ago
you are right, gpio-debug config shouldn't be activated by default. i will set a warning in the next release. i will leave this open till then
ok, warning for "dangerous" constexpr-states is impossible right now, so i included some more static_asserts() to help to prevent enabled debug-output
Again in the ds2408 example. The slave (OneWireHub) is connected to a master (OneWire) that is looping over a search for ds2408s. After a reset, the slave fails to initialize unless the OneWire pin is disconnected for a moment. The workaround was to turn off USE_GPIO_DEBUG in OneWireHub_config.h
The offending piece of code seems to be
waitLoops1ms()
.