mirror of
https://gitee.com/xiaohuolufeihua/bizhang_-obav.git
synced 2026-05-22 09:28:58 +00:00
uORB cleanup Subscription/Publication c++
This commit is contained in:
committed by
Lorenz Meier
parent
7223780563
commit
e63da5860e
@@ -911,8 +911,7 @@ void Logger::run()
|
||||
|
||||
/* Check if parameters have changed */
|
||||
// this needs to change to a timestamped record to record a history of parameter changes
|
||||
if (parameter_update_sub.check_updated()) {
|
||||
parameter_update_sub.update();
|
||||
if (parameter_update_sub.update()) {
|
||||
write_changed_parameters();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user