summaryrefslogtreecommitdiff
path: root/nuttx/drivers/power
diff options
context:
space:
mode:
authorpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2012-06-18 14:45:34 +0000
committerpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2012-06-18 14:45:34 +0000
commitbfd033e8d48306e431481ba6d43fa36f2125f785 (patch)
tree14f0f20818529c9779cfebbf76828dc19231aac8 /nuttx/drivers/power
parent9c8afa0fd9e51de419fca55a158e01953839d68f (diff)
downloadpx4-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/drivers/power')
-rw-r--r--nuttx/drivers/power/pm_activity.c2
-rw-r--r--nuttx/drivers/power/pm_internal.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/nuttx/drivers/power/pm_activity.c b/nuttx/drivers/power/pm_activity.c
index 8cef46684..f52fc93ff 100644
--- a/nuttx/drivers/power/pm_activity.c
+++ b/nuttx/drivers/power/pm_activity.c
@@ -80,7 +80,7 @@
*
* Description:
* This function is called by a device driver to indicate that it is
- * performing meaningful activities (non-idle). This increment an activty
+ * performing meaningful activities (non-idle). This increments an activity
* count and/or will restart a idle timer and prevent entering reduced
* power states.
*
diff --git a/nuttx/drivers/power/pm_internal.h b/nuttx/drivers/power/pm_internal.h
index 0ae4722da..f98624f15 100644
--- a/nuttx/drivers/power/pm_internal.h
+++ b/nuttx/drivers/power/pm_internal.h
@@ -103,7 +103,7 @@ struct pm_global_s
* pm_changestate()
* recommended - The recommended state based on the PM algorithm in
* function pm_update().
- * mndex - The index to the next slot in the memory[] arry to use.
+ * mndex - The index to the next slot in the memory[] array to use.
* mcnt - A tiny counter used only at start up. The actual
* algorithm cannot be applied until CONFIG_PM_MEMORY
* samples have been collected.