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

QModbuDataUnit::setValueCount has no effect

    XMLWordPrintable

Details

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

    Description

      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.

      Attachments

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

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes