aboutsummaryrefslogtreecommitdiff
path: root/Carpet/LoopControl/schedule.ccl
diff options
context:
space:
mode:
authorThomas Radke <tradke@damiana.damiana.admin>2008-09-09 13:35:37 +0200
committerThomas Radke <tradke@damiana.damiana.admin>2008-09-09 13:35:37 +0200
commite73ecc295bc6be5b8c4d409b0b3beb8e6a8e3401 (patch)
treef70f712045a7462252547fd3464bc84b8b9cc8b0 /Carpet/LoopControl/schedule.ccl
parente2da558d800ac4d0340be15b3f55da66f03a37cc (diff)
Turn the stand-alone WaveToy example application into a LoopControl routine
(scheduled at STARTUP) which can be triggered via LoopControl::run_demo = "yes" and controled with LoopControl::n{xyz} and LoopControl:nsteps.
Diffstat (limited to 'Carpet/LoopControl/schedule.ccl')
-rw-r--r--Carpet/LoopControl/schedule.ccl8
1 files changed, 8 insertions, 0 deletions
diff --git a/Carpet/LoopControl/schedule.ccl b/Carpet/LoopControl/schedule.ccl
index fc14c7b0d..1a7c28d10 100644
--- a/Carpet/LoopControl/schedule.ccl
+++ b/Carpet/LoopControl/schedule.ccl
@@ -6,3 +6,11 @@ if (printstats) {
LANG: C
} "Output loop control statistics"
}
+
+if (run_demo)
+{
+ SCHEDULE lc_demo AT startup
+ {
+ LANG:C
+ } "Run embedded wavetoy as a LoopControl demo application"
+}