overwrite if >256 is more clear
This commit is contained in:
parent
bba3a30e3b
commit
68d9fe6fb7
@ -560,7 +560,7 @@ uint32_t ctap_atomic_count(uint32_t amount)
|
|||||||
return lastc;
|
return lastc;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (amount > lastc){
|
if (amount > 256){
|
||||||
lastc = amount;
|
lastc = amount;
|
||||||
} else {
|
} else {
|
||||||
lastc += amount;
|
lastc += amount;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user