From: fennecdjay Date: Wed, 25 Jan 2023 23:07:29 +0000 (+0100) Subject: :white_check_mark: fix gain example X-Git-Tag: nightly~206^2~12 X-Git-Url: http://10.10.0.4:5575/?a=commitdiff_plain;h=972adcabbd416eb2d570f5a5aae0c9cafb8c2877;p=gwion.git :white_check_mark: fix gain example --- diff --git a/examples/Gain.gw b/examples/Gain.gw index c01ef28a..099e9fb1 100644 --- a/examples/Gain.gw +++ b/examples/Gain.gw @@ -1,6 +1,6 @@ adc ~> var Gain g ~> dac; g.chan(0); -spork { while(true) { g.gain() == (.2 ? .2 : .1) => g.gain; .15::second => now; }}; +spork { while(true) { (g.gain() == .2 ? .2 : .1) => g.gain; .15::second => now; }}; for(var int i; i < 5; i++) { <<< g.op() >>>; i => g.op; diff --git a/plug b/plug index 8e142498..4059a991 160000 --- a/plug +++ b/plug @@ -1 +1 @@ -Subproject commit 8e142498f7a6dc4678f52b7844eca6a33a3f75be +Subproject commit 4059a991cd75a564db9bc54c140cbb4b915e3e8c