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

@@ -59,6 +59,11 @@ AnalogOutput::AnalogOutput(int channel) {
*/
AnalogOutput::~AnalogOutput() { HAL_FreeAnalogOutputPort(m_port); }
/**
* Get the channel of this AnalogOutput.
*/
int AnalogOutput::GetChannel() { return m_channel; }
/**
* Set the value of the analog output.
*