diff options
author | Lorenz Meier <lm@inf.ethz.ch> | 2014-01-26 16:01:39 +0100 |
---|---|---|
committer | Lorenz Meier <lm@inf.ethz.ch> | 2014-01-26 16:01:39 +0100 |
commit | 0393b2aa129050307896b87c657ee0ed8e449891 (patch) | |
tree | a3c4b3e50e724e594e0131881d0117a56129c671 /src/modules/px4iofirmware/controls.c | |
parent | 00a3270dc696e09ad1e8f7b0eec579b92b6c0e2e (diff) | |
download | px4-firmware-0393b2aa129050307896b87c657ee0ed8e449891.tar.gz px4-firmware-0393b2aa129050307896b87c657ee0ed8e449891.tar.bz2 px4-firmware-0393b2aa129050307896b87c657ee0ed8e449891.zip |
Build fix for IO control input parsing.
Diffstat (limited to 'src/modules/px4iofirmware/controls.c')
-rw-r--r-- | src/modules/px4iofirmware/controls.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/modules/px4iofirmware/controls.c b/src/modules/px4iofirmware/controls.c index b3a999f22..941500f0d 100644 --- a/src/modules/px4iofirmware/controls.c +++ b/src/modules/px4iofirmware/controls.c @@ -61,8 +61,8 @@ controls_init(void) { /* no channels */ r_raw_rc_count = 0; - rc_channels_timestamp_received = 0; - rc_channels_timestamp_valid = 0; + system_state.rc_channels_timestamp_received = 0; + system_state.rc_channels_timestamp_valid = 0; /* DSM input (USART1) */ dsm_init("/dev/ttyS0"); |