mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-10-18 10:13:34 +08:00
STM32 power management update
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@4848 7fd9a85b-ad96-42d3-883c-3090e2eb8679
This commit is contained in:
@@ -307,10 +307,12 @@ struct pm_callback_s
|
||||
* Returned Value:
|
||||
* None. The driver already agreed to transition to the low power
|
||||
* consumption state when when it returned OK to the prepare() call.
|
||||
* At that time it should have made all preprations necessary to enter
|
||||
* the new state. Now the driver must make the state transition.
|
||||
*
|
||||
**************************************************************************/
|
||||
|
||||
int (*notify)(FAR struct pm_callback_s *cb, enum pm_state_e pmstate);
|
||||
void (*notify)(FAR struct pm_callback_s *cb, enum pm_state_e pmstate);
|
||||
};
|
||||
|
||||
/****************************************************************************
|
||||
|
||||
Reference in New Issue
Block a user