From 172d31ec6d69d7372d46e1ba712a2a2187e19d2a Mon Sep 17 00:00:00 2001 From: jacqueline Date: Fri, 6 Sep 2024 12:40:11 +1000 Subject: Ignore comments within playlist files Includes a general cleanup+restructure of playlist.cpp, and fixing the tests and benchmarks --- src/drivers/test/test_samd.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'src/drivers/test') diff --git a/src/drivers/test/test_samd.cpp b/src/drivers/test/test_samd.cpp index c466d88e..96248377 100644 --- a/src/drivers/test/test_samd.cpp +++ b/src/drivers/test/test_samd.cpp @@ -4,6 +4,7 @@ * SPDX-License-Identifier: GPL-3.0-only */ +#include "drivers/nvs.hpp" #include "drivers/samd.hpp" #include @@ -16,7 +17,8 @@ namespace drivers { TEST_CASE("samd21 interface", "[integration]") { I2CFixture i2c; - auto samd = std::make_unique(); + std::unique_ptr nvs{drivers::NvsStorage::OpenSync()}; + auto samd = std::make_unique(*nvs); REQUIRE(samd); -- cgit v1.2.3