overwrite if >256 is more clear

This commit is contained in:
Conor Patrick 2019-10-29 08:58:57 -04:00
parent 349cbc39f2
commit 094420b32b

View File

@ -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;