mirror of
https://github.com/apache/nuttx.git
synced 2026-06-12 06:03:10 +08:00
power/greedy: Call pm_auto_updatestate in timeout callback
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
This commit is contained in:
@@ -141,6 +141,7 @@ static enum pm_state_e greedy_governor_checkstate(int domain)
|
||||
|
||||
static void greedy_governor_timer_cb(wdparm_t arg)
|
||||
{
|
||||
pm_auto_updatestate((int)arg);
|
||||
}
|
||||
|
||||
/****************************************************************************
|
||||
|
||||
Reference in New Issue
Block a user