Converted C++ comments to C comments
This commit is contained in:
@@ -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);
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user