optimisation: sg_filter_threshold not initialised in constructor

Caught with Cppcheck

Change in memory:
Flash: -26 bytes
SRAM: 0 bytes
pull/293/head
Guðni Már Gilbert 2023-08-20 13:45:48 +00:00 committed by DRracer
parent 6a0f49859e
commit 8e7f3d8b96
1 changed files with 1 additions and 1 deletions

View File

@ -179,7 +179,7 @@ private:
ErrorFlags errorFlags; ErrorFlags errorFlags;
bool initialized = false; bool initialized = false;
bool enabled = false; bool enabled = false;
uint8_t sg_filter_threshold; uint8_t sg_filter_threshold = 0;
uint8_t sg_filter_counter = 0; uint8_t sg_filter_counter = 0;
}; };