static portTASK_FUNCTION(vMainTask2, pvParameters) {
const portTickType xDelay = 500/portTICK_RATE_MS;
for(;;){
vTaskDelay(xDelay);
Bit3_NegVal();
}
}
The timertick works correct at 1ms. I’ve already changed the settings of portTICK_RATE_MS and it’s parameters to the right value.
I’m using the MCF52259 from Freescale, IDE: codewarrior 10.1 (Eclips version), FreeRTOS V7.0.2
Thanks for help!
Best regardsPatrick