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:
parent
86846f8bb3
commit
e207f020d7
|
@ -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:
|
||||
|
|
Loading…
Reference in New Issue