Fix comment and add info for wizard.
[bertos.git] / bertos / kern / signal_test.c
index a0fc610b734d86cbdf3b4fb2d6c5af838e8b2ea4..ca63002b15c6c1ca4780a970a786f4c9bda6cfe2 100644 (file)
@@ -31,9 +31,9 @@
  * -->
  *
  * \brief Signals test.
- * 
+ *
  * \version $Id$
- * 
+ *
  * \author Daniele Basile <asterix@develer.com>
  */
 
@@ -56,7 +56,7 @@ int test_signal[] = {
        SIG_TIMEOUT,
        SIG_SYSTEM5,
        SIG_SYSTEM6,
-       SIG_SINGLE      
+       SIG_SINGLE
 };
 
 // Current signal to send
@@ -67,7 +67,7 @@ sigmask_t sig_to_slave;
 
 /*
  * These macros generate the code needed to create the test process functions.
- */ 
+ */
 #define PROC_TEST_SLAVE(index, signal) static void proc_test##index(void) \
 { \
        for(;;) \
@@ -143,13 +143,13 @@ int signal_testRun(void)
        MAIN_CHECK_SIGNAL(5, slave_5);
        MAIN_CHECK_SIGNAL(6, slave_6);
        MAIN_CHECK_SIGNAL(7, slave_7);
-       
+
        if(count == countof(test_signal))
        {
                kprintf("Signal test finished..ok!\n");
                return 0;
        }
-       
+
        kprintf("Signal test finished..fail!\n");
        return -1;
 }
@@ -167,7 +167,7 @@ int signal_testSetup(void)
        kprintf("Init Timer..");
        timer_init();
        kprintf("Done.\n");
-       
+
        kprintf("Init Process..");
        proc_init();
        kprintf("Done.\n");
@@ -180,4 +180,4 @@ int signal_testTearDown(void)
        return 0;
 }
 
-TEST_MAIN(signal);
\ No newline at end of file
+TEST_MAIN(signal);