mirror of
https://github.com/xoseperez/espurna.git
synced 2026-03-03 06:54:16 +01:00
Reading clang-tidy reports... Make sure to explicitly handle instances of float -> (unsigned) long silently removing the fractional part. Also, small adjustments to the way these values are parsed. Specifically: - calculating step & time in the transition function - rgb channels temperature adjustment from kelvins Get rid of input & target as bool param. Replace it with more specific functions, named accordingly, returning the Rgb struct. (also fixes `rgb` command not returning what the rest of the API returns) As a side-effect, make RGB payload conversion use a more paranoid parsing & serialization methods.