making TX period available since downstream wants to multiply it by two (#302)

Co-authored-by: rusefillc <sdfsdfqsf2334234234>
This commit is contained in:
rusefillc 2023-12-05 21:05:32 -05:00 committed by GitHub
parent 56ee5c80bf
commit 72d5a0dc06
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 4 additions and 1 deletions

View File

@ -25,7 +25,7 @@ void CanTxThread(void*)
SendCanForChannel(ch);
}
chThdSleepMilliseconds(10);
chThdSleepMilliseconds(WBO_TX_PERIOD_MS);
}
}

View File

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