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 <Ioannis.Glaropoulos@nordicsemi.no>
This commit is contained in:
parent
703e8444af
commit
b9c89c0e7f
1 changed files with 3 additions and 3 deletions
|
@ -267,8 +267,8 @@ static void _test_kernel_cpu_idle(int atomic)
|
||||||
#else /* CONFIG_TICKLESS_KERNEL */
|
#else /* CONFIG_TICKLESS_KERNEL */
|
||||||
static void _test_kernel_cpu_idle(int atomic)
|
static void _test_kernel_cpu_idle(int atomic)
|
||||||
{
|
{
|
||||||
int tms, tms2;; /* current time in millisecond */
|
int tms, tms2;
|
||||||
int i; /* loop variable */
|
int i;
|
||||||
|
|
||||||
/* Align to a "ms boundary". */
|
/* Align to a "ms boundary". */
|
||||||
tms = k_uptime_get_32();
|
tms = k_uptime_get_32();
|
||||||
|
@ -279,7 +279,7 @@ static void _test_kernel_cpu_idle(int atomic)
|
||||||
}
|
}
|
||||||
|
|
||||||
tms = k_uptime_get_32();
|
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) {
|
if (atomic) {
|
||||||
unsigned int key = irq_lock();
|
unsigned int key = irq_lock();
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue