optimisation: sg_filter_threshold not initialised in constructor

Caught with Cppcheck

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

View File

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