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

Loading…
Cancel
Save