projects
/
bertos.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Split loadBertosProject method to reuse most of the code for presets.
[bertos.git]
/
examples
/
at91sam7
/
at91sam7.c
diff --git
a/examples/at91sam7/at91sam7.c
b/examples/at91sam7/at91sam7.c
index 70e21f9c8554fb96b2ace01cd9bf6245af76d0a8..b8ef86c8b539c7238455ec3a68abc5d4a93c221a 100644
(file)
--- a/
examples/at91sam7/at91sam7.c
+++ b/
examples/at91sam7/at91sam7.c
@@
-50,6
+50,7
@@
#include <cfg/macros.h>
#include <kern/proc.h>
#include <cfg/macros.h>
#include <kern/proc.h>
+#include <kern/signal.h>
#include <cpu/detect.h>
#include <cpu/detect.h>
@@
-176,7
+177,13
@@
int main(void)
kfile_printf(&ser_fd.fd, "ProcTest..ok!\n");
else
kfile_printf(&ser_fd.fd, "ProcTest..FAIL!\n");
kfile_printf(&ser_fd.fd, "ProcTest..ok!\n");
else
kfile_printf(&ser_fd.fd, "ProcTest..FAIL!\n");
-
+ /*
+ * Run signal test.
+ */
+ if(!signal_testRun())
+ kfile_printf(&ser_fd.fd, "SignalTest..ok!\n");
+ else
+ kfile_printf(&ser_fd.fd, "SignalTest..FAIL!\n");
kputs(AT91SAM7_MSG);
kputs(AT91SAM7_MSG);