mirror of
https://gitee.com/xiaohuolufeihua/bizhang_-obav.git
synced 2026-05-21 01:12:11 +00:00
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:
@@ -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
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user