summaryrefslogtreecommitdiff
path: root/nuttx/drivers/power/pm_update.c
diff options
context:
space:
mode:
Diffstat (limited to 'nuttx/drivers/power/pm_update.c')
-rw-r--r--nuttx/drivers/power/pm_update.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/nuttx/drivers/power/pm_update.c b/nuttx/drivers/power/pm_update.c
index ae5e1f840..4b6b58c55 100644
--- a/nuttx/drivers/power/pm_update.c
+++ b/nuttx/drivers/power/pm_update.c
@@ -328,7 +328,7 @@ void pm_update(int16_t accum)
/* The work will be performed on the worker thread */
DEBUGASSERT(g_pmglobals.work.worker == NULL);
- (void)work_queue(&g_pmglobals.work, pm_worker, (FAR void*)((intptr_t)accum), 0);
+ (void)work_queue(HPWORK, &g_pmglobals.work, pm_worker, (FAR void*)((intptr_t)accum), 0);
}
-#endif /* CONFIG_PM */ \ No newline at end of file
+#endif /* CONFIG_PM */