mirror of
https://github.com/wpilibsuite/allwpilib
synced 2026-07-04 03:11:43 +00:00
Merge "AnalogPotentiometer: Make constructors explicit."
This commit is contained in:
@@ -27,11 +27,11 @@ public:
|
||||
* @param scale The scaling to multiply the voltage by to get a meaningful unit.
|
||||
* @param offset The offset to add to the scaled value for controlling the zero value
|
||||
*/
|
||||
AnalogPotentiometer(int channel, double scale = 1.0, double offset = 0.0);
|
||||
explicit AnalogPotentiometer(int channel, double scale = 1.0, double offset = 0.0);
|
||||
|
||||
AnalogPotentiometer(AnalogInput *input, double scale = 1.0, double offset = 0.0);
|
||||
explicit AnalogPotentiometer(AnalogInput *input, double scale = 1.0, double offset = 0.0);
|
||||
|
||||
AnalogPotentiometer(AnalogInput &input, double scale = 1.0, double offset = 0.0);
|
||||
explicit AnalogPotentiometer(AnalogInput &input, double scale = 1.0, double offset = 0.0);
|
||||
|
||||
virtual ~AnalogPotentiometer();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user