try not resetting i2c power
This commit is contained in:
parent
647b894e7b
commit
8b26f594c9
|
@ -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);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue