From 302252d096080e9f0d99c3405c940d3f213dbdee Mon Sep 17 00:00:00 2001 From: Lucas De Marchi Date: Fri, 21 Aug 2015 18:42:35 -0300 Subject: [PATCH] AP_HAL_Empty: remove unused write method --- libraries/AP_HAL_Empty/RCOutput.cpp | 3 --- libraries/AP_HAL_Empty/RCOutput.h | 1 - 2 files changed, 4 deletions(-) diff --git a/libraries/AP_HAL_Empty/RCOutput.cpp b/libraries/AP_HAL_Empty/RCOutput.cpp index ca8c66a34a..534a0b90e5 100644 --- a/libraries/AP_HAL_Empty/RCOutput.cpp +++ b/libraries/AP_HAL_Empty/RCOutput.cpp @@ -20,9 +20,6 @@ void EmptyRCOutput::disable_ch(uint8_t ch) void EmptyRCOutput::write(uint8_t ch, uint16_t period_us) {} -void EmptyRCOutput::write(uint8_t ch, uint16_t* period_us, uint8_t len) -{} - uint16_t EmptyRCOutput::read(uint8_t ch) { return 900; } diff --git a/libraries/AP_HAL_Empty/RCOutput.h b/libraries/AP_HAL_Empty/RCOutput.h index 7b6f8558a8..05d48736d1 100644 --- a/libraries/AP_HAL_Empty/RCOutput.h +++ b/libraries/AP_HAL_Empty/RCOutput.h @@ -11,7 +11,6 @@ class Empty::EmptyRCOutput : public AP_HAL::RCOutput { void enable_ch(uint8_t ch); void disable_ch(uint8_t ch); void write(uint8_t ch, uint16_t period_us); - void write(uint8_t ch, uint16_t* period_us, uint8_t len); uint16_t read(uint8_t ch); void read(uint16_t* period_us, uint8_t len); };