diff options
Diffstat (limited to 'samples/nanokernel/test/test_lifo/src/lifo.c')
-rw-r--r-- | samples/nanokernel/test/test_lifo/src/lifo.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/samples/nanokernel/test/test_lifo/src/lifo.c b/samples/nanokernel/test/test_lifo/src/lifo.c index 683289cd9..1a4919538 100644 --- a/samples/nanokernel/test/test_lifo/src/lifo.c +++ b/samples/nanokernel/test/test_lifo/src/lifo.c @@ -101,8 +101,8 @@ static volatile int fiberDetectedFailure = 0; /* non-zero on failure */ static char fiberStack[FIBER_STACKSIZE]; -static void (*_trigger_nano_isr_lifo_put) (void) = (vvfn)sw_isr_trigger_0; -static void (*_trigger_nano_isr_lifo_get) (void) = (vvfn)sw_isr_trigger_1; +static void (*_trigger_nano_isr_lifo_put)(void) = (vvfn)sw_isr_trigger_0; +static void (*_trigger_nano_isr_lifo_get)(void) = (vvfn)sw_isr_trigger_1; static struct nano_lifo multi_waiters; static struct nano_sem reply_multi_waiters; @@ -246,7 +246,7 @@ int fiberLifoNonWaitTest(void) TC_PRINT("Task to get LIFO items without waiting\n"); nano_fiber_lifo_put(&lifoChannel, &lifoItem[0]); nano_fiber_lifo_put(&lifoChannel, &lifoItem[1]); - nano_fiber_sem_give (&taskWaitSem); /* Wake the task (if blocked) */ + nano_fiber_sem_give(&taskWaitSem); /* Wake the task (if blocked) */ /* * Wait for the task to get the items and then trigger an ISR to populate @@ -464,7 +464,7 @@ void initNanoObjects(void) {&isrLifoInfo, &isrLifoInfo}, }; - (void)initIRQ (&i); + (void)initIRQ(&i); nano_lifo_init(&lifoChannel); /* Initialize the LIFO channel */ nano_sem_init(&taskWaitSem); /* Initialize the task waiting semaphore */ |