Fix clash with defmt

This commit is contained in:
Emil Fresk 2022-05-24 05:51:44 +02:00
parent 1a24c725d2
commit b15bda2d39
4 changed files with 12 additions and 6 deletions

View file

@ -66,7 +66,9 @@ impl Barrier {
}
pub fn wait(&self) {
while !self.inner.load(Ordering::Acquire) {}
while !self.inner.load(Ordering::Acquire) {
core::hint::spin_loop()
}
}
}