mirror of
https://github.com/EdgeTX/edgetx.git
synced 2025-07-24 00:35:14 +03:00
cppcheck experiment. A couple of memory leaks fixed
This commit is contained in:
parent
33091c295f
commit
86c0678273
13 changed files with 35 additions and 41 deletions
|
@ -1050,7 +1050,7 @@ void RegisterFirmwares()
|
|||
RegisterEepromInterfaces();
|
||||
}
|
||||
|
||||
bool LoadEeprom(RadioData &radioData, uint8_t *eeprom, int size)
|
||||
bool LoadEeprom(RadioData &radioData, const uint8_t *eeprom, const int size)
|
||||
{
|
||||
foreach(EEPROMInterface *eepromInterface, eepromInterfaces) {
|
||||
if (eepromInterface->load(radioData, eeprom, size))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue