From 4c9b029842207328d22f1d9e5d39fff7c86f7f92 Mon Sep 17 00:00:00 2001 From: Stéphane Raimbault Date: Mon, 7 Apr 2008 18:20:34 +0200 Subject: [PATCH] Remove printf --- modbus/modbus.c | 2 -- 1 file changed, 0 insertions(+), 2 deletions(-) diff --git a/modbus/modbus.c b/modbus/modbus.c index 1f7c881..dcb3377 100644 --- a/modbus/modbus.c +++ b/modbus/modbus.c @@ -741,12 +741,10 @@ void manage_query(modbus_param_t *mb_param, uint8_t *query, count = (query[offset+4] << 8) + query[offset+5]; byte_count = 2 * count; offset = build_response_packet(mb_param, slave, function, byte_count, response); - printf("offset %d\n", offset); for (i = address; i < address + count; i++) { response[offset++] = mb_mapping->tab_holding_registers[i] >> 8; response[offset++] = mb_mapping->tab_holding_registers[i] & 0xFF; } - printf("fin offset %d\n", offset); break; case FC_READ_INPUT_REGISTERS: count = (query[offset+4] << 8) + query[offset+5]; -- libgit2 0.21.4