From 39611e3d68fd067229797b9e18be57f3bbc9f3b2 Mon Sep 17 00:00:00 2001 From: marshmellow42 Date: Mon, 29 Feb 2016 18:05:47 -0500 Subject: [PATCH] fix ask/Biphase sim bug --- armsrc/lfops.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/armsrc/lfops.c b/armsrc/lfops.c index c8924007..610781d2 100644 --- a/armsrc/lfops.c +++ b/armsrc/lfops.c @@ -642,6 +642,7 @@ static void biphaseSimBit(uint8_t c, int *n, uint8_t clock, uint8_t *phase) memset(dest+(*n), c ^ *phase, clock); *phase ^= 1; } + *n += clock; } // args clock, ask/man or askraw, invert, transmission separator @@ -659,7 +660,7 @@ void CmdASKsimTag(uint16_t arg1, uint16_t arg2, size_t size, uint8_t *BitStream) for (i=0; i