Commit 976e7d6634808a35e8b8f1ae588a62b6c4bc3cfe

Authored by Stéphane Raimbault
1 parent a766f17d

Fix typo on connection (closes #586).

Thank you @peternewman.
Showing 1 changed file with 1 additions and 1 deletions
doc/modbus_rtu_set_rts.txt
... ... @@ -55,7 +55,7 @@ modbus_rtu_set_serial_mode(ctx, MODBUS_RTU_RS485);
55 55 modbus_rtu_set_rts(ctx, MODBUS_RTU_RTS_UP);
56 56  
57 57 if (modbus_connect(ctx) == -1) {
58   - fprintf(stderr, "Connexion failed: %s\n", modbus_strerror(errno));
  58 + fprintf(stderr, "Connection failed: %s\n", modbus_strerror(errno));
59 59 modbus_free(ctx);
60 60 return -1;
61 61 }
... ...