From 9f4457f1d2168a28cefe8c54c88141e6912aea17 Mon Sep 17 00:00:00 2001 From: bugobliterator Date: Sun, 13 Sep 2020 00:32:18 +0530 Subject: [PATCH] HAL_Empty: add empty protocol method in RCInput --- libraries/AP_HAL_Empty/RCInput.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/libraries/AP_HAL_Empty/RCInput.h b/libraries/AP_HAL_Empty/RCInput.h index ecde9697c7..8fd0a818c2 100644 --- a/libraries/AP_HAL_Empty/RCInput.h +++ b/libraries/AP_HAL_Empty/RCInput.h @@ -10,4 +10,6 @@ public: uint8_t num_channels() override; uint16_t read(uint8_t ch) override; uint8_t read(uint16_t* periods, uint8_t len) override; + virtual const char *protocol() const override { return "Empty"; } + };