You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Starting with a fresh (template-generated) project, and adding embassy-time = { version = "0.1.5", features = ["generic-queue"] } to my dependencies,
and with the following code:
use esp_idf_svc::hal::task::block_on;
use embassy_time::{Duration, Timer};
fn main() {
esp_idf_svc::sys::link_patches();
esp_idf_svc::log::EspLogger::initialize_default();
block_on(async {
for _ in 0..10 {
log::info!("tick");
Timer::after(Duration::from_secs(1)).await;
}
});
}
I get the output:
I (571) esp_idf_embassy_time: tick
I (2151) esp_idf_embassy_time: tick
I (5311) esp_idf_embassy_time: tick
I (11621) esp_idf_embassy_time: tick
I (24251) esp_idf_embassy_time: tick
I (49501) esp_idf_embassy_time: tick
I (100011) esp_idf_embassy_time: tick
which is very inaccurate.
The same code produces better results when using the esp-idf-svc/embassy-time-isr-queue feature and removing the embassy-time/generic-queue feature
The text was updated successfully, but these errors were encountered:
Starting with a fresh (template-generated) project, and adding
embassy-time = { version = "0.1.5", features = ["generic-queue"] }
to my dependencies,and with the following code:
I get the output:
which is very inaccurate.
The same code produces better results when using the
esp-idf-svc/embassy-time-isr-queue
feature and removing theembassy-time/generic-queue
featureThe text was updated successfully, but these errors were encountered: