comparison Discovery/Src/tHome.c @ 138:cc9c18075e00 FlipDisplay

Removed no longer supported scooter code
author Ideenmodellierer
date Sat, 23 Feb 2019 21:10:51 +0100
parents 22a1094545f3
children c659fda83e44
comparison
equal deleted inserted replaced
137:9eda5a75c5fd 138:cc9c18075e00
90 t7_init(); // standard + surface 90 t7_init(); // standard + surface
91 t3_init(); // big font 91 t3_init(); // big font
92 t4_init(); // game 92 t4_init(); // game
93 t5_init(); // gauge 93 t5_init(); // gauge
94 t6_init(); // apnea 94 t6_init(); // apnea
95 t9_init(); // bonex
96 } 95 }
97 96
98 97
99 void tHome_init_compass(void) 98 void tHome_init_compass(void)
100 { 99 {
101 init_t7_compass(); 100 init_t7_compass();
102 init_t9_compass();
103 } 101 }
104 102
105 103
106 void tHome_refresh(void) 104 void tHome_refresh(void)
107 { 105 {
139 if(pSettings->design == 3) 137 if(pSettings->design == 3)
140 t3_refresh(); 138 t3_refresh();
141 else 139 else
142 if(pSettings->design == 7) 140 if(pSettings->design == 7)
143 t7_refresh(); 141 t7_refresh();
144 else
145 if(pSettings->design == 9)
146 t9_refresh();
147 else 142 else
148 { 143 {
149 pSettings->design = 7; 144 pSettings->design = 7;
150 t7_refresh(); 145 t7_refresh();
151 } 146 }
347 void tHome_change_field_button_pressed(void) 342 void tHome_change_field_button_pressed(void)
348 { 343 {
349 tHome_tick_count_field = 0; 344 tHome_tick_count_field = 0;
350 if(settingsGetPointer()->design == 7) 345 if(settingsGetPointer()->design == 7)
351 t7_change_field(); 346 t7_change_field();
352 if(settingsGetPointer()->design == 9)
353 t9_change_field();
354 } 347 }
355 348
356 349
357 void tHome_change_customview_button_pressed(void) 350 void tHome_change_customview_button_pressed(void)
358 { 351 {
359 tHome_tick_count_cview = 0; 352 tHome_tick_count_cview = 0;
360 if(settingsGetPointer()->design == 7) 353 if(settingsGetPointer()->design == 7)
361 t7_change_customview(); 354 t7_change_customview();
362 else
363 if(settingsGetPointer()->design == 9)
364 t9_change_customview();
365 else 355 else
366 if(settingsGetPointer()->design == 3) 356 if(settingsGetPointer()->design == 3)
367 t3_change_customview(); 357 t3_change_customview();
368 else 358 else
369 if(settingsGetPointer()->design == 5) 359 if(settingsGetPointer()->design == 5)