mirror of
https://github.com/stargieg/bacnet-stack
synced 2025-10-26 23:35:52 +08:00
Merge pull request #10 from raghavan97/bug-turnaround-computation
Fix computation of turnaround time
This commit is contained in:
commit
187d5feb9e
|
|
@ -391,7 +391,7 @@ void RS485_Send_Frame(
|
|||
uint8_t * buffer, /* frame to send (up to 501 bytes of data) */
|
||||
uint16_t nbytes)
|
||||
{ /* number of bytes of data (up to 501) */
|
||||
uint32_t turnaround_time = Tturnaround * 1000;
|
||||
uint32_t turnaround_time = Tturnaround * 1000000; /* microseconds */
|
||||
uint32_t baud;
|
||||
ssize_t written = 0;
|
||||
int greska;
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user