Browse Source

update

master
zhaohe 2 years ago
parent
commit
37c29b865e
  1. 4
      chip/zirq_dispatcher.cpp

4
chip/zirq_dispatcher.cpp

@ -10,8 +10,8 @@ extern "C" {
* @param htim * @param htim
*/ */
void HAL_TIM_PeriodElapsedCallback(TIM_HandleTypeDef *htim) { void HAL_TIM_PeriodElapsedCallback(TIM_HandleTypeDef *htim) {
#ifdef IFLTYOP_ZTICKET_TIMER
if (htim->Instance == IFLTYOP_ZTICKET_TIMER) {
#ifdef PC_SYS_ZTICKET_TIMER
if (htim->Instance == PC_SYS_ZTICKET_TIMER) {
HAL_IncTick(); HAL_IncTick();
return; return;
} }

Loading…
Cancel
Save