Converted C++ comments to C comments

This commit is contained in:
skarg
2006-10-07 14:12:16 +00:00
parent 8d9c621e89
commit 19c5a20205
7 changed files with 41 additions and 41 deletions
+5 -5
View File
@@ -62,8 +62,8 @@ void RS485_Print_Frame(int port,
uint8_t * buffer, /* frame to send (up to 501 bytes of data) */
uint16_t nbytes)
{
uint16_t i; // byte counter
unsigned long duration; // measures the time from last output to this one
uint16_t i; /* byte counter */
unsigned long duration; /* measures the time from last output to this one */
unsigned long seconds;
unsigned long milliseconds;
@@ -112,9 +112,9 @@ static int TestCOMPort(int Base)
int i;
for (i = 0; i < 256; i++) {
RTOut(Base + 7, (BYTE) i); // write scratch register
RTOut(Base + 1, RTIn(Base + 1)); // read/write IER
if (RTIn(Base + 7) != i) // check scratch register
RTOut(Base + 7, (BYTE) i); /* write scratch register */
RTOut(Base + 1, RTIn(Base + 1)); /* read/write IER */
if (RTIn(Base + 7) != i) /* check scratch register */
return FALSE;
}
return TRUE;