`defmt`: Rm unstable-test-duplicate of `fn flush`.
@@ -372,8 +372,6 @@ fn default_panic() -> ! {
///
/// This calls the method `flush` of the used "global [`Logger`]". The logger is likely provided by
/// [`defmt-rtt`](https://crates.io/crates/defmt-rtt) or [`defmt-itm`](https://crates.io/crates/defmt-itm).
-#[cfg(not(feature = "unstable-test"))]
-#[inline(never)]
pub fn flush() {
extern "Rust" {
fn _defmt_acquire();
@@ -391,6 +389,3 @@ pub fn flush() {
_defmt_release()
}
}
-
-#[cfg(feature = "unstable-test")]
-pub fn flush() {}
