summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael J. Chudobiak <mjc@avtechpulse.com>2020-03-18 14:16:51 -0400
committerMichael J. Chudobiak <mjc@avtechpulse.com>2020-03-18 14:16:51 -0400
commit1524b849f77352910c1e2a7cbbbeec2957a47016 (patch)
treeca6d743331b84cf998f8179415c2122dac980fb3
parentdd67e1728c320d56da7ead0b6ccf9daf88381874 (diff)
add an "ALIVE" output, to switch on VCC2 in AVRQ (for example)
-rw-r--r--device-functions.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/device-functions.c b/device-functions.c
index d287e60..e286317 100644
--- a/device-functions.c
+++ b/device-functions.c
@@ -122,6 +122,9 @@ void Main_Rst (void)
{
int i;
+ // the "alive" output - used to enable VCC2 in AVRQ, for example
+ set_shiftreg_bits(SR_3, POS_15, ONE_BIT, BIT_HIGH);
+
globals.Flags.extended_ampl_min_max=NO;
// go backwards, so channel 0 overrides everything