summaryrefslogtreecommitdiff
path: root/bsp
diff options
context:
space:
mode:
authorEvalZero <[email protected]>2019-05-07 21:03:48 +0800
committerEvalZero <[email protected]>2019-05-07 21:03:48 +0800
commitd51e0783babc4ffa7286e8dadceb2b2be2129b33 (patch)
treef00a127e373d4478458629d33b411ff5531230dd /bsp
parent623ddc62b2df57b94674d1a46bfa3ff58593bbcb (diff)
[components][pm]fix some issues with low power components
Diffstat (limited to 'bsp')
-rw-r--r--bsp/es32f0334/drivers/drv_pm.c1
-rw-r--r--bsp/es32f0654/drivers/drv_pm.c1
-rw-r--r--bsp/stm32/libraries/HAL_Drivers/drv_lptim.c2
-rw-r--r--bsp/stm32/libraries/HAL_Drivers/drv_lptim.h2
-rw-r--r--bsp/stm32/libraries/HAL_Drivers/drv_pm.c5
5 files changed, 6 insertions, 5 deletions
diff --git a/bsp/es32f0334/drivers/drv_pm.c b/bsp/es32f0334/drivers/drv_pm.c
index 1841ce2050..22f2c43073 100644
--- a/bsp/es32f0334/drivers/drv_pm.c
+++ b/bsp/es32f0334/drivers/drv_pm.c
@@ -6,6 +6,7 @@
* Change Logs:
* Date Author Notes
* 2019-04-08 wangyq the first version
+ * 2019-05-06 Zero-Free adapt to the new power management interface
*/
#include <rthw.h>
diff --git a/bsp/es32f0654/drivers/drv_pm.c b/bsp/es32f0654/drivers/drv_pm.c
index 926ffc05c0..aa2f07ec68 100644
--- a/bsp/es32f0654/drivers/drv_pm.c
+++ b/bsp/es32f0654/drivers/drv_pm.c
@@ -6,6 +6,7 @@
* Change Logs:
* Date Author Notes
* 2019-04-01 wangyq the first version
+ * 2019-05-06 Zero-Free adapt to the new power management interface
*/
#include <rthw.h>
diff --git a/bsp/stm32/libraries/HAL_Drivers/drv_lptim.c b/bsp/stm32/libraries/HAL_Drivers/drv_lptim.c
index 2360cdad78..64e602fa52 100644
--- a/bsp/stm32/libraries/HAL_Drivers/drv_lptim.c
+++ b/bsp/stm32/libraries/HAL_Drivers/drv_lptim.c
@@ -5,7 +5,7 @@
*
* Change Logs:
* Date Author Notes
- * 2017-08-01 tanek the first version
+ * 2019-05-06 Zero-Free first version
*/
#include <board.h>
diff --git a/bsp/stm32/libraries/HAL_Drivers/drv_lptim.h b/bsp/stm32/libraries/HAL_Drivers/drv_lptim.h
index 32853c9e73..0fd51b5eac 100644
--- a/bsp/stm32/libraries/HAL_Drivers/drv_lptim.h
+++ b/bsp/stm32/libraries/HAL_Drivers/drv_lptim.h
@@ -5,7 +5,7 @@
*
* Change Logs:
* Date Author Notes
- * 2012-08-21 heyuanjie87 the first version
+ * 2019-05-06 Zero-Free first version
*/
#ifndef __DRV_PMTIMER_H__
diff --git a/bsp/stm32/libraries/HAL_Drivers/drv_pm.c b/bsp/stm32/libraries/HAL_Drivers/drv_pm.c
index 66f00b3e02..84ddf6cd41 100644
--- a/bsp/stm32/libraries/HAL_Drivers/drv_pm.c
+++ b/bsp/stm32/libraries/HAL_Drivers/drv_pm.c
@@ -5,8 +5,7 @@
*
* Change Logs:
* Date Author Notes
- * 2018-07-31 tanek first version
- * 2018-05-05 Zero-Free adapt to the new power management interface
+ * 2019-05-06 Zero-Free first version
*/
#include <board.h>
@@ -79,7 +78,7 @@ static uint8_t run_speed[PM_RUN_MODE_MAX][2] =
{2, 3},
};
-static void run(struct rt_pm *pm, uint8_t mode, uint32_t frequency)
+static void run(struct rt_pm *pm, uint8_t mode)
{
static uint8_t last_mode;
static char *run_str[] = PM_RUN_MODE_NAMES;