mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-10-17 03:43:35 +08:00
* Reverse the linked list of data_validator_group and maintain a first node for search from index 0 Fixes issue PX4/Firmware#8644 * fix code style * validator: fix shadowing of 'sibling' argument
This commit is contained in:
committed by
Paul Riseborough
parent
337cdcc59a
commit
d078d68f64
@@ -133,7 +133,8 @@ public:
|
||||
|
||||
|
||||
private:
|
||||
DataValidator *_first; /**< sibling in the group */
|
||||
DataValidator *_first; /**< first node in the group */
|
||||
DataValidator *_last; /**< last node in the group */
|
||||
uint32_t _timeout_interval_us; /**< currently set timeout */
|
||||
int _curr_best; /**< currently best index */
|
||||
int _prev_best; /**< the previous best index */
|
||||
|
||||
Reference in New Issue
Block a user