canDashboardHaltech gear without proper encoding

This commit is contained in:
rusefillc 2024-02-28 10:52:01 -05:00
parent af94e3de19
commit 0f1a5532af
1 changed files with 2 additions and 2 deletions

View File

@ -870,8 +870,8 @@ void canDashboardHaltech(CanCycle cycle) {
msg[3] = 0x00;
msg[4] = 0x00;
msg[5] = 0x00;
// gear goes somewhere here open question enum encoding
msg[6] = 0x00;
// todo: open question what are Haltech Special Values for gear encoding
msg[6] = Sensor::getOrZero(SensorType::DetectedGear);
msg[7] = 0x00;
}