summaryrefslogtreecommitdiff
path: root/apps
diff options
context:
space:
mode:
Diffstat (limited to 'apps')
-rw-r--r--apps/main.c13
1 files changed, 13 insertions, 0 deletions
diff --git a/apps/main.c b/apps/main.c
index 8ee6adfe4f..f8c3604f6b 100644
--- a/apps/main.c
+++ b/apps/main.c
@@ -451,6 +451,19 @@ void init(void)
451#endif 451#endif
452} 452}
453 453
454void cop_main(void)
455{
456/* This is the entry point for the coprocessor
457 Anyone not running an upgraded bootloader will never reach this point,
458 so it should not be assumed that the coprocessor be usable even on
459 platforms which support it.
460
461 At present all we do is send the COP to sleep if anything wakes it. */
462 while(1) {
463 COP_CTL = PROC_SLEEP;
464 }
465}
466
454int main(void) 467int main(void)
455{ 468{
456 app_main(); 469 app_main();