Modbus

fix comment

2022-10-16, Mario de Sousa
74e9ff734cea
Parents 835e9dad64d9
Children a2bb438a215b
fix comment
  • +4 -4
    mb_rtu.c
  • --- a/mb_rtu.c Sun Oct 16 07:09:48 2022 +0100
    +++ b/mb_rtu.c Sun Oct 16 07:10:20 2022 +0100
    @@ -1534,12 +1534,12 @@
    /* assume error... */
    *recv_data_ptr = NULL;
    - /*===================================*
    - * Delete any previously received data that has already been returned as a valid frame in *
    - *===================================*/
    + /*======================================*
    + * Delete any previously processed data *
    + *======================================*/
    /* Delete any previously received data that has already been returned as a valid frame in
    * the previous invocation of read_frame().
    - * Notice that the data that will be deleted hass ben marked for deletion by calling
    + * Notice that the data that will be deleted has been marked for deletion by calling
    * lb_data_mark_for_purge() in return_frame()
    */
    lb_data_purge(&(recv_buf->data_buf), 0);