aboutsummaryrefslogtreecommitdiffstats
path: root/fw/tests/system/can_tx_systest.c
diff options
context:
space:
mode:
Diffstat (limited to 'fw/tests/system/can_tx_systest.c')
-rw-r--r--fw/tests/system/can_tx_systest.c4
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