Commit 4c9b029842207328d22f1d9e5d39fff7c86f7f92

Authored by Stéphane Raimbault
1 parent 72ee68ee

Remove printf

Showing 1 changed file with 0 additions and 2 deletions
modbus/modbus.c
... ... @@ -741,12 +741,10 @@ void manage_query(modbus_param_t *mb_param, uint8_t *query,
741 741 count = (query[offset+4] << 8) + query[offset+5];
742 742 byte_count = 2 * count;
743 743 offset = build_response_packet(mb_param, slave, function, byte_count, response);
744   - printf("offset %d\n", offset);
745 744 for (i = address; i < address + count; i++) {
746 745 response[offset++] = mb_mapping->tab_holding_registers[i] >> 8;
747 746 response[offset++] = mb_mapping->tab_holding_registers[i] & 0xFF;
748 747 }
749   - printf("fin offset %d\n", offset);
750 748 break;
751 749 case FC_READ_INPUT_REGISTERS:
752 750 count = (query[offset+4] << 8) + query[offset+5];
... ...