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