1
0
Fork 0
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:
blckmn 2017-06-17 16:47:38 +10:00
parent 1388c3ee82
commit daa0afcd39
6 changed files with 33 additions and 47 deletions

View file

@ -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)])