view .hgtags @ 475:4b000e2386c2 Improve_Button_Sleep

Changed default values: Invalid pressure was signalled using the float 100.0 causing the OSTC to enter dive mode if for some I2C communication was disturbed during startup. The default value for button responsitivness was set to 85% without considering the needed HWOS transformation calculation. Applying that the value for 85% is 51 PowerOnReset is state is now identified using the same functionality as already introduced for the battery charge handling. Initialization of pressure sensor in case of I2C problems only if the initialization was not successfull before: The pressure sensor is reset via a I2C commend in case of a I2C error. A reset might be helpfull in case of a "hanging" ADC operation but that would not be indicated by a I2C problem => resetting the sensor in case of a I2C problem might cause (small) change of pressure value
author ideenmodellierer
date Tue, 12 May 2020 22:52:05 +0200
parents 4787cd767a9d
children 9b7e3ebce463
line wrap: on
line source

1b9be6040d8279117c7fc99d528790611638f10b V1.4.7 release
ba9d99a2e310da601a948ff11ad665260c600e18 v1.4.8 release
143fe85f82a2e2aca50eb0c29bc55066cb4fe497 v1.5.0 release
afa55a50cc724b11b959fa81567d59ede251ef22 v1.5.1 release
54a480c43e977db8fc6969551ad6148f2ad46e15 v1.5.2.beta release
5b4c78c36b0456ff65d1a0870d07d4072045480d v1.5.3 release