cleaned up code, changed on/off functionality to boolean

on/off functionality was used by u32. once this u32 reaches
a certain number, it is then an overflow error. booleans doesn't
have this problem.
This commit is contained in:
Wyatt J. Miller committed 2020-04-03 23:39:59 +01:00
1 parent a3ddfc2734
commit 7112dadf29
6 files changed
+309 -428

No files matched your search

+2 -1
View File
@@ -17,4 +17,5 @@ rppal = {version = "0.11.3", features = ['hal']}
smart-leds = "0.3.0"
ws2812-spi = "0.2.0"
embedded-hal = "0.2.3"
linux-embedded-hal = "*"
linux-embedded-hal = "*"
failure = "0.1.7"