Fix usage reporting for new motor controllers and Analog output

Change-Id: I574e431ae551ecf8efc90c004abf14568f22c068
This commit is contained in:
Kevin O'Connor
2015-04-30 16:22:46 -04:00
parent 1e4e0bacde
commit 8b71ddc30f
14 changed files with 40 additions and 9 deletions

View File

@@ -40,7 +40,7 @@ void AnalogOutput::InitAnalogOutput(uint32_t channel) {
wpi_setErrorWithContext(status, getHALErrorMessage(status));
LiveWindow::GetInstance()->AddActuator("AnalogOutput", m_channel, this);
HALReport(HALUsageReporting::kResourceType_AnalogChannel, m_channel, 0);
HALReport(HALUsageReporting::kResourceType_AnalogOutput, m_channel);
}
/**