Remove unused code and add pmd check (#395)

This commit is contained in:
Austin Shalit
2016-12-23 11:20:13 -08:00
committed by Peter Johnson
parent cc246bb9ac
commit 8f67f2c24c
19 changed files with 56 additions and 21 deletions

View File

@@ -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;

View File

@@ -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: