mirror of
https://github.com/wpilibsuite/allwpilib
synced 2026-06-23 01:21:42 +00:00
ADXL345_I2C: Make constructor explicit.
The second argument has a default value, so it needs to be explicit. Change-Id: I5c38f8f55f9c21576835c005acd8d80fe6864140
This commit is contained in:
@@ -36,7 +36,7 @@ public:
|
||||
};
|
||||
|
||||
public:
|
||||
ADXL345_I2C(Port port, Range range = kRange_2G);
|
||||
explicit ADXL345_I2C(Port port, Range range = kRange_2G);
|
||||
virtual ~ADXL345_I2C();
|
||||
|
||||
// Accelerometer interface
|
||||
|
||||
Reference in New Issue
Block a user