For example if the previous angle was 269 and the new angle is -84, then the current code would rotate the needle in a clockwise direction. This fix would add 360 to -84, so the new angle would be 276, which would result in the correct behaviour of the needle rotating anti-clockwise.
This fixes a large number of white space errors in the examples/
directory.
When I upgraded Makefile to check the 'make style' on the examples
directory,
the output was hundreds of lines long. Currently, the output is
managable
and consists solely of "lines too long", as kv lines cannot be split.
This
commit touches an obscene number of files in trivial ways.