enable I2C by default
This commit is contained in:
parent
53b6c4b5f0
commit
9c933558b5
@ -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) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user