Skip to content

4.2.0

Latest
Compare
Choose a tag to compare
@ssilverman ssilverman released this 29 May 16:54
· 54 commits to master since this release

Added

  • New Sender::fill function that fills a channel range with a value.
  • Added NULL checking for the values pointer in Sender::set and Sender::set16Bit.

Changed

  • No more volatile objects with weird copy constructors and assignment operators. Using atomic fences instead.
  • Improved use of public, protected, private, and volatile.
  • Sender::setPacketSize now disallows sizes of zero. The new allowed range is 1-513.
  • Timeout detection in Flasher, USBProWidget, and the README now compare using strictly less than the timeout value so that the timeout value itself can be used to manually trigger a timeout, instead of having to use an arbitrary value greater than the timeout value.
  • Changed uses of std::shared_ptr to regular pointers.

Fixed

  • Ensure the packet size can't be changed in the middle of sending a packet.
  • Improved lambda hygiene.