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.

This commit is contained in:
Gregory Nutt 2019-11-04 18:28:01 -06:00
parent 86846f8bb3
commit e207f020d7
1 changed files with 1 additions and 1 deletions

View File

@ -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: