mirror of
https://bitbucket.org/librepilot/librepilot.git
synced 2025-01-18 03:52:11 +01:00
Added extra LED's .. now up to 4 LED's .. (PipBee has 4 controllable LED's)
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1207 ebee16cc-31ac-478f-84a7-5cbb03baadba
This commit is contained in:
parent
f1faea0483
commit
0331f05e9a
@ -36,6 +36,10 @@
|
||||
typedef enum {LED1 = 0} LedTypeDef;
|
||||
#elif (PIOS_LED_NUM == 2)
|
||||
typedef enum {LED1 = 0, LED2 = 1} LedTypeDef;
|
||||
#elif (PIOS_LED_NUM == 3)
|
||||
typedef enum {LED1 = 0, LED2 = 1, LED3 = 2} LedTypeDef;
|
||||
#elif (PIOS_LED_NUM == 4)
|
||||
typedef enum {LED1 = 0, LED2 = 1, LED3 = 2, LED4 = 3} LedTypeDef;
|
||||
#endif
|
||||
|
||||
/* Public Functions */
|
||||
|
Loading…
x
Reference in New Issue
Block a user