+#define LED_TEST 1
+#if LED_TEST
+static void
+ao_led_test(void)
+{
+ AO_LED_TYPE r = ao_cmd_hexbyte();
+ if (ao_cmd_status != ao_cmd_success)
+ return;
+ ao_led_set(r);
+ printf("LEDs set to %x\n", r);
+}
+
+static const struct ao_cmds ao_led_cmds[] = {
+ { ao_led_test, "l <value>\0Set LEDs to <value>" },
+ { 0, NULL }
+};
+#endif
+