modbus_tcp
Fix typo
This commit is contained in:
@@ -42,7 +42,7 @@ static err_t modbus_accept(void* arg, struct tcp_pcb* pcb, err_t err);
|
|||||||
/**
|
/**
|
||||||
* @fn static err_t modbus_incoming_data(void *arg, struct tcp_pcb *pcb, struct pbuf *p, err_t err)
|
* @fn static err_t modbus_incoming_data(void *arg, struct tcp_pcb *pcb, struct pbuf *p, err_t err)
|
||||||
* @brief Function that's called when there is a new request on port 502.
|
* @brief Function that's called when there is a new request on port 502.
|
||||||
* It handles the incoming data from Qmodmaster
|
* It handles the incoming data from QModMaster
|
||||||
*/
|
*/
|
||||||
static err_t modbus_incoming_data(void* arg, struct tcp_pcb* pcb, struct pbuf* p, err_t err) {
|
static err_t modbus_incoming_data(void* arg, struct tcp_pcb* pcb, struct pbuf* p, err_t err) {
|
||||||
uint8_t counter;
|
uint8_t counter;
|
||||||
|
|||||||
Reference in New Issue
Block a user