From 0a978d8f8c1eb001843be578376923965b09f252 Mon Sep 17 00:00:00 2001 From: iceman1001 Date: Sat, 19 Oct 2019 16:31:10 -0400 Subject: [PATCH] fix: clarity --- armsrc/thinfilm.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/armsrc/thinfilm.c b/armsrc/thinfilm.c index bd8e696fb..46fa5a920 100644 --- a/armsrc/thinfilm.c +++ b/armsrc/thinfilm.c @@ -63,7 +63,7 @@ static void CodeThinfilmAsTag(const uint8_t *cmd, uint16_t len) { for (uint16_t i = 0; i < len; i++) { uint8_t b = cmd[i]; for (uint8_t j = 0; j < 8; j++) { - ToSend[++ToSendMax] = b & 0x80 ? SEC_D : SEC_E; + ToSend[++ToSendMax] = (b & 0x80) ? SEC_D : SEC_E; b <<= 1; } }