mirror of https://github.com/rusefi/rusefi-1.git
This commit is contained in:
parent
a926c19005
commit
c401b06a79
|
@ -20,7 +20,15 @@
|
|||
#include "efifeatures.h"
|
||||
#include "rusefi_enums.h"
|
||||
|
||||
#define SCHEDULING_TIMER_PRIORITY 4
|
||||
/**
|
||||
* This is about SingleTimerExecutor - rusEfi 1MHz precise scheduling timer
|
||||
* this is not about ChibiOS virtual timer which rusEfi uses for
|
||||
* periodicFastCallback and periodicSlowCallback
|
||||
*/
|
||||
#define PRECISE_SCHEDULING_TIMER_PRIORITY 4
|
||||
/**
|
||||
* Input Capture Unit is how we capture shaft position sensors output
|
||||
*/
|
||||
#define ICU_PRIORITY 3
|
||||
|
||||
/*
|
||||
|
@ -150,7 +158,7 @@
|
|||
#define STM32_GPT_TIM2_IRQ_PRIORITY 7
|
||||
#define STM32_GPT_TIM3_IRQ_PRIORITY 7
|
||||
#define STM32_GPT_TIM4_IRQ_PRIORITY 7
|
||||
#define STM32_GPT_TIM5_IRQ_PRIORITY SCHEDULING_TIMER_PRIORITY
|
||||
#define STM32_GPT_TIM5_IRQ_PRIORITY PRECISE_SCHEDULING_TIMER_PRIORITY
|
||||
#define STM32_GPT_TIM6_IRQ_PRIORITY 7
|
||||
#define STM32_GPT_TIM7_IRQ_PRIORITY 7
|
||||
#define STM32_GPT_TIM8_IRQ_PRIORITY 7
|
||||
|
|
Loading…
Reference in New Issue