From 68d9fe6fb7f4f53dd0e75c6808276b731fe37eb6 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 3cc4551..532736b 100644 --- a/targets/stm32l432/src/device.c +++ b/targets/stm32l432/src/device.c @@ -560,7 +560,7 @@ uint32_t ctap_atomic_count(uint32_t amount) return lastc; } - if (amount > lastc){ + if (amount > 256){ lastc = amount; } else { lastc += amount;