aboutsummaryrefslogtreecommitdiff
path: root/src/device/rgbled/rgbled.cpp
diff options
context:
space:
mode:
authorpx4dev <px4@purgatory.org>2013-04-06 18:18:49 -0700
committerpx4dev <px4@purgatory.org>2013-04-06 18:18:49 -0700
commitd1a2e9a9c12ae5f4b52299f57c6704a03304b766 (patch)
treed56a006f6a10aa407c9604c8d6ae3868a1fcacfd /src/device/rgbled/rgbled.cpp
parente7e35616c01119eae7a436c260d88cdc6fec6ce5 (diff)
downloadpx4-firmware-d1a2e9a9c12ae5f4b52299f57c6704a03304b766.tar.gz
px4-firmware-d1a2e9a9c12ae5f4b52299f57c6704a03304b766.tar.bz2
px4-firmware-d1a2e9a9c12ae5f4b52299f57c6704a03304b766.zip
Fix the v2 RGB LED ID
Diffstat (limited to 'src/device/rgbled/rgbled.cpp')
-rw-r--r--src/device/rgbled/rgbled.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/device/rgbled/rgbled.cpp b/src/device/rgbled/rgbled.cpp
index 923e0a14f..dc1e469c0 100644
--- a/src/device/rgbled/rgbled.cpp
+++ b/src/device/rgbled/rgbled.cpp
@@ -65,7 +65,7 @@
#define LED_ONTIME 120
#define LED_OFFTIME 120
-#define ADDR 0x55 /**< I2C adress of TCA62724FMG */
+#define ADDR PX4_I2C_OBDEV_LED /**< I2C adress of TCA62724FMG */
#define SUB_ADDR_START 0x01 /**< write everything (with auto-increment) */
#define SUB_ADDR_PWM0 0x81 /**< blue (without auto-increment) */
#define SUB_ADDR_PWM1 0x82 /**< green (without auto-increment) */