Browse Source

Fix detection of GLOBAL mode

In the MODE AND STATE reply, the global mode is indicated by a
value of 0x06 (not 0x05) in the sixth byte.
develop
Damien Goutte-Gattat 5 years ago
parent
commit
5010328b55
  1. 2
      src/kmxtool.c
  2. 2
      src/microx.h

2
src/kmxtool.c

@ -104,7 +104,7 @@ static void
print_microx_status(struct kmx_microx_status *s)
{
static const char *modes[] = { "COMBI PLAY", "COMBI EDIT", "PROG PLAY",
"PROG EDIT", "MULTI", "GLOBAL" };
"PROG EDIT", "MULTI", "", "GLOBAL" };
static const char *clock[] = { "Internal", "Ext-MIDI", "Ext-USB", "AUTO" };
static const char *flter[] = { "All", "Odd", "Even" };
static const char *yesno[] = { "No", "Yes" };

2
src/microx.h

@ -94,7 +94,7 @@ enum kmx_microx_mode
PROG_PLAY,
PROG_EDIT,
MULTI,
GLOBAL,
GLOBAL = 0x06,
DEMO = 0x7F
};

Loading…
Cancel
Save