armsrc: clarify static vars vs global vars, part 3

This commit is contained in:
Philippe Teuwen 2020-05-19 17:43:13 +02:00
commit cb8d589fc4
16 changed files with 25 additions and 32 deletions

View file

@ -12,7 +12,7 @@
// b is 8bit lsfr
// c keeps track on which step the prng is.
// legic_prng_get_bit() = gets a bit muxed from a and b.
struct lfsr {
static struct lfsr {
uint8_t a;
uint8_t b;
uint32_t c;