| 4 | #include <memory> |
| 5 | #pragma once |
| 6 | class AccelerometerInput: public Input { |
| 7 | public: |
| 8 | AccelerometerInput(proto_AccelerometerInput input, std::shared_ptr<AccelerometerDevice> device); |
| 9 | bool tickDigital(); |
| 10 | uint16_t tickAnalog(); |
| 11 | private: |
| 12 | void setup(); |
| 13 | uint8_t m_channel; |
| 14 | proto_AccelerometerInput m_input; |
| 15 | std::shared_ptr<AccelerometerDevice> m_device; |
| 16 | }; |
nothing calls this directly
no outgoing calls
no test coverage detected