Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 5 additions & 3 deletions board/main.c
Original file line number Diff line number Diff line change
Expand Up @@ -105,9 +105,11 @@ void debug_ring_callback(uart_ring *ring) {
}

void smdps_clu11(void) {
CAN1->sTxMailBox[0].TDLR = 0x00;
CAN1->sTxMailBox[0].TDTR = 4;
CAN1->sTxMailBox[0].TIR = (0x2AAU << 21) | 1U;
CAN_FIFOMailBox_TypeDef to_send;
to_send.RDLR = 0x00;
to_send.RDTR = 4;
to_send.RIR = (0x2AA << 21) | 1U;
can_send(&to_send, 0, false);
}

// ****************************** safety mode ******************************
Expand Down