mirror of
https://github.com/wpilibsuite/allwpilib
synced 2026-06-29 02:21:44 +00:00
Fixes CAN devices in C++ library not showing in the livewindow
Change-Id: I47a9d6370b4b2573272881258d4bb46aa149bed0
This commit is contained in:
committed by
Peter Johnson
parent
e15ca5a414
commit
1c6fe85a7b
@@ -1981,7 +1981,7 @@ void CANJaguar::UpdateTable() {
|
||||
if (m_table != nullptr) {
|
||||
m_table->PutString("~TYPE~", "CANSpeedController");
|
||||
m_table->PutString("Type", "CANJaguar");
|
||||
m_table->PutString("Mode", GetModeName(m_controlMode));
|
||||
m_table->PutNumber("Mode", m_controlMode);
|
||||
if (IsModePID(m_controlMode)) {
|
||||
m_table->PutNumber("p", GetP());
|
||||
m_table->PutNumber("i", GetI());
|
||||
|
||||
Reference in New Issue
Block a user