Updated cli to use led map

This commit is contained in:
Nicholas Thompson
2019-02-27 23:26:50 +02:00
committed by ncthompson
parent 6bd668eb65
commit 892ea5aa1f
2 changed files with 10 additions and 7 deletions

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