Error in can_dash.cpp fix #4786
This commit is contained in:
parent
f697d6c7dd
commit
f80f36f2d9
|
@ -718,7 +718,7 @@ void canDashboardHaltech(CanCycle cycle) {
|
|||
{
|
||||
CanTxMessage msg(CanCategory::NBC, 0x368, 8);
|
||||
/* Wideband Sensor 1 */
|
||||
tmp = (uint16_t)(Sensor::getOrZero(SensorType::Lambda1)) * 1000;
|
||||
tmp = (uint16_t)(Sensor::getOrZero(SensorType::Lambda1) * 1000);
|
||||
msg[0] = (tmp >> 8);
|
||||
msg[1] = (tmp & 0x00ff);
|
||||
/* Wideband Sensor 2 */
|
||||
|
|
Loading…
Reference in New Issue