From 8def275d12bca3a7ca0f1634c3b1bc454ea84bb3 Mon Sep 17 00:00:00 2001 From: Nick <53413353+nickpalladino@users.noreply.github.com> Date: Wed, 9 Oct 2024 22:02:05 -0400 Subject: [PATCH] change to not use bit 7 --- tcg_counter.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tcg_counter.c b/tcg_counter.c index cb08d4a..c021334 100644 --- a/tcg_counter.c +++ b/tcg_counter.c @@ -89,8 +89,8 @@ uint16_t __attribute__ ((noinline)) cmd_a3(){ uint16_t __attribute__ ((noinline)) cmd_set_port1_output(){ - // set all GPIOs to output direction - P1DIR |= 0xFF; + // set all GPIOs to output direction except bit 7 + P1DIR |= 0x7F; //Zero byte for success. RF13MTXF_L = 0;