Quellcode durchsuchen

Indicates the required Linux version for RS485 functions

Thank you Ivo De Decker.
Stéphane Raimbault vor 14 Jahren
Ursprung
Commit
a17a858c0f
3 geänderte Dateien mit 3 neuen und 3 gelöschten Zeilen
  1. 1 1
      configure.ac
  2. 1 1
      doc/modbus_rtu_get_serial_mode.txt
  3. 1 1
      doc/modbus_rtu_set_serial_mode.txt

+ 1 - 1
configure.ac

@@ -127,7 +127,7 @@ if test "x$HAVE_WINSOCK2_H" = "xyes"; then
    AC_SUBST(LIBS)
 fi
 
-# Check for RS485 support (recent Linux kernels)
+# Check for RS485 support (Linux kernel version 2.6.28+)
 AC_CHECK_DECLS([TIOCSRS485], [], [], [[#include <sys/ioctl.h>]])
 
 AC_CONFIG_FILES([

+ 1 - 1
doc/modbus_rtu_get_serial_mode.txt

@@ -30,7 +30,7 @@ currently used by the libmodbus context:
  automation because it can be used effectively over long distances and in
  electrically noisy environments.
 
-This function is only available on recent Linux kernels.
+This function is only available on Linux kernels 2.6.28 onwards.
 
 
 RETURN VALUE

+ 1 - 1
doc/modbus_rtu_set_serial_mode.txt

@@ -30,7 +30,7 @@ mode:
  automation because it can be used effectively over long distances and in
  electrically noisy environments.
 
-This function is only available on recent Linux kernels.
+This function is only available on Linux kernels 2.6.28 onwards.
 
 
 RETURN VALUE