Sfoglia il codice sorgente

Indicates the required Linux version for RS485 functions

Thank you Ivo De Decker.
Stéphane Raimbault 14 anni fa
parent
commit
a17a858c0f

+ 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