Thanks Doug. I also noticed a couple of odd bits->bytes lines in the code. In several places ceil((double or float) value / 8) or ceil(value / 8.0) is used, and in other places bits is / 8 and then conditionally incremented if there was a remainder. As an embedded programmer, bytes_required = (bits + 7) >> 3, although this may not be valid C++
Thanks Doug. I also noticed a couple of odd bits->bytes lines in the code. In several places ceil((double or float) value / 8 or 8.0) is used, and in other placed bits is / 8 and then conditionally incremented if there was a remainder. As an embedded programmer, bytes_required = (bits + 7) >> 3, although this may not be valid C++
Thanks Doug. I also noticed a couple of odd bits->bytes lines in the code. In several places ceil((double or float) value / 8) is used, and in other placed bits is / 8 and then conditionally incremented if there was a remainder. As an embedded programmer, bytes_required = (bits + 7) >> 3, although this may not be valid C++
Write multiple coils overshoots by 1 bit for Modbus/TCP
Thanks! I had a similar problem trying to configure make 3.82 on Ubuntu12.04LTS in...