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
+3 -3
View File
@@ -36,7 +36,7 @@
#include "npdu.h"
#include "eeprom.h"
// Number of MS/TP Packets Rx/Tx
/* Number of MS/TP Packets Rx/Tx
*/
uint16_t MSTP_Packets = 0;
@@ -50,7 +50,7 @@ volatile struct mstp_port_struct_t MSTP_Port;
#pragma udata
#define INCREMENT_AND_LIMIT_UINT16(x) {if (x < 0xFFFF) x++;}
// This defines the number of edit fields for this module
/* This defines the number of edit fields for this module
*/
#define MAX_EDIT_FIELD 1
@@ -204,7 +204,7 @@ void dlmstp_task(void)
} while (bytes_remaining);
}
/* only do master state machine while rx is idle */
//MSTP_Master_Node_FSM(&MSTP_Port);
if (MSTP_Port.receive_state == MSTP_RECEIVE_STATE_IDLE) {
while (MSTP_Master_Node_FSM(&MSTP_Port)) {};
/*MSTP_Master_Node_FSM(&MSTP_Port);
*/