From 0b979b61c12ffe6ab8a27acf8ad2a0165d687195 Mon Sep 17 00:00:00 2001 From: Vernon Mauery Date: Wed, 15 May 2019 08:45:00 -0700 Subject: Remove unused function convertCurrentChannelNum(uint8_t) convertCurrentChannelNum(uint8_t) was deprecated in favor of an actual working implementation. It was stubbed out for a while to provide a broken, backwards-compatible interface, but now that all of those have been removed in favor of the new interface that actually works: convertCurrentChannelNum(uint8_t, uint8_t), the old function can be removed. Tested: Builds without any errors (means the old interface was removed) Signed-off-by: Vernon Mauery Change-Id: I3796e890c7cc34333116b71a97db268abf5f0e89 --- user_channel/channel_layer.cpp | 5 ----- 1 file changed, 5 deletions(-) (limited to 'user_channel/channel_layer.cpp') diff --git a/user_channel/channel_layer.cpp b/user_channel/channel_layer.cpp index 122b3ea..c6866c2 100644 --- a/user_channel/channel_layer.cpp +++ b/user_channel/channel_layer.cpp @@ -58,11 +58,6 @@ bool isValidChannel(const uint8_t chNum) return getChannelConfigObject().isValidChannel(chNum); } -uint8_t convertCurrentChannelNum(const uint8_t chNum) -{ - return getChannelConfigObject().convertToChannelIndexNumber(chNum); -} - bool isValidAuthType(const uint8_t chNum, const EAuthType& authType) { return getChannelConfigObject().isValidAuthType(chNum, authType); -- cgit v1.2.1