atlflight/eagle: minor fixes to get it running again

- fixed df_ltc2946_wrapper battery dependency
 - fixed px4::atomic fetch_add for QuRT
 - updated PX4 QuRT SPI wrapper to set bus frequency
 - renamed "qurt-default" configs to just "qurt"
This commit is contained in:
Daniel Agar
2020-01-09 18:09:06 -05:00
committed by GitHub
parent e3de7e62ea
commit 23e17aec42
13 changed files with 73 additions and 24 deletions

View File

@@ -105,7 +105,12 @@ public:
*/
inline T fetch_add(T num)
{
#ifdef __PX4_QURT
// TODO: fix
return _value++;
#else
return __atomic_fetch_add(&_value, num, __ATOMIC_SEQ_CST);
#endif
}
/**