Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
WriteMultipleRegistersRequest: Handle values=None case
Currently, if None is passed in explicitly, or if values is not given, the 'values' object is correctly identified as *not* having an __iter__ attribute, but is incorrectly identified as being a valid register value. This breaks testInvalidWriteMultipleRegistersRequest. Solution: if we see None, replace this with [] and skip the check for __iter__.
- Loading branch information