From 972adcabbd416eb2d570f5a5aae0c9cafb8c2877 Mon Sep 17 00:00:00 2001 From: fennecdjay Date: Thu, 26 Jan 2023 00:07:29 +0100 Subject: [PATCH] :white_check_mark: fix gain example --- examples/Gain.gw | 2 +- plug | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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 -- 2.43.0