From 8a2a2d226558d099243eea0aa9ae22b2791e0e0e Mon Sep 17 00:00:00 2001 From: jacqueline Date: Tue, 6 Jun 2023 10:20:46 +1000 Subject: Get basic audio playback going again --- src/drivers/include/relative_wheel.hpp | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) (limited to 'src/drivers/include') diff --git a/src/drivers/include/relative_wheel.hpp b/src/drivers/include/relative_wheel.hpp index 3ff64b70..da4f9e3d 100644 --- a/src/drivers/include/relative_wheel.hpp +++ b/src/drivers/include/relative_wheel.hpp @@ -20,9 +20,11 @@ namespace drivers { class RelativeWheel { public: - static auto Create(TouchWheel *touch) -> RelativeWheel* { return new RelativeWheel(touch); } + static auto Create(TouchWheel* touch) -> RelativeWheel* { + return new RelativeWheel(touch); + } - explicit RelativeWheel(TouchWheel *touch); + explicit RelativeWheel(TouchWheel* touch); // Not copyable or movable. RelativeWheel(const RelativeWheel&) = delete; @@ -34,7 +36,7 @@ class RelativeWheel { auto ticks() -> std::int_fast16_t; private: - TouchWheel *touch_; + TouchWheel* touch_; bool is_pressed_; bool is_first_read_; std::int_fast16_t ticks_; -- cgit v1.2.3