Open wangqg99 opened 9 months ago
In file common/mbu_common.h, there is code snip as: case 'b': { rtuParams->baud = getInt(value, &ok); if (0 != ok) { printf("Baudrate is invalid %s", value); ok = 0; } Is it should be ? if (0 == ok) {
In file common/mbu_common.h, there is code snip as: case 'b': { rtuParams->baud = getInt(value, &ok); if (0 != ok) { printf("Baudrate is invalid %s", value); ok = 0; } Is it should be ? if (0 == ok) {