aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorJosh Rahm <joshuarahm@gmail.com>2021-11-21 01:47:35 -0700
committerJosh Rahm <joshuarahm@gmail.com>2021-11-21 01:47:35 -0700
commit41574c410661c7ce9231cf9c29602f307f393276 (patch)
treeeb79c417a11271961143c82b3517efceb6bff2a6 /include
parent47f0d11301c71819ced150deb96b7304ee10bab1 (diff)
downloadesp32-ws2812b-41574c410661c7ce9231cf9c29602f307f393276.tar.gz
esp32-ws2812b-41574c410661c7ce9231cf9c29602f307f393276.tar.bz2
esp32-ws2812b-41574c410661c7ce9231cf9c29602f307f393276.zip
Add .clang-format and run clang-format.
Diffstat (limited to 'include')
-rw-r--r--include/drv/ws2812b.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/include/drv/ws2812b.h b/include/drv/ws2812b.h
index 9cf35e4..b14b31a 100644
--- a/include/drv/ws2812b.h
+++ b/include/drv/ws2812b.h
@@ -3,6 +3,7 @@
#define INCLUDE_DRV_WS2812B_H_
#include <stdint.h>
+
#include "driver/spi_master.h"
typedef struct {
@@ -12,7 +13,7 @@ typedef struct {
} ws2812b_rgb_t;
typedef struct {
- uint8_t* buf_; /* Buffer to hold the value to spi. */
+ uint8_t* buf_; /* Buffer to hold the value to spi. */
uint32_t n_rgb; /* Number of rgb values which exist. */
ws2812b_rgb_t rgb[]; /* Colors to write. */