diff options
author | Damien George <damien.p.george@gmail.com> | 2020-03-25 00:10:32 +1100 |
---|---|---|
committer | Damien George <damien.p.george@gmail.com> | 2020-03-25 00:10:32 +1100 |
commit | 40255aff232fe726cf43f52961be9eb2839540b0 (patch) | |
tree | cda68d257005ee61210d1c198a78815f3cce677c /tools/codeformat.py | |
parent | 9dd470b76819eaea36d8d6940e3b91e30ba076fb (diff) |
stm32/mboot: Remove unnecessary test for led being 1 in led_state.
The "led" argument is always a pointer to the GPIO port, or'd with the pin
that the LED is on, so testing that it is "1" is unnecessary. The type of
"led" is also changed to uint32_t so it can properly hold a 32-bit pointer.
Diffstat (limited to 'tools/codeformat.py')
0 files changed, 0 insertions, 0 deletions