astyle src/modules/uORB

This commit is contained in:
Daniel Agar
2017-01-29 01:18:32 +01:00
committed by Lorenz Meier
parent 88ad0fc3bd
commit ee8fa78d93
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -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;
} }
+1 -1
View File
@@ -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 */