Skip to content

Commit 38bd754

Browse files
committed
drivers/ws281x: remove units.h due to redefinition in ESP vendor header
1 parent 2901b42 commit 38bd754

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

drivers/ws281x/include/ws281x_params.h

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,6 @@
2121
#include <limits.h>
2222

2323
#include "board.h"
24-
#include "macros/units.h"
2524
#include "saul_reg.h"
2625

2726
#include "ws281x.h"
@@ -123,7 +122,7 @@ static const ws281x_params_t ws281x_params[] =
123122
* 4 SPI bits add up to 1.25 µs period, which is the time to transmit one WS281x bit.
124123
*/
125124
#ifndef WS281X_SPI_CLK
126-
# define WS281X_SPI_CLK KHZ(3200)
125+
# define WS281X_SPI_CLK 3200000
127126
#endif
128127

129128
/**

0 commit comments

Comments
 (0)