Removed debugging changes.

This commit is contained in:
skarg
2009-09-18 18:39:41 +00:00
parent d1f167c539
commit 6f254401c0
2 changed files with 6 additions and 2 deletions
@@ -667,6 +667,7 @@ static void MSTP_Receive_Frame_FSM(
return;
}
#ifdef MSTP_DEBUG_STATES
static MSTP_MASTER_STATE Master_State_Log[128];
static unsigned master_state_log_index = 0;
void log_master_state(MSTP_MASTER_STATE state)
@@ -677,6 +678,9 @@ void log_master_state(MSTP_MASTER_STATE state)
master_state_log_index = 0;
}
}
#else
#define log_master_state(n) (void)n;
#endif
/* returns true if we need to transition immediately */
static bool MSTP_Master_Node_FSM(
+2 -2
View File
@@ -46,8 +46,8 @@ static uint32_t Baud_Rate = 9600;
/* turnaround_time_milliseconds = (Tturnaround*1000UL)/Baud_Rate; */
/* buffer for storing received bytes - size must be power of two */
uint8_t Receive_Buffer_Data[128];
FIFO_BUFFER Receive_Buffer;
static uint8_t Receive_Buffer_Data[128];
static FIFO_BUFFER Receive_Buffer;
static void rs485_rts_init(
void)