i am boo. boo the fool.

custom
jacqueline 2 years ago
parent f0a4b4cf50
commit fa1f1cd9ab
  1. 4
      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");

Loading…
Cancel
Save