pico-feedback icon indicating copy to clipboard operation
pico-feedback copied to clipboard

RP2040 Datasheet: Wrong code example under Dormant section

Open TankMasterRL opened this issue 5 years ago • 2 comments

In the RP2040 datasheet (build-date: 2021-01-21, build-version: fcd04ef-clean) there is an incorrect code example for section "2.11.5.2. Dormant".

Instead of referring to https://github.com/raspberrypi/pico-extras/blob/master/src/rp2_common/pico_sleep/sleep.c#L134-L155 it refers to https://github.com/raspberrypi/pico-extras/blob/master/src/rp2_common/pico_sleep/sleep.c#L106-L122.

TankMasterRL avatar Jan 24 '21 19:01 TankMasterRL

@Wren6991 Can you take a look?

aallan avatar Jan 26 '21 17:01 aallan

Thanks for the report, looks like that section needs additional cleanup but I've just switched in the correct example as you say. Will appear in next docs release.

Wren6991 avatar Jan 27 '21 13:01 Wren6991