Make sure that SDB of the LED driver is pulled high before talking to it over I2C.

This commit is contained in:
László Monda
2017-06-01 10:59:41 +02:00
parent 6e23df41bf
commit d0678bbb51
2 changed files with 14 additions and 0 deletions

View File

@@ -13,6 +13,12 @@
UhkSlaveType_Touchpad
} uhk_slave_type_t;
typedef enum {
SlaveId_LeftKeyboardHalf,
SlaveId_RightLedDriver,
SlaveId_LeftLedDriver,
} slave_id_t;
typedef void (slave_initializer_t)(uint8_t);
typedef void (slave_updater_t)(uint8_t);
@@ -23,6 +29,10 @@
bool isConnected;
} uhk_slave_t;
// Variables:
extern uhk_slave_t slaves[];
// Functions:
void InitSlaveScheduler();