Revert "soc: st: warn if running with debug on sleep enabled"

This reverts commit b33b3b17f7, turns out
it's causing issues in CI all over the place, the condition needs more
thinking.

Signed-off-by: Fabio Baltieri <fabiobaltieri@google.com>
This commit is contained in:
Fabio Baltieri 2024-12-22 16:22:25 +00:00 committed by Fabio Baltieri
commit d532d58316

View file

@ -16,15 +16,6 @@
#include <stm32_ll_bus.h>
#include <stm32_ll_pwr.h>
#if CONFIG_PM
#if !defined(CONFIG_DEBUG) && defined(CONFIG_STM32_ENABLE_DEBUG_SLEEP_STOP)
#warning "Running with PM=y and STM32_ENABLE_DEBUG_SLEEP_STOP=y, \
this will result in increased power consumption during sleep."
#endif
#endif /* CONFIG_PM */
/**
* @brief Perform SoC configuration at boot.
*