RP2040 Enter uf2 DFU mode (#3062)

* Pico enter dfu mode

* Ungaurd pico
This commit is contained in:
Ben Meadors
2024-01-06 14:39:27 -06:00
committed by GitHub
parent bacc525d0a
commit 674fd32349
2 changed files with 6 additions and 1 deletions

View File

@@ -35,4 +35,9 @@ void rp2040Setup()
Taken from CPU cycle counter and ROSC oscillator, so should be pretty random.
*/
randomSeed(rp2040.hwrand32());
}
void enterDfuMode()
{
reset_usb_boot(0, 0);
}