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