Browse Source

More formatting fixes

sbg
Lorenz Meier 10 years ago
parent
commit
16f33ee6b5
  1. 18
      src/drivers/px4flow/px4flow.cpp

18
src/drivers/px4flow/px4flow.cpp

@ -568,7 +568,7 @@ PX4FLOW::start()
_reports->flush(); _reports->flush();
/* schedule a cycle to start things */ /* schedule a cycle to start things */
work_queue(HPWORK, &_work, (worker_t) & PX4FLOW::cycle_trampoline, this, 1); work_queue(HPWORK, &_work, (worker_t)&PX4FLOW::cycle_trampoline, this, 1);
/* notify about state change */ /* notify about state change */
struct subsystem_info_s info = { struct subsystem_info_s info = {
@ -596,7 +596,7 @@ PX4FLOW::stop()
void void
PX4FLOW::cycle_trampoline(void *arg) PX4FLOW::cycle_trampoline(void *arg)
{ {
PX4FLOW *dev = (PX4FLOW *) arg; PX4FLOW *dev = (PX4FLOW *)arg;
dev->cycle(); dev->cycle();
} }
@ -616,7 +616,7 @@ PX4FLOW::cycle()
return; return;
} }
work_queue(HPWORK, &_work, (worker_t) & PX4FLOW::cycle_trampoline, this, work_queue(HPWORK, &_work, (worker_t)&PX4FLOW::cycle_trampoline, this,
_measure_ticks); _measure_ticks);
} }
@ -643,13 +643,13 @@ namespace px4flow
#endif #endif
const int ERROR = -1; const int ERROR = -1;
PX4FLOW *g_dev; PX4FLOW *g_dev;
void start(); void start();
void stop(); void stop();
void test(); void test();
void reset(); void reset();
void info(); void info();
/** /**
* Start the driver. * Start the driver.

Loading…
Cancel
Save