From b9c89c0e7fab5789f0658befd6bee1f8478f90b5 Mon Sep 17 00:00:00 2001 From: Ioannis Glaropoulos Date: Fri, 20 Mar 2020 21:12:54 +0100 Subject: [PATCH] tests: kernel: context: minor style and indentation fixes Fix some minor style and indentation issues in tests/kernel/context/src/main.c. Signed-off-by: Ioannis Glaropoulos --- tests/kernel/context/src/main.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/tests/kernel/context/src/main.c b/tests/kernel/context/src/main.c index cd0b586a5a0..81303b16d10 100644 --- a/tests/kernel/context/src/main.c +++ b/tests/kernel/context/src/main.c @@ -267,8 +267,8 @@ static void _test_kernel_cpu_idle(int atomic) #else /* CONFIG_TICKLESS_KERNEL */ static void _test_kernel_cpu_idle(int atomic) { - int tms, tms2;; /* current time in millisecond */ - int i; /* loop variable */ + int tms, tms2; + int i; /* Align to a "ms boundary". */ tms = k_uptime_get_32(); @@ -279,7 +279,7 @@ static void _test_kernel_cpu_idle(int atomic) } tms = k_uptime_get_32(); - for (i = 0; i < 5; i++) { /* Repeat the test five times */ + for (i = 0; i < 5; i++) { /* Repeat the test five times */ if (atomic) { unsigned int key = irq_lock();