Closed robberwick closed 6 months ago
These may not be used by the library itself, but I do feel they are useful tools. I'd prefer to keep them as long as they don't cause issues with other parts of the library.
well that's certainly reasonable. In the case of the msb
and lsb
functions perhaps if they were moved to a utilities
or helpers
module and commented as such, there would be less expectation that they were used as part of the core functionality?
In the case of the open_ports
function, that seems to be entirely replicating the functionality of the serial_ports
function which uses the tools provided by pyserial directly. It seems suboptimal to maintain both, so perhaps open_ports
could be removed? Or, if you think it is in use, then it could be retained, but act simply as a proxy to serial_ports
, and be commented as deprecated? or vice versa, of course.
Just checking on what you felt about the suggestion above? if you're happy with that, i'll go ahead and make the changes.
After thinking about it, I'm ok with removing these functions
The
msb
,lsb
, andopen_ports
functions are unused and can be removed frompySerialTransfer.py
Addresses #87