Added usleep(30) to RS485_Check_UART_Data allowing the process to give up time to the system,

rather than hogging the processor.
This commit is contained in:
brayra
2009-02-27 16:33:16 +00:00
parent c6501b901e
commit 9a2f058623
+1
View File
@@ -223,6 +223,7 @@ void RS485_Check_UART_Data(
/* if data is ready, */
mstp_port->DataAvailable = true;
}
usleep(30);
}
}