diff --git a/src/can.rs b/src/can.rs index 9aed147..41a9fec 100644 --- a/src/can.rs +++ b/src/can.rs @@ -64,10 +64,10 @@ pub enum Error { InvalidRamAddress(u16), /// Payload buffer length not a multiple of 4 bytes InvalidBufferSize(usize), - /// RX Fifo buffer is empty - RxFifoEmpty, - /// TX fifo buffer is full - TxFifoFull, + /// RX fifo empty error + RxFifoEmptyErr, + /// TX fifo buffer full error + TxFifoFullErr, } impl From> for Error { @@ -127,7 +127,7 @@ impl, CS: OutputPin, CLK: Clock> CanController for MCP2517, CS: OutputPin, CLK: Clock> CanController for MCP2517