mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-10-31 05:11:36 +08:00
More formatting fixes
This commit is contained in:
@@ -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.
|
||||||
|
|||||||
Reference in New Issue
Block a user