Skip to content

Commit 1a6e672

Browse files
committed
tests: benchmarks: multicore: idle_counter: align with test sequence
Interleave active and sleep states. Signed-off-by: Piotr Kosycarz <[email protected]>
1 parent 4f26ea9 commit 1a6e672

File tree

1 file changed

+1
-3
lines changed
  • tests/benchmarks/multicore/idle_counter/src

1 file changed

+1
-3
lines changed

tests/benchmarks/multicore/idle_counter/src/main.c

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -122,9 +122,7 @@ int main(void)
122122
start_time = start_timer(counter_dev);
123123
k_msleep(100);
124124
verify_timer(start_time);
125-
ret = gpio_pin_set_dt(&led, 1);
126-
__ASSERT(ret == 0, "Unable to turn on LED");
127-
k_msleep(100);
125+
k_busy_wait(100000);
128126
}
129127

130128
return 0;

0 commit comments

Comments
 (0)