mirror of
https://github.com/betaflight/betaflight.git
synced 2025-07-15 04:15:44 +03:00
Initial making of LEDs configurable
This commit is contained in:
parent
1388c3ee82
commit
daa0afcd39
6 changed files with 33 additions and 47 deletions
|
@ -20,6 +20,8 @@
|
|||
#include <stddef.h>
|
||||
#include <stdint.h>
|
||||
|
||||
#define NOOP do {} while (0)
|
||||
|
||||
#define ARRAYLEN(x) (sizeof(x) / sizeof((x)[0]))
|
||||
#define ARRAYEND(x) (&(x)[ARRAYLEN(x)])
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue