for(;; ) {
HAL_GPIO_WritePin(MCU_LED1_R_GPIO_Port, MCU_LED1_R_Pin, GPIO_PIN_SET);
osDelay(1000);
HAL_GPIO_WritePin(MCU_LED3_GPIO_Port, MCU_LED3_Pin, GPIO_PIN_RESET);
vTaskSuspend(NULL);
}
i take priority of my interrupt task (Thread_Lsm6dsox) higher…
I used xTaskSuspend() inside the task.(interrupt)
But result is negative!
Any idea please ?