function needs to be pub(crate)

This commit is contained in:
Michael Medin 2025-04-28 09:21:21 +02:00
parent 74cb84eb4e
commit 1d578f5a7e

View File

@ -384,7 +384,7 @@ pub fn reinit(config: Config) {
critical_section::with(|cs| init_rcc(cs, config))
}
fn init_rcc(_cs: CriticalSection, config: Config) {
pub(crate) fn init_rcc(_cs: CriticalSection, config: Config) {
unsafe {
init(config);