From 094420b32ba859872beb265fd2076a4a56e09fec Mon Sep 17 00:00:00 2001 From: Conor Patrick Date: Tue, 29 Oct 2019 08:58:57 -0400 Subject: [PATCH] overwrite if >256 is more clear --- targets/stm32l432/src/device.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/targets/stm32l432/src/device.c b/targets/stm32l432/src/device.c index 4073fe7..b15bbd6 100644 --- a/targets/stm32l432/src/device.c +++ b/targets/stm32l432/src/device.c @@ -577,7 +577,7 @@ uint32_t ctap_atomic_count(uint32_t amount) return lastc; } - if (amount > lastc){ + if (amount > 256){ lastc = amount; } else { lastc += amount;