mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-04-14 10:07:39 +08:00
astyle src/modules/uORB
This commit is contained in:
parent
88ad0fc3bd
commit
ee8fa78d93
@ -358,7 +358,7 @@ uORB::DeviceNode::ioctl(device::file_t *filp, int cmd, unsigned long arg)
|
||||
|
||||
if (arg == 0) {
|
||||
if (sd->update_interval) {
|
||||
delete(sd->update_interval);
|
||||
delete (sd->update_interval);
|
||||
sd->update_interval = nullptr;
|
||||
}
|
||||
|
||||
|
||||
@ -207,7 +207,7 @@ private:
|
||||
#endif
|
||||
};
|
||||
struct SubscriberData {
|
||||
~SubscriberData() { if (update_interval) { delete(update_interval); } }
|
||||
~SubscriberData() { if (update_interval) { delete (update_interval); } }
|
||||
|
||||
unsigned generation; /**< last generation the subscriber has seen */
|
||||
int flags; /**< lowest 8 bits: priority of publisher, 9. bit: update_reported bit */
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user