From b00b27cbdc2fb5f9728c96b4eac448b81e0824ac Mon Sep 17 00:00:00 2001 From: Stéphane Raimbault Date: Tue, 19 Apr 2011 19:27:48 +0200 Subject: [PATCH] Fix typo in documentation of modbus_new_rtu --- doc/modbus_new_rtu.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/modbus_new_rtu.txt b/doc/modbus_new_rtu.txt index 15def19..f88dc54 100644 --- a/doc/modbus_new_rtu.txt +++ b/doc/modbus_new_rtu.txt @@ -59,7 +59,7 @@ EXAMPLE ------------------- modbus_t *ctx; -ctx = modbus_new_ru("/dev/ttyUSB0", 115200, 'N', 8, 1); +ctx = modbus_new_rtu("/dev/ttyUSB0", 115200, 'N', 8, 1); if (ctx == NULL) { fprintf(stderr, "Unable to create the libmodbus context\n"); return -1; -- libgit2 0.21.4