Disable the warning that is displayed when the initialization of the touch controller fails, as some users reported that it was displayed when a valid touch controller was installed.

This commit is contained in:
Jean-François Milants 2021-11-07 18:00:34 +01:00
parent 4a5b5f954f
commit e6edf21552

View File

@ -144,9 +144,14 @@ void SystemTask::Work() {
lcd.Init(); lcd.Init();
twiMaster.Init(); twiMaster.Init();
/*
* TODO We disable this warning message until we ensure it won't be displayed
* on legitimate PineTime equipped with a compatible touch controller.
* (some users reported false positive). See https://github.com/InfiniTimeOrg/InfiniTime/issues/763
if (!touchPanel.Init()) { if (!touchPanel.Init()) {
bootError = BootErrors::TouchController; bootError = BootErrors::TouchController;
} }
*/
dateTimeController.Register(this); dateTimeController.Register(this);
batteryController.Register(this); batteryController.Register(this);
motorController.Init(); motorController.Init();