samples: stm32 power mngt enters low power
Remove this line because the pm_device_busy_set function will prevent the system to enter low power. This sample application wants to. Signed-off-by: Francois Ramu <francois.ramu@st.com>
This commit is contained in:
parent
c56851a5cb
commit
1fa0828d22
1 changed files with 0 additions and 3 deletions
|
@ -23,9 +23,6 @@ void main(void)
|
|||
|
||||
printk("Device ready\n");
|
||||
|
||||
/* Don't let the system power off / low power this device */
|
||||
pm_device_busy_set(led.port);
|
||||
|
||||
while (true) {
|
||||
gpio_pin_configure_dt(&led, GPIO_OUTPUT_ACTIVE);
|
||||
gpio_pin_set(led.port, led.pin, (int)led_is_on);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue