Actually enable 3v3 at startup
This commit is contained in:
parent
a0baae33a6
commit
c41714c4c9
|
@ -9,6 +9,7 @@ namespace {
|
|||
Badger2040_WakeUpInit()
|
||||
: state(gpio_get_all())
|
||||
{
|
||||
gpio_set_function(pimoroni::Badger2040::ENABLE_3V3, GPIO_FUNC_SIO);
|
||||
gpio_set_dir(pimoroni::Badger2040::ENABLE_3V3, GPIO_OUT);
|
||||
gpio_put(pimoroni::Badger2040::ENABLE_3V3, 1);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue