mirror of https://github.com/ARMmbed/mbed-os.git
For api usage like DigitalOut led(LED1, 1) the hal function gpio_write() sets the output before f. gpio_mode() is called. gpio_mode() clears the output as it take never writen parameters (gpio_cfg_t.init_hight). This patch use internal hardware register of GPIO output instedad of above paramiter latch for retaining proper writen state. |
||
---|---|---|
.. | ||
TARGET_MCU_NRF51822 | ||
TARGET_NRF5 | ||
mbed_rtx.h |