comparison Discovery/Src/base.c @ 561:e581425c7e3e

Solved minor warnings
author Ideenmodellierer
date Sun, 15 Nov 2020 19:54:36 +0100
parents 469e93f8633e
children bb5ce239741f
comparison
equal deleted inserted replaced
560:5d80bb8d22cb 561:e581425c7e3e
230 #include "timer.h" 230 #include "timer.h"
231 #include "logbook_miniLive.h" 231 #include "logbook_miniLive.h"
232 #include "test_vpm.h" 232 #include "test_vpm.h"
233 #include "tDebug.h" 233 #include "tDebug.h"
234 #include "motion.h" 234 #include "motion.h"
235 #include "data_exchange_main.h"
236 235
237 #ifdef DEMOMODE 236 #ifdef DEMOMODE
238 #include "demo.h" 237 #include "demo.h"
239 static void TIM_DEMO_init(void); 238 static void TIM_DEMO_init(void);
240 #endif 239 #endif
348 { 347 {
349 uint32_t pLayerInvisible; 348 uint32_t pLayerInvisible;
350 uint16_t totalDiveCounterFound; 349 uint16_t totalDiveCounterFound;
351 350
352 SStateList status; 351 SStateList status;
352 #ifdef ENABLE_MOTION_CONTROL
353 detectionState_t pitchstate; 353 detectionState_t pitchstate;
354 #endif
354 set_globalState( StBoot0 ); 355 set_globalState( StBoot0 );
355 LastButtonPressed = 0; 356 LastButtonPressed = 0;
356 357
357 HAL_Init(); 358 HAL_Init();
358 HAL_NVIC_SetPriorityGrouping( NVIC_PRIORITYGROUP_2 ); 359 HAL_NVIC_SetPriorityGrouping( NVIC_PRIORITYGROUP_2 );