ran the indent program on the source files to make them consistent.
This commit is contained in:
+15
-16
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user