diff options
| author | jacqueline <me@jacqueline.id.au> | 2023-01-20 09:48:29 +1100 |
|---|---|---|
| committer | jacqueline <me@jacqueline.id.au> | 2023-01-20 09:48:29 +1100 |
| commit | 4c88fcc4a57b1fae7b6edaf42034945d5ac24a89 (patch) | |
| tree | e44c384ba40e9eab37374b3f339c79e9bf1fde5d /src/drivers | |
| parent | e53dfc4cc59fd0c3b01dc74762c1904f3ec9cc06 (diff) | |
| download | tangara-fw-4c88fcc4a57b1fae7b6edaf42034945d5ac24a89.tar.gz | |
fix build issues with new pipeline
Diffstat (limited to 'src/drivers')
| -rw-r--r-- | src/drivers/display.cpp | 1 | ||||
| -rw-r--r-- | src/drivers/include/gpio_expander.hpp | 2 |
2 files changed, 1 insertions, 2 deletions
diff --git a/src/drivers/display.cpp b/src/drivers/display.cpp index ba5d08d3..8aaca4a4 100644 --- a/src/drivers/display.cpp +++ b/src/drivers/display.cpp @@ -74,7 +74,6 @@ static void IRAM_ATTR post_cb(spi_transaction_t* transaction) { auto Display::create(GpioExpander* expander, const displays::InitialisationData& init_data) -> cpp::result<std::unique_ptr<Display>, Error> { - expander->with( [&](auto& gpio) { gpio.set_pin(GpioExpander::DISPLAY_LED, 1); }); diff --git a/src/drivers/include/gpio_expander.hpp b/src/drivers/include/gpio_expander.hpp index 1faf0f88..8875e954 100644 --- a/src/drivers/include/gpio_expander.hpp +++ b/src/drivers/include/gpio_expander.hpp @@ -110,7 +110,7 @@ class GpioExpander { // Port B PHONE_DETECT = 8, // Active-high input - //UNUSED = 9, + // UNUSED = 9, VOL_UP = 10, VOL_DOWN = 11, LOCK = 12, |
