try not resetting i2c power

This commit is contained in:
lady ada 2021-12-23 19:40:46 -05:00
parent 647b894e7b
commit 8b26f594c9
1 changed files with 1 additions and 0 deletions

View File

@ -37,6 +37,7 @@ void board_init(void) {
common_hal_never_reset_pin(&pin_GPIO20);
// Turn on I2C
common_hal_never_reset_pin(&pin_GPIO7);
gpio_set_direction(7, GPIO_MODE_DEF_OUTPUT);
gpio_set_level(7, false);
}