Files
espurna/code
Maxim Prokhorov 8252f2ae18 sns: explicitly load before storing new counter value
resolve #2368

- Fixes "undefined reference to `__atomic_fetch_add_4'"
  Notably, std::atomic_fetch_add(&counter, 1) would also trigger this.
  std::atomic<T>::operator+= does not allow in-place change, since it
  returns T instead of T&
- Another work reduction in the isr, treat 'value' as `counter > 0`
  instead of relying on the notion that we can sometimes read the value
  with very low counter frequency
- Fix duplicated initializations
2020-09-26 10:56:08 +03:00
..
2019-07-11 00:34:17 +03:00
2019-07-11 00:34:17 +03:00
2018-12-09 21:11:12 +01:00
2018-12-09 00:03:55 +03:00
2019-07-11 00:34:17 +03:00