rename deepsleep to deep_sleep_ms for clarity on expected duration

in main deep sleep was larger than required by a factor of 1000, fixed
this an renamed function to make expected duration count size obvious
from the name
This commit is contained in:
2026-05-05 22:02:46 +02:00
parent d9aa96a3cb
commit e15e78cc26
6 changed files with 11 additions and 11 deletions

View File

@@ -104,8 +104,8 @@ impl<'a> BoardInteraction<'a> for Initial<'a> {
bail!("Please configure board revision")
}
async fn deep_sleep(&mut self, duration_in_ms: u64) -> ! {
self.esp.deep_sleep(duration_in_ms);
async fn deep_sleep_ms(&mut self, duration_in_ms: u64) -> ! {
self.esp.deep_sleep_ms(duration_in_ms);
}
fn is_day(&self) -> bool {
false