remove atomic counter from bootloader to save space

This commit is contained in:
Conor Patrick
2019-10-08 14:26:33 -04:00
parent 9158453830
commit 9ecfda02c5
2 changed files with 9 additions and 1 deletions

View File

@ -316,3 +316,10 @@ void bootloader_heartbeat()
led_rgb(((val * g)<<8) | ((val*r) << 16) | (val*b));
}
uint32_t ctap_atomic_count(uint32_t amount)
{
static uint32_t count = 1000;
count += (amount + 1);
return count;
}