This function only runs during a hardware interrupt generated by the UART.
I use the Borland 'interrupt' function. The interrupt function then calls this 'sub function'...
The function does it's operations correctly, but during this it won't exit my do-while loop -triggered by the Done flag. And i'm surtain that the string has reached it's size.
If you need to see my interrupt function -i'll show you, but it's in this piece something goes wrong ;(
unsigned char Done=0;
printf("Debug lines only\n");
//printf("%c ->%d \n",serial.m_NewCharReceived,serial.m_Index);