freeRTOS with arduino board with PS2 controlled device

no this function is just to turn on the LEDs by writing to the specific PORT registers, this is not the blocking function and not waiting to sync with any other event.

also I checked

C[cornerNo] -> set_crgb_at(ledNo,value);
C[cornerNo] -> sync();

these RGB LED operations taking 1ms time to execute

I previously tried using timer interrupt but that method too led to the delay in the PS2 readings