usb_canbus: No need to check if canserial can accept a packet
The canserial code already advertizes a receive window, so the host should never flood the canserial code. Remove the extra scheduling checks to simplify the usb_canbus code. Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
This commit is contained in:
@@ -9,7 +9,7 @@
|
||||
// canserial.c
|
||||
void canserial_notify_tx(void);
|
||||
struct canbus_msg;
|
||||
int canserial_process_data(struct canbus_msg *msg);
|
||||
void canserial_process_data(struct canbus_msg *msg);
|
||||
void canserial_set_uuid(uint8_t *raw_uuid, uint32_t raw_uuid_len);
|
||||
|
||||
#endif // canserial.h
|
||||
|
||||
Reference in New Issue
Block a user