summaryrefslogtreecommitdiff
path: root/src/drivers/test/test_dac.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/drivers/test/test_dac.cpp')
-rw-r--r--src/drivers/test/test_dac.cpp4
1 files changed, 2 insertions, 2 deletions
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<AudioDac*, AudioDac::Error> dac_res = AudioDac::create(&expander);
REQUIRE(dac_res.has_value());
std::unique_ptr<AudioDac> dac(dac_res.value());