From 067bde321b8664ab94b1af819a7534266f5e5983 Mon Sep 17 00:00:00 2001 From: GUVWAF Date: Sat, 1 Oct 2022 11:57:27 +0200 Subject: [PATCH] Remove old SimRadio from RadioInterface --- src/mesh/RadioInterface.cpp | 6 ------ src/mesh/RadioInterface.h | 5 ----- 2 files changed, 11 deletions(-) diff --git a/src/mesh/RadioInterface.cpp b/src/mesh/RadioInterface.cpp index 864a9726c..59c8b49d6 100644 --- a/src/mesh/RadioInterface.cpp +++ b/src/mesh/RadioInterface.cpp @@ -461,12 +461,6 @@ void RadioInterface::limitPower() DEBUG_MSG("Set radio: final power level=%d\n", power); } -ErrorCode SimRadio::send(MeshPacket *p) -{ - DEBUG_MSG("SimRadio.send\n"); - packetPool.release(p); - return ERRNO_OK; -} void RadioInterface::deliverToReceiver(MeshPacket *p) { diff --git a/src/mesh/RadioInterface.h b/src/mesh/RadioInterface.h index 898ef20e4..e9f725c89 100644 --- a/src/mesh/RadioInterface.h +++ b/src/mesh/RadioInterface.h @@ -212,11 +212,6 @@ class RadioInterface } }; -class SimRadio : public RadioInterface -{ - public: - virtual ErrorCode send(MeshPacket *p) override; -}; /// Debug printing for packets void printPacket(const char *prefix, const MeshPacket *p);