Skip to content

Commit fb6e130

Browse files
committed
Make EthernetDMA::interrupt_handler pub(crate) in favor of stm32_eth::eth_interrupt_handler
1 parent 7cb43c4 commit fb6e130

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/dma/mod.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -304,7 +304,7 @@ impl<'rx, 'tx> EthernetDMA<'rx, 'tx> {
304304
}
305305

306306
/// Handle the DMA parts of the `ETH` interrupt.
307-
pub fn interrupt_handler() -> InterruptReasonSummary {
307+
pub(crate) fn interrupt_handler() -> InterruptReasonSummary {
308308
// SAFETY: we only perform atomic reads/writes through `eth_dma`.
309309
let eth_dma = unsafe { &*ETHERNET_DMA::ptr() };
310310

0 commit comments

Comments
 (0)