admin: implement jtag command

master
S.J.R. van Schaik 7 years ago
parent a7021ab486
commit 9bb1bcc70f
  1. 5
      admin/main.go

@ -17,6 +17,7 @@ var (
commands = map[string]CommandFunc{ commands = map[string]CommandFunc{
"echo": cmd_echo, "echo": cmd_echo,
"jtag": cmd_jtag,
"buzzer": cmd_buzzer, "buzzer": cmd_buzzer,
"led": cmd_led, "led": cmd_led,
"reset": cmd_reset, "reset": cmd_reset,
@ -64,6 +65,10 @@ func cmd_echo(tbm *TBM, args []string) error {
return cmd_generic(tbm, "echo", args, nil); return cmd_generic(tbm, "echo", args, nil);
} }
func cmd_jtag(tbm *TBM, args []string) error {
return cmd_generic(tbm, "jtag", args, nil)
}
func cmd_buzzer(tbm *TBM, args []string) error { func cmd_buzzer(tbm *TBM, args []string) error {
return cmd_generic(tbm, "buzzer", args, nil) return cmd_generic(tbm, "buzzer", args, nil)
} }

Loading…
Cancel
Save