From 2cbafa3113e276c3697d297f68e88d112b53174d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?St=C3=A9phane=20Raimbault?= Date: Wed, 7 Dec 2022 20:00:14 +0100 Subject: [PATCH] Bump version to 3.1.10 --- NEWS | 7 +++++++ configure.ac | 2 +- tests/unit-test-client.c | 3 ++- 3 files changed, 10 insertions(+), 2 deletions(-) diff --git a/NEWS b/NEWS index 4a5ccd374..e1c5173aa 100644 --- a/NEWS +++ b/NEWS @@ -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 diff --git a/configure.ac b/configure.ac index 7807c0eaf..bbb655b0b 100644 --- a/configure.ac +++ b/configure.ac @@ -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])]) diff --git a/tests/unit-test-client.c b/tests/unit-test-client.c index e01c65e7b..6a25d3622 100644 --- a/tests/unit-test-client.c +++ b/tests/unit-test-client.c @@ -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;