diff options
| author | jacqueline <me@jacqueline.id.au> | 2023-06-06 10:20:46 +1000 |
|---|---|---|
| committer | jacqueline <me@jacqueline.id.au> | 2023-06-06 10:20:46 +1000 |
| commit | 8a2a2d226558d099243eea0aa9ae22b2791e0e0e (patch) | |
| tree | 16c3defdb167ea7f452e5ce96118b165acf6602f /src/drivers/include | |
| parent | ee5f662f9bb150138545ca35ef5c4896eb74daea (diff) | |
| download | tangara-fw-8a2a2d226558d099243eea0aa9ae22b2791e0e0e.tar.gz | |
Get basic audio playback going again
Diffstat (limited to 'src/drivers/include')
| -rw-r--r-- | src/drivers/include/relative_wheel.hpp | 8 |
1 files changed, 5 insertions, 3 deletions
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_; |
