1
0
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:
pip 2010-08-04 17:32:42 +00:00 committed by pip
parent f1faea0483
commit 0331f05e9a

View File

@ -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 */