From 260ee7d3666f49f06e045cb45c647746522210c3 Mon Sep 17 00:00:00 2001 From: Angus Gratton Date: Thu, 5 Sep 2024 18:24:27 +1000 Subject: [PATCH] Tx: make abort() function public. Equivalent function in FdCan is already public. --- src/lib.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/lib.rs b/src/lib.rs index 839088b..aa068c4 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -1386,7 +1386,7 @@ where /// If there is a frame in the provided mailbox, and it is canceled successfully, this function /// returns `true`. #[inline] - fn abort(&mut self, idx: Mailbox) -> bool { + pub fn abort(&mut self, idx: Mailbox) -> bool { let can = self.registers(); // Check if there is a request pending to abort