Skip to content
Snippets Groups Projects
Commit 5bbcfaa1 authored by Daniel Busch's avatar Daniel Busch
Browse files

Fix ugly changes from code-style script

parent 616087a8
Branches
No related tags found
No related merge requests found
Pipeline #3707 failed
......@@ -23,14 +23,13 @@ static inline __attribute__((always_inline)) void
epic_ws2812_delay_ticks(uint32_t ticks)
{
counter = ticks;
while (--counter)
;
while (--counter);
}
static inline __attribute__((always_inline)) void
epic_ws2812_transmit_bit(uint32_t pin, uint8_t bit)
{
if ((bit) != 0) {
if (bit != 0) {
GPIO_OutSet(pin);
epic_ws2812_delay_ticks(EPIC_WS2812_ONE_HIGH_TICKS);
GPIO_OutClr(pin);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment