Mercurial > public > ostc4
comparison Discovery/Src/base.c @ 476:19cff811616d Improve_Button_Sleep
Balance value of button responsitivness were not considered during firmware startup:
An additional calculation is needed to adapt the button values regarding the balance factors.
author | ideenmodellierer |
---|---|
date | Tue, 12 May 2020 22:54:19 +0200 |
parents | adc4ccbebbb5 |
children | b560e474e319 |
comparison
equal
deleted
inserted
replaced
475:4b000e2386c2 | 476:19cff811616d |
---|---|
424 tM_init(); | 424 tM_init(); |
425 tMenuEdit_init(); | 425 tMenuEdit_init(); |
426 tInfoLog_init(); | 426 tInfoLog_init(); |
427 tComm_init(); | 427 tComm_init(); |
428 DataEX_init(); | 428 DataEX_init(); |
429 settingsHelperButtonSens_keepPercentageValues(settingsGetPointer()->ButtonResponsiveness[3], settingsGetPointer()->ButtonResponsiveness); | |
429 setButtonResponsiveness( settingsGetPointer()->ButtonResponsiveness ); | 430 setButtonResponsiveness( settingsGetPointer()->ButtonResponsiveness ); |
430 set_globalState_tHome(); | 431 set_globalState_tHome(); |
431 | 432 |
432 GFX_start_VSYNC_IRQ(); | 433 GFX_start_VSYNC_IRQ(); |
433 tCCR_init(); | 434 tCCR_init(); |