Skip to content

Commit

Permalink
Actually enable 3v3 at startup
Browse files Browse the repository at this point in the history
  • Loading branch information
MichaelBell committed Mar 24, 2022
1 parent a0baae3 commit c41714c
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions micropython/modules/badger2040/badger2040.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}
Expand Down

0 comments on commit c41714c

Please sign in to comment.