From e207f020d7b94df364976efc15ec25d82387997e Mon Sep 17 00:00:00 2001 From: Gregory Nutt Date: Mon, 4 Nov 2019 18:28:01 -0600 Subject: [PATCH] boards/boardctl.c: pm_stay() was used were pm_staycount() was intended. The caused an error: void value not ignored as it ought to be. --- boards/boardctl.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/boards/boardctl.c b/boards/boardctl.c index f6427c56a8..9146b644d3 100644 --- a/boards/boardctl.c +++ b/boards/boardctl.c @@ -269,7 +269,7 @@ static inline int boardctl_pmctrl(FAR struct boardioc_pm_ctrl_s *ctrl) break; case BOARDIOC_PM_STAYCOUNT: - ctrl->count = pm_stay(ctrl->domain, ctrl->state); + ctrl->count = pm_staycount(ctrl->domain, ctrl->state); break; case BOARDIOC_PM_QUERYSTATE: