Closed h2zero closed 2 years ago
We should probably either memset(ptr, 0, size)
these structs, or make use of automatic zero-fill of partially initialised structs, but I'm happy to get this set of minimal fixes in now.
Thanks for the PR!
I think all the other parameters are set, this is just a new one for IDF v4.x. There are also macros for RMT_DEFAULT_CONFIG_TX
and RMT_DEFAULT_CONFIG_RX
that could be used here.
@h2zero Oooh, that would be even more future-proof! If you want to PR it, just tag me as a reviewer and I can get it merged. I'm a bit overloaded with stuff at the moment, so I only see things that directly mention me.
dev
branch rather than for therelease
branch.docs/*
.If this variable is not set in the config it may contain random data and set the clock source to the REF_CLK resulting in timing errors, the DHTx, DS18B20 and ws2812 devices to not communicate.