comparison Discovery/Src/base.c @ 835:717b460294cd Evo_2_23

Added autofocus for BF Navigation view: In case of activated autofocus feature for big font the navigation view will now be activated in case the OSTC4 is hold in horizontal position (like it is for example done if you take a bearing). The OSTC4 will return to the previous view in case the OSTC4 is no longer hold in horizontal position.
author Ideenmodellierer
date Sun, 17 Dec 2023 21:49:02 +0100
parents dd7ce655db26
children 17d9d6eddd8d
comparison
equal deleted inserted replaced
834:2a8af51ab04d 835:717b460294cd
542 suspendMotionDetection(10); /* do not change custom views while divers is operating the computer */ 542 suspendMotionDetection(10); /* do not change custom views while divers is operating the computer */
543 } 543 }
544 HandleMotionDetection(); 544 HandleMotionDetection();
545 } 545 }
546 #endif 546 #endif
547 547 /* Autofocus for T3 view */
548 if((settingsGetPointer()->cvAutofocus) && (settingsGetPointer()->design == 3) && (get_globalState() == StD) && (stateUsed->mode == MODE_DIVE))
549 {
550 t3_handleAutofocus();
551 }
548 #ifdef SIM_WRITES_LOGBOOK 552 #ifdef SIM_WRITES_LOGBOOK
549 if(stateUsed == stateSimGetPointer()) 553 if(stateUsed == stateSimGetPointer())
550 logbook_InitAndWrite(stateUsed); 554 logbook_InitAndWrite(stateUsed);
551 #endif 555 #endif
552 if(stateUsed == stateRealGetPointer()) /* Handle log entries while in dive mode*/ 556 if(stateUsed == stateRealGetPointer()) /* Handle log entries while in dive mode*/