local variable and class variable may not be named the same

This commit is contained in:
Thomas Göttgens
2023-12-17 16:28:48 +01:00
committed by GitHub
parent 71c0726838
commit 24c4ee9bfa

View File

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