lightpower module

This commit is contained in:
2025-04-26 00:12:39 +02:00
parent 3572b15564
commit aec083bcef
20 changed files with 135629 additions and 12050 deletions

View File

@@ -308,6 +308,8 @@ fn ota(
let read = request.read(&mut buffer)?;
total_read += read;
let to_write = &buffer[0..read];
//delay for watchdog and wifi stuff
Delay::new_default().delay_ms(1);
let iter = (total_read / 1024) % 8;
if iter != lastiter {