Rev 4 | Rev 8 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 4 | Rev 5 | ||
---|---|---|---|
Line 48... | Line 48... | ||
48 | /* Exported macro ------------------------------------------------------------*/ |
48 | /* Exported macro ------------------------------------------------------------*/ |
49 | /* USER CODE BEGIN EM */ |
49 | /* USER CODE BEGIN EM */ |
50 | #define RPMTIMER 2 // define the timer |
50 | #define RPMTIMER 2 // define the timer |
51 | #define AUXILIARY_HIGH {}; |
51 | #define AUXILIARY_HIGH {}; |
52 | #define AUXILIARY_LOW triggerSAW(); |
52 | #define AUXILIARY_LOW triggerSAW(); |
53 | // scale for filtered samples |
53 | // scale for filtered RPM samples |
54 | static const float Scale = 1.0; |
54 | static const float Scale = 2.0; |
55 | /* USER CODE END EM */ |
55 | /* USER CODE END EM */ |
56 | 56 | ||
57 | void HAL_TIM_MspPostInit(TIM_HandleTypeDef *htim); |
57 | void HAL_TIM_MspPostInit(TIM_HandleTypeDef *htim); |
58 | 58 | ||
59 | /* Exported functions prototypes ---------------------------------------------*/ |
59 | /* Exported functions prototypes ---------------------------------------------*/ |