ran the indent program on the source files to make them consistent.

This commit is contained in:
skarg
2006-02-18 22:34:36 +00:00
parent 21b373c75c
commit b1d46ffa8c
72 changed files with 10446 additions and 11551 deletions
+15 -16
View File
@@ -43,23 +43,22 @@
int main(void)
{
struct mstp_port_struct_t mstp_port; // port data
uint8_t my_mac = 0x05; // local MAC address
struct mstp_port_struct_t mstp_port; // port data
uint8_t my_mac = 0x05; // local MAC address
MSTP_Init(&mstp_port,my_mac);
MSTP_Init(&mstp_port, my_mac);
// loop forever
for (;;)
{
// input
RS485_Check_UART_Data(&mstp_port);
MSTP_Receive_Frame_FSM(&mstp_port);
// process
// loop forever
for (;;) {
// input
RS485_Check_UART_Data(&mstp_port);
MSTP_Receive_Frame_FSM(&mstp_port);
// process
// output
MSTP_Master_Node_FSM(&mstp_port);
}
return 0;
// output
MSTP_Master_Node_FSM(&mstp_port);
}
return 0;
}