diff --git a/libs/bao1x-api/src/bio.rs b/libs/bao1x-api/src/bio.rs index 01234d36e..553633cba 100644 --- a/libs/bao1x-api/src/bio.rs +++ b/libs/bao1x-api/src/bio.rs @@ -52,8 +52,8 @@ pub trait BioApi<'a> { fn update_bio_freq(&mut self, freq: u32) -> u32; /// Called before frequency changes to activate any application-specific callbacks - /// to avoid glitches. - fn prep_freq_change(&mut self); + /// to avoid glitches. `into_wfi` specifies if we're about to enter a WFI state. + fn prep_freq_change(&mut self, into_wfi: bool); /// Returns the frequency, in Hz, of the incoming clock to the BIO cores. fn get_bio_freq(&self) -> u32;