mirror of
https://github.com/wpilibsuite/allwpilib
synced 2026-06-22 01:11:42 +00:00
PWM: Use getRaw and setRaw for Sendable "Value" property. (#963)
Also change type to "PWM". Move old PWM Sendable behavior for both value and type to PWMSpeedController.
This commit is contained in:
@@ -28,6 +28,7 @@ class PWMSpeedController : public SafePWM, public SpeedController {
|
||||
|
||||
protected:
|
||||
explicit PWMSpeedController(int channel);
|
||||
void InitSendable(SendableBuilder& builder) override;
|
||||
|
||||
private:
|
||||
bool m_isInverted = false;
|
||||
|
||||
Reference in New Issue
Block a user