enable I2C by default

This commit is contained in:
lady ada 2021-12-23 18:19:34 -05:00
parent 53b6c4b5f0
commit 9c933558b5

View File

@ -33,6 +33,10 @@ void board_init(void) {
// USB
common_hal_never_reset_pin(&pin_GPIO19);
common_hal_never_reset_pin(&pin_GPIO20);
// Turn on I2C
gpio_set_direction(7, GPIO_MODE_DEF_OUTPUT);
gpio_set_level(7, false);
}
bool board_requests_safe_mode(void) {