overwrite if >256 is more clear

This commit is contained in:
Conor Patrick 2019-10-29 08:58:57 -04:00
parent bba3a30e3b
commit 68d9fe6fb7

View File

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