mirror of https://github.com/rusefi/wideband.git
correct CAN
This commit is contained in:
parent
95ba8de396
commit
95d14ad170
|
@ -25,6 +25,6 @@ void SendCanData(float lambda, uint16_t measuredResistance)
|
||||||
{
|
{
|
||||||
CanTxTyped<StandardDataFrame> frame(0x130);
|
CanTxTyped<StandardDataFrame> frame(0x130);
|
||||||
|
|
||||||
frame.get().lambda = lambda / 1000.0f;
|
frame.get().lambda = lambda * 10000;
|
||||||
frame.get().measuredResistance = measuredResistance;
|
frame.get().measuredResistance = measuredResistance;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue