mirror of
https://github.com/PX4/PX4-Autopilot.git
synced 2026-05-31 18:47:21 +08:00
Jenkins re-enable clang-tidy and update .clang-tidy
- device/Device: fix explicit constructor and uninitialized fields - systemcmds/motor_test: update NULL to nullptr
This commit is contained in:
@@ -49,7 +49,12 @@ class WorkItem : public ListNode<WorkItem *>, public IntrusiveQueueNode<WorkItem
|
||||
{
|
||||
public:
|
||||
|
||||
inline void ScheduleNow() { if (_wq != nullptr) _wq->Add(this); }
|
||||
inline void ScheduleNow()
|
||||
{
|
||||
if (_wq != nullptr) {
|
||||
_wq->Add(this);
|
||||
}
|
||||
}
|
||||
|
||||
virtual void print_run_status() const;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user