From f6f586decbe5b4080f7fb14894c09386a3535700 Mon Sep 17 00:00:00 2001 From: Jm Date: Thu, 25 Mar 2021 19:27:46 -0700 Subject: [PATCH] Remove my code that doesn't work with channels --- src/mesh/NodeDB.cpp | 13 ------------- 1 file changed, 13 deletions(-) diff --git a/src/mesh/NodeDB.cpp b/src/mesh/NodeDB.cpp index aaa8402d2..c5df20ab9 100644 --- a/src/mesh/NodeDB.cpp +++ b/src/mesh/NodeDB.cpp @@ -486,7 +486,6 @@ void NodeDB::updateUser(uint32_t nodeId, const User &p) /// we updateGUI and updateGUIforNode if we think our this change is big enough for a redraw void NodeDB::updateFrom(const MeshPacket &mp) { - uint32_t sawSecAgo = 0; if (mp.which_payloadVariant == MeshPacket_decoded_tag) { DEBUG_MSG("Update DB node 0x%x, rx_time=%u\n", mp.from, mp.rx_time); @@ -501,18 +500,6 @@ void NodeDB::updateFrom(const MeshPacket &mp) info->position.time = mp.rx_time; } -// Used by the store & forward plugin. -#ifndef NO_ESP32 - - // Check that both the plugin is - if (radioConfig.preferences.store_forward_plugin_enabled && storeForwardPlugin) { - /* Notify the store and forward plugin that we just saw a node. - */ - storeForwardPlugin.sawNode(getFrom(&mp), sawSecAgo); - } - -#endif - info->snr = mp.rx_snr; // keep the most recent SNR we received for this node. } }