From ee2f14bac1568c7510ab11978a1f7173fd05ed66 Mon Sep 17 00:00:00 2001 From: Christoph Kottke Date: Tue, 25 May 2021 21:33:55 +0200 Subject: [PATCH] no commented code! --- src/TaskRouter.cpp | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/TaskRouter.cpp b/src/TaskRouter.cpp index 22ae2cf..210ed7e 100644 --- a/src/TaskRouter.cpp +++ b/src/TaskRouter.cpp @@ -85,9 +85,7 @@ bool RouterTask::loop(System &system) { _toAprsIs.addElement(_beaconMsg); if (system.getUserConfig()->digi.beacon) { - std::shared_ptr digiBeaconMsg = std::make_shared(*_beaconMsg); - //digiBeaconMsg->setPath("WIDE1-1"); - _toModem.addElement(digiBeaconMsg); + _toModem.addElement(_beaconMsg); } system.getDisplay().addFrame(std::shared_ptr(new TextFrame("BEACON", _beaconMsg->toString())));