Skip to content

Commit

Permalink
qemu: do not idle power-off in qemu build
Browse files Browse the repository at this point in the history
  • Loading branch information
JamieDriver committed Jun 3, 2024
1 parent 4003a8b commit 7b339fb
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions main/idletimer.c
Original file line number Diff line number Diff line change
Expand Up @@ -146,8 +146,8 @@ static void idletimer_task(void* ignore)
continue;
}

#ifdef CONFIG_DEBUG_UNATTENDED_CI
// Don't reboot or power-off in unattended/ci build
#if defined(CONFIG_DEBUG_UNATTENDED_CI) || defined(CONFIG_ETH_USE_OPENETH)
// Don't reboot or power-off in unattended/ci build or in emulator
action = SCREEN_DIMMED;
#endif
}
Expand Down

0 comments on commit 7b339fb

Please sign in to comment.