mirror of
https://github.com/apache/nuttx.git
synced 2026-06-06 16:50:55 +08:00
esp32_idle.c: Change private function's name to start with esp32_
instead of up_. Signed-off-by: Abdelatif Guettouche <abdelatif.guettouche@espressif.com>
This commit is contained in:
committed by
Xiang Xiao
parent
8b0d45abef
commit
6262f7e99a
@@ -85,7 +85,7 @@
|
||||
****************************************************************************/
|
||||
|
||||
/****************************************************************************
|
||||
* Name: up_idlepm
|
||||
* Name: esp32_idlepm
|
||||
*
|
||||
* Description:
|
||||
* Perform IDLE state power management.
|
||||
@@ -93,7 +93,7 @@
|
||||
****************************************************************************/
|
||||
|
||||
#ifdef CONFIG_PM
|
||||
static void up_idlepm(void)
|
||||
static void esp32_idlepm(void)
|
||||
{
|
||||
irqstate_t flags;
|
||||
|
||||
@@ -232,7 +232,7 @@ static void up_idlepm(void)
|
||||
#endif
|
||||
}
|
||||
#else
|
||||
# define up_idlepm()
|
||||
# define esp32_idlepm()
|
||||
#endif
|
||||
|
||||
/****************************************************************************
|
||||
@@ -272,7 +272,7 @@ void up_idle(void)
|
||||
|
||||
/* Perform IDLE mode power management */
|
||||
|
||||
up_idlepm();
|
||||
esp32_idlepm();
|
||||
|
||||
#endif
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user