Morpheuz support: Fix 3.1 compatibility
This commit is contained in:
parent
042963f2e2
commit
c98716d469
|
@ -27,6 +27,7 @@ public class MorpheuzSupport {
|
||||||
public static final int KEY_VERSION = 6;
|
public static final int KEY_VERSION = 6;
|
||||||
public static final int KEY_GONEOFF = 7;
|
public static final int KEY_GONEOFF = 7;
|
||||||
public static final int KEY_TRANSMIT = 8;
|
public static final int KEY_TRANSMIT = 8;
|
||||||
|
public static final int KEY_AUTO_RESET = 9;
|
||||||
|
|
||||||
public static final int CTRL_TRANSMIT_DONE = 1;
|
public static final int CTRL_TRANSMIT_DONE = 1;
|
||||||
public static final int CTRL_VERSION_DONE = 2;
|
public static final int CTRL_VERSION_DONE = 2;
|
||||||
|
@ -135,6 +136,9 @@ public class MorpheuzSupport {
|
||||||
LOG.info("got base: " + recording_base_timestamp);
|
LOG.info("got base: " + recording_base_timestamp);
|
||||||
ctrl_message = MorpheuzSupport.CTRL_VERSION_DONE | MorpheuzSupport.CTRL_SET_LAST_SENT | MorpheuzSupport.CTRL_DO_NEXT;
|
ctrl_message = MorpheuzSupport.CTRL_VERSION_DONE | MorpheuzSupport.CTRL_SET_LAST_SENT | MorpheuzSupport.CTRL_DO_NEXT;
|
||||||
break;
|
break;
|
||||||
|
case KEY_AUTO_RESET:
|
||||||
|
ctrl_message = MorpheuzSupport.CTRL_VERSION_DONE | MorpheuzSupport.CTRL_SET_LAST_SENT | MorpheuzSupport.CTRL_DO_NEXT;
|
||||||
|
break;
|
||||||
default:
|
default:
|
||||||
LOG.info("unhandled key: " + pair.first);
|
LOG.info("unhandled key: " + pair.first);
|
||||||
break;
|
break;
|
||||||
|
|
Loading…
Reference in New Issue