From: marshmellow42 Date: Sun, 14 Jun 2015 15:11:00 +0000 (-0400) Subject: add comment X-Git-Tag: v2.1.0~3^2 X-Git-Url: https://git.zerfleddert.de/cgi-bin/gitweb.cgi/proxmark3-svn/commitdiff_plain/fd227f4e7d7967ce06a2ef90828aa13159a80d98?ds=inline;hp=--cc add comment --- fd227f4e7d7967ce06a2ef90828aa13159a80d98 diff --git a/client/cmddata.c b/client/cmddata.c index 77959cf3..309044e1 100644 --- a/client/cmddata.c +++ b/client/cmddata.c @@ -503,6 +503,7 @@ int ASKbiphaseDemod(const char *Cmd, bool verbose) uint8_t BitStream[MAX_DEMOD_BUF_LEN]; size_t size = getFromGraphBuf(BitStream); + //invert here inverts the ask raw demoded bits which has no effect on the demod, but we need the pointer int errCnt = askdemod(BitStream, &size, &clk, &invert, maxErr, 0, 0); if ( errCnt < 0 || errCnt > maxErr ) { if (g_debugMode) PrintAndLog("DEBUG: no data or error found %d, clock: %d", errCnt, clk);