canbus: Rename canbus_send() to canhw_send()

Rename canbus_send() to canhw_send() and rename canbus_set_filter() to
canhw_set_filter().  This makes it more clear where the code should
reside.

Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
This commit is contained in:
Kevin O'Connor
2022-12-14 14:15:14 -05:00
parent e16a693b1e
commit 52a6bed24e
7 changed files with 17 additions and 17 deletions

View File

@@ -205,7 +205,7 @@ usbcan_task(void)
msg.data32[0] = gs->data32[0];
msg.data32[1] = gs->data32[1];
if (host_status & HS_TX_HW) {
ret = canbus_send(&msg);
ret = canhw_send(&msg);
if (ret < 0)
return;
UsbCan.host_status = host_status = host_status & ~HS_TX_HW;