summaryrefslogtreecommitdiff
path: root/board/sweetberry
diff options
context:
space:
mode:
Diffstat (limited to 'board/sweetberry')
-rw-r--r--board/sweetberry/board.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/board/sweetberry/board.c b/board/sweetberry/board.c
index 8640cfd87f..2d94f06f76 100644
--- a/board/sweetberry/board.c
+++ b/board/sweetberry/board.c
@@ -121,8 +121,6 @@ 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);
+ i2c_xfer(0, 0, NULL, 0, &tmp, 1);
}
DECLARE_HOOK(HOOK_INIT, board_init, HOOK_PRIO_DEFAULT);