diff options
author | patacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3> | 2012-06-18 14:45:34 +0000 |
---|---|---|
committer | patacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3> | 2012-06-18 14:45:34 +0000 |
commit | bfd033e8d48306e431481ba6d43fa36f2125f785 (patch) | |
tree | 14f0f20818529c9779cfebbf76828dc19231aac8 /nuttx/include | |
parent | 9c8afa0fd9e51de419fca55a158e01953839d68f (diff) | |
download | px4-nuttx-bfd033e8d48306e431481ba6d43fa36f2125f785.tar.gz px4-nuttx-bfd033e8d48306e431481ba6d43fa36f2125f785.tar.bz2 px4-nuttx-bfd033e8d48306e431481ba6d43fa36f2125f785.zip |
STM32 power management update
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4848 42af7a65-404d-4744-a932-0658087f49c3
Diffstat (limited to 'nuttx/include')
-rw-r--r-- | nuttx/include/nuttx/power/pm.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/nuttx/include/nuttx/power/pm.h b/nuttx/include/nuttx/power/pm.h index c75f5e691..86e23f090 100644 --- a/nuttx/include/nuttx/power/pm.h +++ b/nuttx/include/nuttx/power/pm.h @@ -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); }; /**************************************************************************** |