mirror of
https://github.com/wpilibsuite/allwpilib
synced 2026-07-02 02:51:42 +00:00
Remove unused code and add pmd check (#395)
This commit is contained in:
committed by
Peter Johnson
parent
cc246bb9ac
commit
8f67f2c24c
@@ -28,6 +28,7 @@ class AnalogOutput : public SensorBase, public LiveWindowSendable {
|
||||
|
||||
void SetVoltage(double voltage);
|
||||
double GetVoltage() const;
|
||||
int GetChannel();
|
||||
|
||||
void UpdateTable() override;
|
||||
void StartLiveWindowMode() override;
|
||||
|
||||
@@ -35,7 +35,7 @@ class I2C : SensorBase {
|
||||
bool WriteBulk(uint8_t* data, int count);
|
||||
bool Read(int registerAddress, int count, uint8_t* data);
|
||||
bool ReadOnly(int count, uint8_t* buffer);
|
||||
void Broadcast(int registerAddress, uint8_t data);
|
||||
// void Broadcast(int registerAddress, uint8_t data);
|
||||
bool VerifySensor(int registerAddress, int count, const uint8_t* expected);
|
||||
|
||||
private:
|
||||
|
||||
Reference in New Issue
Block a user