浏览代码

Minor comment set_response_length_tcp -> set_message_length_tcp

Stéphane Raimbault 17 年之前
父节点
当前提交
4fabc5b3dc
共有 1 个文件被更改,包括 1 次插入1 次删除
  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[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[7] = function;