Skip to content

Commit

Permalink
drivers/ws281x: Removed trailing whitespaces
Browse files Browse the repository at this point in the history
  • Loading branch information
= committed Jan 26, 2024
1 parent 31ee764 commit 92d40e3
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions drivers/ws281x/stm32.c
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,8 @@
*
* @file
* @brief Implementation of `ws281x_write_buffer()` for STM32 MCUs
*
* @note Currently only implemented for 84, 100 and 180 MHz MCUs of the
*
* @note Currently only implemented for 84, 100 and 180 MHz MCUs of the
* STM32F4 family.
*
* @author Lennart Lutz <[email protected]>
Expand All @@ -38,7 +38,7 @@ void ws281x_write_buffer(ws281x_t *dev, const void *buf, size_t size)
assert(dev);
const uint8_t *pos = buf;
const uint8_t *end = pos + size;

/**
* Get the address of the GPIO pin.
*/
Expand All @@ -51,7 +51,7 @@ void ws281x_write_buffer(ws281x_t *dev, const void *buf, size_t size)

#if defined(CPU_LINE_STM32F401xC) || defined(CPU_LINE_STM32F401xE)

while (pos < end)
while (pos < end)
{
uint8_t cnt = 8;
uint8_t data = *pos;
Expand Down Expand Up @@ -276,7 +276,7 @@ void ws281x_write_buffer(ws281x_t *dev, const void *buf, size_t size)
defined(CPU_LINE_STM32F412Vx) || defined(CPU_LINE_STM32F412Zx) || \
defined(CPU_LINE_STM32F413xx) || defined(CPU_LINE_STM32F423xx)

while (pos < end)
while (pos < end)
{
uint8_t cnt = 8;
uint8_t data = *pos;
Expand Down Expand Up @@ -539,7 +539,7 @@ void ws281x_write_buffer(ws281x_t *dev, const void *buf, size_t size)
defined(CPU_LINE_STM32F446xx) || defined(CPU_LINE_STM32F469xx) || \
defined(CPU_LINE_STM32F479xx)

while (pos < end)
while (pos < end)
{
uint8_t cnt = 8;
uint8_t data = *pos;
Expand Down

0 comments on commit 92d40e3

Please sign in to comment.