diff --git a/tests/periph_pm/main.c b/tests/periph_pm/main.c index a169b6f2d4c7..e298c4587a33 100644 --- a/tests/periph_pm/main.c +++ b/tests/periph_pm/main.c @@ -152,10 +152,14 @@ static int cmd_set(int argc, char **argv) return 1; } - printf("CPU will enter power mode %d.\n", mode); + printf("CPU is entering power mode %d.\n", mode); + printf("Now waiting for a wakeup event...\n"); fflush(stdout); pm_set(mode); + /* execution stops here until anything (like shell input) wakes the CPU */ + + printf("CPU has returned from power mode %d.\n", mode); return 0; }