https://github.com/rogerclarkmelbourne/ ... 2/pull/380
Changes a lot of files and adds
to functions, where the compiler was giving warnings for unused
Looking at some of these, I think there are underlying bugs which the compiler is reporting, and rather than mask them, we should be fixing them.
https://github.com/lacklustrlabs/Arduin ... f1.cpp#L29
According to the Arduino API reference
https://www.arduino.cc/reference/en/lan ... o/pulsein/
The second parameter is
So in this case, the pulseIn function should probably be fixed.value: type of pulse to read: either HIGH or LOW. (int)
Some of the others appear to be internal functions in the LibMaple core, where leaflabs were passing more args than were (in the end) required.
So at the risk of breaking anyone's code which makes calls to functions like adc_config_gpio
https://github.com/lacklustrlabs/Arduin ... _f1.c#L206
This function is called about 6 times by the core, but it would be simple to change theses so they pass one less argument
https://github.com/rogerclarkmelbourne/ ... gpio&type=