I've been looking at hal_gpio_toggle and it's declaration could be improved by
removing the return value:
void hal_gpio_toggle(int pin);
As it currently stands, by requiring a return value of the pin state one cannot
use the HW support of most processors to toggle the pin, and it's
mkiiskila closed pull request #1: [osal] Minor fixes to the os abstraction
porting layer.
URL: https://github.com/apache/mynewt-nimble/pull/1
This is a PR merged from a forked repository.
As GitHub hides the original diff on merge, it is displayed below for
the sake of provenance:
As