Skip to content

Commit

Permalink
Bump version to 3.1.10
Browse files Browse the repository at this point in the history
  • Loading branch information
stephane committed Dec 7, 2022
1 parent 11411f5 commit 2cbafa3
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 2 deletions.
7 changes: 7 additions & 0 deletions NEWS
Original file line number Diff line number Diff line change
@@ -1,5 +1,12 @@
# NEWS

## libmodbus 3.1.10 (2022-12-07)

Urgent release to fix a regression.

- Fix baud rate handling with RTU under Linux
- Fix modbus_disable_quirks signature

## libmodbus 3.1.9 (2022-12-03)

- Remove Travis CI
Expand Down
2 changes: 1 addition & 1 deletion configure.ac
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
#
m4_define([libmodbus_version_major], [3])
m4_define([libmodbus_version_minor], [1])
m4_define([libmodbus_version_micro], [9])
m4_define([libmodbus_version_micro], [10])

m4_define([libmodbus_release_status],
[m4_if(m4_eval(libmodbus_version_minor % 2), [1], [snapshot], [release])])
Expand Down
3 changes: 2 additions & 1 deletion tests/unit-test-client.c
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,8 @@ int equal_dword(uint16_t *tab_reg, const uint32_t value)

int main(int argc, char *argv[])
{
const int NB_REPORT_SLAVE_ID = 10;
/* Length of report slave ID response slave ID + ON/OFF + 'LMB' + version */
const int NB_REPORT_SLAVE_ID = 2 + 3 + strlen(LIBMODBUS_VERSION_STRING);
uint8_t *tab_rp_bits = NULL;
uint16_t *tab_rp_registers = NULL;
uint16_t *tab_rp_registers_bad = NULL;
Expand Down

0 comments on commit 2cbafa3

Please sign in to comment.