Fixes CAN devices in C++ library not showing in the livewindow

Change-Id: I47a9d6370b4b2573272881258d4bb46aa149bed0
This commit is contained in:
Sam Carlberg
2015-12-03 10:45:26 -05:00
committed by Peter Johnson
parent e15ca5a414
commit 1c6fe85a7b
3 changed files with 2 additions and 15 deletions

View File

@@ -1852,7 +1852,7 @@ void CANTalon::UpdateTable() {
if (m_table != nullptr) {
m_table->PutString("~TYPE~", "CANSpeedController");
m_table->PutString("Type", "CANTalon");
m_table->PutString("Mode", GetModeName(m_controlMode));
m_table->PutNumber("Mode", m_controlMode);
m_table->PutNumber("p", GetP());
m_table->PutNumber("i", GetI());
m_table->PutNumber("d", GetD());