Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-54264

QModbuDataUnit::setValueCount has no effect

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Invalid
    • Icon: Not Evaluated Not Evaluated
    • None
    • 5.7.0
    • SerialBus: MOD Bus
    • None

      It seems that QModbuDataUnit::setValueCount doesn't resize data vector, while class constructor and setValues do.

      It is possible to see In the source code " inline void setValueCount(uint newCount)

      { m_valueCount = newCount; }

      " that function doesn't touch the data vector, but only count variable.

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

            heimrich Karsten Heimrich
            alexnevskiy Alex Nevskiy
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes