From 84bd10d279122aae9f2b940cbf8c6cb21748c029 Mon Sep 17 00:00:00 2001 From: Andrew Tridgell Date: Fri, 4 Jan 2013 22:27:04 +1100 Subject: [PATCH] HAL_PX4: minor cleanups --- libraries/AP_HAL_PX4/RCInput.cpp | 5 +---- libraries/AP_HAL_PX4/RCInput.h | 1 - 2 files changed, 1 insertion(+), 5 deletions(-) diff --git a/libraries/AP_HAL_PX4/RCInput.cpp b/libraries/AP_HAL_PX4/RCInput.cpp index aae04a96a5..1b9f465d73 100644 --- a/libraries/AP_HAL_PX4/RCInput.cpp +++ b/libraries/AP_HAL_PX4/RCInput.cpp @@ -12,10 +12,7 @@ extern uint16_t ppm_buffer[]; extern unsigned ppm_decoded_channels; extern uint64_t ppm_last_valid_decode; -PX4RCInput::PX4RCInput() -{} - -void PX4RCInput::init(void* machtnichts) +void PX4RCInput::init(void* unused) { clear_overrides(); } diff --git a/libraries/AP_HAL_PX4/RCInput.h b/libraries/AP_HAL_PX4/RCInput.h index 32ee56503b..14083ac6c6 100644 --- a/libraries/AP_HAL_PX4/RCInput.h +++ b/libraries/AP_HAL_PX4/RCInput.h @@ -8,7 +8,6 @@ class PX4::PX4RCInput : public AP_HAL::RCInput { public: - PX4RCInput(); void init(void* machtnichts); uint8_t valid(); uint16_t read(uint8_t ch);