diff options
Diffstat (limited to 'board/sweetberry/board.c')
-rw-r--r-- | board/sweetberry/board.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/board/sweetberry/board.c b/board/sweetberry/board.c index 9488695e1e..8640cfd87f 100644 --- a/board/sweetberry/board.c +++ b/board/sweetberry/board.c @@ -121,6 +121,8 @@ static void board_init(void) uint8_t tmp; /* i2c 0 has a tendancy to get wedged. TODO(nsanders): why? */ + i2c_lock(0, 1); i2c_xfer(0, 0, NULL, 0, &tmp, 1, I2C_XFER_SINGLE); + i2c_lock(0, 0); } DECLARE_HOOK(HOOK_INIT, board_init, HOOK_PRIO_DEFAULT); |