mirror of
https://github.com/andreili/klipper.git
synced 2025-08-24 03:44:06 +02:00
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>
16 lines
357 B
C
16 lines
357 B
C
#ifndef __CANSERIAL_H__
|
|
#define __CANSERIAL_H__
|
|
|
|
#include <stdint.h> // uint32_t
|
|
|
|
#define CANBUS_ID_ADMIN 0x3f0
|
|
#define CANBUS_ID_ADMIN_RESP 0x3f1
|
|
|
|
// canserial.c
|
|
void canserial_notify_tx(void);
|
|
struct canbus_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
|