Commit 9226613778b8f6ccc8c00b0e2581376b9c1d6259
1 parent
457be540
Compiling with -Werror=pendantic produces an error (closes #183)
Showing
1 changed file
with
1 additions
and
1 deletions
src/modbus.h
| ... | ... | @@ -176,7 +176,7 @@ typedef enum |
| 176 | 176 | { |
| 177 | 177 | MODBUS_ERROR_RECOVERY_NONE = 0, |
| 178 | 178 | MODBUS_ERROR_RECOVERY_LINK = (1<<1), |
| 179 | - MODBUS_ERROR_RECOVERY_PROTOCOL = (1<<2), | |
| 179 | + MODBUS_ERROR_RECOVERY_PROTOCOL = (1<<2) | |
| 180 | 180 | } modbus_error_recovery_mode; |
| 181 | 181 | |
| 182 | 182 | MODBUS_API int modbus_set_slave(modbus_t* ctx, int slave); | ... | ... |