From ddfa840da21ccd136fc712b77d0bceeefc94feb4 Mon Sep 17 00:00:00 2001 From: Kristoffer Richardsson Date: Thu, 29 Aug 2019 16:57:06 +0200 Subject: [PATCH] #464 Updated i2c address for active marker deck --- src/deck/drivers/src/activeMarkerDeck.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/deck/drivers/src/activeMarkerDeck.c b/src/deck/drivers/src/activeMarkerDeck.c index 4e601612cf..29f64f8ff3 100644 --- a/src/deck/drivers/src/activeMarkerDeck.c +++ b/src/deck/drivers/src/activeMarkerDeck.c @@ -40,7 +40,7 @@ static bool isInit = false; static uint8_t currentId[LED_COUNT] = {0xff, 0xff, 0xff, 0xff}; static uint8_t requestedId[LED_COUNT] = {1, 3, 4, 2}; // 1 to 4, clockwise -#define DECK_I2C_ADDRESS 22 +#define DECK_I2C_ADDRESS 0x2E static xTimerHandle timer; @@ -69,7 +69,7 @@ static void timerHandler(xTimerHandle timer) { static void writeToDeck(const uint8_t led, const uint8_t id) { uint8_t buf[] = {led, id}; - bool status = i2cdevWrite(I2C1_DEV, DECK_I2C_ADDRESS, sizeof(buf), buf); + i2cdevWrite(I2C1_DEV, DECK_I2C_ADDRESS, sizeof(buf), buf); }