From 371f0a20cad4dfcb3237db6f72a7e35403950938 Mon Sep 17 00:00:00 2001 From: jacqueline Date: Fri, 30 Jun 2023 20:48:40 +1000 Subject: Clean up gpios interface --- src/drivers/test/test_dac.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/drivers/test/test_dac.cpp') diff --git a/src/drivers/test/test_dac.cpp b/src/drivers/test/test_dac.cpp index edf9e1e9..e8d8dd94 100644 --- a/src/drivers/test/test_dac.cpp +++ b/src/drivers/test/test_dac.cpp @@ -10,7 +10,7 @@ #include "catch2/catch.hpp" -#include "gpio_expander.hpp" +#include "gpios.hpp" #include "i2c.hpp" #include "i2c_fixture.hpp" @@ -18,7 +18,7 @@ namespace drivers { TEST_CASE("dac configuration", "[integration]") { I2CFixture i2c; - GpioExpander expander; + IGpios expander; cpp::result dac_res = AudioDac::create(&expander); REQUIRE(dac_res.has_value()); std::unique_ptr dac(dac_res.value()); -- cgit v1.2.3