diff options
| author | Sam Anthony <sam@samanthony.xyz> | 2025-10-24 09:42:49 -0400 |
|---|---|---|
| committer | Sam Anthony <sam@samanthony.xyz> | 2025-10-24 09:42:49 -0400 |
| commit | 32dafa1088e2f2428e9b67bf848faf2433216011 (patch) | |
| tree | d1ee08ceb3e16d80784680fbc6ac2a2df3b580ab /fw/tests/system/can_tx_systest.c | |
| parent | 94cdc9ec4e75fc5e55deb394eda4820ba672e3e4 (diff) | |
| download | can-gauge-interface-32dafa1088e2f2428e9b67bf848faf2433216011.zip | |
CAN echo systest
Diffstat (limited to 'fw/tests/system/can_tx_systest.c')
| -rw-r--r-- | fw/tests/system/can_tx_systest.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/fw/tests/system/can_tx_systest.c b/fw/tests/system/can_tx_systest.c index b1dec17..ef1d7b0 100644 --- a/fw/tests/system/can_tx_systest.c +++ b/fw/tests/system/can_tx_systest.c @@ -1,3 +1,5 @@ +/* Periodically transmit a frame to the CAN bus. */ + #include <xc.h> #include <stdbool.h> @@ -14,9 +16,9 @@ static const CanFrame frame = { .type = CAN_ID_STD, .sid = {0x01, 0x23}, }, + .rtr = false, .dlc = 8u, .data = {0x00, 0x11, 0x22, 0x33, 0x44, 0x55, 0x66, 0x77}, - .rtr = false, }; static U8 ctr = 0u; // timer |