Don't initialize the blink registers. Their default value seems to be just fine.
This commit is contained in:
@@ -79,9 +79,5 @@ void LedDriver_SetAllLedsTo(uint8_t val)
|
||||
};
|
||||
I2cWrite(I2C_MAIN_BUS_BASEADDR, I2C_ADDRESS_LED_DRIVER_LEFT,
|
||||
ledControlBufferLeft, sizeof(ledControlBufferLeft));
|
||||
|
||||
for (i=FRAME_REGISTER_BLINK_CONTROL_FIRST; i<=FRAME_REGISTER_BLINK_CONTROL_LAST; i++) {
|
||||
LedDriver_WriteRegister(address, i, 0x00);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user