mirror of
https://github.com/Fishwaldo/bl_mcu_sdk.git
synced 2025-07-22 20:59:03 +00:00
[feat][pm] add pm util for pds31 that ble needs
This commit is contained in:
parent
28de956075
commit
e3449aabde
5 changed files with 435 additions and 51 deletions
|
@ -123,7 +123,7 @@ int hbn_run_in_wakeup_addr(int argc, char *argv[])
|
|||
/*cpu will wakeup when you set gpio9-gpio12 with GPIO_FUN_WAKEUP
|
||||
* rtc can not wakeup level2
|
||||
**/
|
||||
pm_hbn_set_wakeup_callback(led_blink); /*cpu will run in wakeup callback not reset when it awakes*/
|
||||
pm_set_wakeup_callback(led_blink); /*cpu will run in wakeup callback not reset when it awakes*/
|
||||
pm_hbn_mode_enter(PM_HBN_LEVEL_0, 0);
|
||||
|
||||
return 0;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue