mirror of https://github.com/rusefi/wideband.git
making TX period available since downstream wants to multiply it by two (#302)
Co-authored-by: rusefillc <sdfsdfqsf2334234234>
This commit is contained in:
parent
56ee5c80bf
commit
72d5a0dc06
|
@ -25,7 +25,7 @@ void CanTxThread(void*)
|
|||
SendCanForChannel(ch);
|
||||
}
|
||||
|
||||
chThdSleepMilliseconds(10);
|
||||
chThdSleepMilliseconds(WBO_TX_PERIOD_MS);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
@ -26,6 +26,9 @@
|
|||
#define WB_MGS_ECU_STATUS 0xEF5'0000
|
||||
#define WB_DATA_BASE_ADDR 0x190
|
||||
|
||||
// we transmit every 10ms
|
||||
#define WBO_TX_PERIOD_MS 10
|
||||
|
||||
namespace wbo
|
||||
{
|
||||
enum class Fault : uint8_t
|
||||
|
|
Loading…
Reference in New Issue