diff options
author | px4dev <px4@purgatory.org> | 2013-02-24 00:09:37 -0800 |
---|---|---|
committer | px4dev <px4@purgatory.org> | 2013-02-24 00:09:37 -0800 |
commit | 8c7e2546ed5222145a6d1745e77d01f7c21c24fc (patch) | |
tree | 36e71280c103906ee85ac29d02a6924bb0c4cbbb /apps/px4io/registers.c | |
parent | 5aa5645fb060c13997dc6458b530acb551c6c53e (diff) | |
download | px4-firmware-8c7e2546ed5222145a6d1745e77d01f7c21c24fc.tar.gz px4-firmware-8c7e2546ed5222145a6d1745e77d01f7c21c24fc.tar.bz2 px4-firmware-8c7e2546ed5222145a6d1745e77d01f7c21c24fc.zip |
Simplify the PX4IO main loop to cut down on memory consumption.
Diffstat (limited to 'apps/px4io/registers.c')
-rw-r--r-- | apps/px4io/registers.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/apps/px4io/registers.c b/apps/px4io/registers.c index ec1980aaa..5fb90b9b0 100644 --- a/apps/px4io/registers.c +++ b/apps/px4io/registers.c @@ -203,8 +203,6 @@ registers_set(uint8_t page, uint8_t offset, const uint16_t *values, unsigned num r_status_flags |= PX4IO_P_STATUS_FLAGS_FMU_OK; r_status_flags &= ~PX4IO_P_STATUS_FLAGS_RAW_PWM; - // wake up daemon to trigger mixer - daemon_wakeup(); break; /* handle raw PWM input */ @@ -224,8 +222,6 @@ registers_set(uint8_t page, uint8_t offset, const uint16_t *values, unsigned num system_state.fmu_data_received_time = hrt_absolute_time(); r_status_flags |= PX4IO_P_STATUS_FLAGS_FMU_OK | PX4IO_P_STATUS_FLAGS_RAW_PWM; - // wake up the main thread to trigger mixer - daemon_wakeup(); break; /* handle setup for servo failsafe values */ |