diff options
| author | jacqueline <me@jacqueline.id.au> | 2023-02-13 16:22:45 +1100 |
|---|---|---|
| committer | jacqueline <me@jacqueline.id.au> | 2023-02-13 16:22:45 +1100 |
| commit | fa1f1cd9aba914882b95e93cdf64ad01309aa633 (patch) | |
| tree | 1636edbbc9c7c26b3340b53273c2e8f85e4e0871 /src | |
| parent | f0a4b4cf502987478208dcb6bfeab995a3c8cd55 (diff) | |
| download | tangara-fw-fa1f1cd9aba914882b95e93cdf64ad01309aa633.tar.gz | |
i am boo. boo the fool.
Diffstat (limited to 'src')
| -rw-r--r-- | src/main/main.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/main/main.cpp b/src/main/main.cpp index 08b31cd3..0dc0f8be 100644 --- a/src/main/main.cpp +++ b/src/main/main.cpp @@ -98,9 +98,9 @@ extern "C" void app_main(void) { ESP_LOGI(TAG, "Enable power rails for development"); expander->with([&](auto& gpio) { gpio.set_pin(drivers::GpioExpander::USB_INTERFACE_POWER_ENABLE, 0); - gpio.set_pin(drivers::GpioExpander::SD_CARD_POWER_ENABLE, 0); + gpio.set_pin(drivers::GpioExpander::SD_CARD_POWER_ENABLE, 1); gpio.set_pin(drivers::GpioExpander::SD_MUX_SWITCH, - drivers::GpioExpander::SD_MUX_USB); + drivers::GpioExpander::SD_MUX_ESP); }); ESP_LOGI(TAG, "Init battery measurement"); |
