syrlinks handler ready for testing

This commit is contained in:
2021-02-22 09:24:42 +01:00
parent 13c75ed9c2
commit 9bdc2096b0
18 changed files with 842 additions and 247 deletions

View File

@ -95,12 +95,6 @@ static void * socketcan_rx_thread(void * parameters)
/* Strip flags */
frame.can_id &= CAN_EFF_MASK;
printf("socketcan_rx_thread: CAN bytes received: ");
/* Print received data */
for (int i = 0; i < 8; i++) {
printf("%x, ", frame.data[i]);
}
/* Call RX callbacsp_can_rx_frameck */
csp_can_rx(&socketcan[0].interface, frame.can_id, frame.data, frame.can_dlc, NULL);
}