Commit 4fabc5b3dce9e4a531089fe1e4d8b2ca5b50f789

Authored by Stéphane Raimbault
1 parent cd93c236

Minor comment set_response_length_tcp -> set_message_length_tcp

Showing 1 changed file with 1 additions and 1 deletions
modbus/modbus.c
... ... @@ -272,7 +272,7 @@ static int build_response_basis_tcp(int slave, int function, uint8_t *response)
272 272 response[2] = 0;
273 273 response[3] = 0;
274 274  
275   - /* Length to fix later with set_response_length_tcp (4 and 5) */
  275 + /* Length to fix later with set_message_length_tcp (4 and 5) */
276 276  
277 277 response[6] = slave;
278 278 response[7] = function;
... ...