rusefi data

This commit is contained in:
Matthew Kennedy 2021-11-03 22:40:43 -07:00
parent 635b5567e3
commit 1ce6981b53
2 changed files with 7 additions and 0 deletions

View File

@ -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);

View File

@ -5,3 +5,4 @@
void InitCan();
void SendCanData(float lambda, uint16_t measuredResistance);
void SendEmulatedAemXseries(uint8_t idx);
void SendRusefiFormat(uint8_t idx);