Merge pull request #3021 from meshtastic/nodeinfo-shading

local variable and class variable may not be named the same
This commit is contained in:
Thomas Göttgens 2023-12-17 17:09:44 +01:00 committed by GitHub
commit dfa537415d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -83,8 +83,6 @@ NodeInfoModule::NodeInfoModule()
int32_t NodeInfoModule::runOnce()
{
static uint32_t currentGeneration;
// If we changed channels, ask everyone else for their latest info
bool requestReplies = currentGeneration != radioGeneration;
currentGeneration = radioGeneration;