aboutsummaryrefslogtreecommitdiff
path: root/apps/px4io/px4io.h
diff options
context:
space:
mode:
authorLorenz Meier <lm@inf.ethz.ch>2012-12-15 23:28:03 +0100
committerLorenz Meier <lm@inf.ethz.ch>2012-12-15 23:28:03 +0100
commitf81d00594c156c51ab976d3b6d101915377d7afa (patch)
tree041ff3b3d54ca5c2f7a995eadcbc2e58af1e56ba /apps/px4io/px4io.h
parent42ffb4161d4cec9e1d290d0191e7a4bb89546ed9 (diff)
downloadpx4-firmware-f81d00594c156c51ab976d3b6d101915377d7afa.tar.gz
px4-firmware-f81d00594c156c51ab976d3b6d101915377d7afa.tar.bz2
px4-firmware-f81d00594c156c51ab976d3b6d101915377d7afa.zip
Made PX4IO FMU timeout based on IOs HRT, updating mixers now on every FMU update and not at fixed rate, this is WIP and currently does not support mixing with RC-only
Diffstat (limited to 'apps/px4io/px4io.h')
-rw-r--r--apps/px4io/px4io.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/apps/px4io/px4io.h b/apps/px4io/px4io.h
index 84f5ba029..c8699c6c6 100644
--- a/apps/px4io/px4io.h
+++ b/apps/px4io/px4io.h
@@ -106,9 +106,9 @@ struct sys_state_s
bool fmu_report_due;
/**
- * If true, new control data from the FMU has been received.
+ * Last FMU receive time, in microseconds since system boot
*/
- bool fmu_data_received;
+ uint64_t fmu_data_received_time;
/**
* Current serial interface mode, per the serial_rx_mode parameter