PicoSleepDemo icon indicating copy to clipboard operation
PicoSleepDemo copied to clipboard

SDK 2.0 support

Open gregyedlik opened this issue 1 year ago • 1 comments

Removed calling clock_init() because that function is no longer exposed in Pico SDK 2.0. Also, commented measured current at different points in the execution

gregyedlik avatar Sep 13 '24 22:09 gregyedlik

Just removing clocks_init() was not really fair game, because while it did get the code to run, it did not run as originally intended. Now, with the runtime_init_clocks(), it works as original!

gregyedlik avatar Sep 17 '24 15:09 gregyedlik