From 58d8fa0e3b98660d906dc6b59a67272e752de656 Mon Sep 17 00:00:00 2001 From: iceman1001 Date: Tue, 27 Apr 2021 19:16:21 +0200 Subject: [PATCH] style --- common/lfdemod.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/common/lfdemod.c b/common/lfdemod.c index 7972e8788..3c32834f6 100644 --- a/common/lfdemod.c +++ b/common/lfdemod.c @@ -481,8 +481,8 @@ void askAmp(uint8_t *bits, size_t size) { uint32_t manchesterEncode2Bytes(uint16_t datain) { uint32_t output = 0; for (uint8_t i = 0; i < 16; i++) { - uint8_t curBit = (datain >> (15 - i) & 1); - output |= (1 << (((15 - i) * 2) + curBit)); + uint8_t b = (datain >> (15 - i) & 1); + output |= (1 << (((15 - i) * 2) + b)); } return output; }