Updated cli to use led map
This commit is contained in:
committed by
ncthompson
parent
6bd668eb65
commit
892ea5aa1f
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user