mirror of https://github.com/rusefi/wideband.git
rusefi data
This commit is contained in:
parent
635b5567e3
commit
1ce6981b53
|
@ -16,6 +16,7 @@ void CanTxThread(void*)
|
|||
while(1)
|
||||
{
|
||||
SendEmulatedAemXseries(configuration.CanIndexOffset);
|
||||
SendRusefiFormat(configuration.CanIndexOffset);
|
||||
|
||||
chThdSleepMilliseconds(10);
|
||||
}
|
||||
|
@ -146,6 +147,11 @@ void SendEmulatedAemXseries(uint8_t idx) {
|
|||
frame[4] = (int)(GetNernstDc() * 200);
|
||||
}
|
||||
|
||||
void SendRusefiFormat(uint8_t idx)
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
void SendCanData(float lambda, uint16_t measuredResistance)
|
||||
{
|
||||
CanTxTyped<StandardDataFrame> frame(0x130);
|
||||
|
|
|
@ -5,3 +5,4 @@
|
|||
void InitCan();
|
||||
void SendCanData(float lambda, uint16_t measuredResistance);
|
||||
void SendEmulatedAemXseries(uint8_t idx);
|
||||
void SendRusefiFormat(uint8_t idx);
|
||||
|
|
Loading…
Reference in New Issue