Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit ef922e60 authored by Daniel Jacob Chittoor's avatar Daniel Jacob Chittoor Committed by Jackeagle
Browse files

Log flash cooldown delay for debugging

parent c5e8af8f
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -172,6 +172,7 @@ export class Controller {
          },
        );
        // Small delay between flash operations to prevent overwhelming the device
        WDebug.log(`Flash cooldown: waiting ${FLASH_COOLDOWN_MS}ms before next operation`);
        await new Promise((resolve) => setTimeout(resolve, FLASH_COOLDOWN_MS));
        return result;
      }