jerabaul29 / OpenMetBuoy-v2021a

An easy to build, affordable, customizable, open source instrument for oceanographic measurements - with global Iridium coverage
MIT License
37 stars 7 forks source link

wrap volatile IRC-modified variable access and reads in critical section #3

Closed jerabaul29 closed 2 years ago

jerabaul29 commented 2 years ago

Wrap in critical section to avoid concurrency issues.

jerabaul29 commented 2 years ago

(do it with interrupts / noInterrupts arduino commands).

jerabaul29 commented 2 years ago

Fixed.