Skip to content

Commit a73e28e

Browse files
committed
release RX and TX
1 parent 76efc71 commit a73e28e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/can.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -283,8 +283,8 @@ impl Can {
283283
return (transmitter, fifo0, fifo1);
284284
}
285285

286-
pub fn release(self) -> stm32::CAN {
287-
self.can
286+
pub fn release(self) -> (stm32::CAN, gpioa::PA11<AF9>, gpioa::PA12<AF9>) {
287+
(self.can, self._rx, self._tx)
288288
}
289289
}
290290

0 commit comments

Comments
 (0)