Explorar o código

Compiling with -Werror=pendantic produces an error (closes #183)

Stéphane Raimbault %!s(int64=11) %!d(string=hai) anos
pai
achega
9226613778
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      src/modbus.h

+ 1 - 1
src/modbus.h

@@ -176,7 +176,7 @@ typedef enum
 {
     MODBUS_ERROR_RECOVERY_NONE          = 0,
     MODBUS_ERROR_RECOVERY_LINK          = (1<<1),
-    MODBUS_ERROR_RECOVERY_PROTOCOL      = (1<<2),
+    MODBUS_ERROR_RECOVERY_PROTOCOL      = (1<<2)
 } modbus_error_recovery_mode;
 
 MODBUS_API int modbus_set_slave(modbus_t* ctx, int slave);