wait_configured

Function wait_configured 

Source
pub async fn wait_configured()
Expand description

Complete once configure has run at least once.

The boot-time receiver-RTC read needs this. That read is gated on PROP_GNSS_TIME_TRUST, and policy answers with the post-reset default until the saved state has been restored — so a read that did not wait would trust a receiver on a device configured not to, exactly once per boot, which is the one time it matters.

Returns immediately once it has fired, however long ago.

Single-caller: the channel has one receiver slot, because the boot-time RTC read is the only thing that needs to wait for this.