Browse Source

Minor comment set_response_length_tcp -> set_message_length_tcp

Stéphane Raimbault 17 năm trước cách đây
mục cha
commit
4fabc5b3dc
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      modbus/modbus.c

+ 1 - 1
modbus/modbus.c

@@ -272,7 +272,7 @@ static int build_response_basis_tcp(int slave, int function, uint8_t *response)
         response[2] = 0;
         response[2] = 0;
         response[3] = 0;
         response[3] = 0;
 
 
-        /* Length to fix later with set_response_length_tcp (4 and 5) */
+        /* Length to fix later with set_message_length_tcp (4 and 5) */
 
 
         response[6] = slave;
         response[6] = slave;
         response[7] = function;
         response[7] = function;