Fix SettingChimes cbOption array size
There are 3 options, but the array-size is set to 2. This leads to memory corruption in the initialization of the SettingChimes screen when assigning the third option object pointer. Found in https://github.com/InfiniTimeOrg/InfiniSim/issues/11
This commit is contained in:
parent
7e0b053b38
commit
f47b04ffd0
1 changed files with 1 additions and 1 deletions
|
@ -20,7 +20,7 @@ namespace Pinetime {
|
||||||
private:
|
private:
|
||||||
Controllers::Settings& settingsController;
|
Controllers::Settings& settingsController;
|
||||||
uint8_t optionsTotal;
|
uint8_t optionsTotal;
|
||||||
lv_obj_t* cbOption[2];
|
lv_obj_t* cbOption[3];
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue