Updated cli to use led map

This commit is contained in:
Nicholas Thompson authored and ncthompson committed 2019-03-13 00:18:20 +02:00
1 parent 6bd668eb65
commit 892ea5aa1f
2 files changed
+10 -7

No files matched your search

+6
View File
@@ -34,6 +34,12 @@ const (
LedBlink
)
var StateNames = map[LEDstate]string{
LedOff: "off",
LedOn: "on",
LedBlink: "blink",
}
type Mk2Info struct {
// Will be marked as false if an error is detected.
Valid bool