diff options
| author | ailurux <ailurux@noreply.codeberg.org> | 2024-09-06 03:52:23 +0000 |
|---|---|---|
| committer | ailurux <ailurux@noreply.codeberg.org> | 2024-09-06 03:52:23 +0000 |
| commit | 067069bf3bce5945a8ad8af738dd604d31b2d9a4 (patch) | |
| tree | d32be50f6ebb874a910808dbcaf25c095899b01e /src/drivers | |
| parent | 99a3a904e4d9cc2e4d92edbbf1ebbd0892d3918e (diff) | |
| parent | d0f70787b1686adf48858b94b6187433659549c9 (diff) | |
| download | tangara-fw-067069bf3bce5945a8ad8af738dd604d31b2d9a4.tar.gz | |
Merge pull request 'Support m3u(8) files as playlists, ignoring any comment lines' (#98) from jqln/playlist-cleanip into main
Reviewed-on: https://codeberg.org/cool-tech-zone/tangara-fw/pulls/98
Diffstat (limited to 'src/drivers')
| -rw-r--r-- | src/drivers/test/test_samd.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
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 <cstdint> @@ -16,7 +17,8 @@ namespace drivers { TEST_CASE("samd21 interface", "[integration]") { I2CFixture i2c; - auto samd = std::make_unique<Samd>(); + std::unique_ptr<drivers::NvsStorage> nvs{drivers::NvsStorage::OpenSync()}; + auto samd = std::make_unique<Samd>(*nvs); REQUIRE(samd); |
