-
Notifications
You must be signed in to change notification settings - Fork 2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
drivers/ws281x: Removed trailing whitespaces
- Loading branch information
=
committed
Jan 26, 2024
1 parent
31ee764
commit 92d40e3
Showing
1 changed file
with
6 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -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]> | ||
|
@@ -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. | ||
*/ | ||
|
@@ -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; | ||
|
@@ -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; | ||
|
@@ -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; | ||
|