diff --git a/app/src/main/java/nodomain/freeyourgadget/gadgetbridge/pebble/MorpheuzSupport.java b/app/src/main/java/nodomain/freeyourgadget/gadgetbridge/pebble/MorpheuzSupport.java index 9c10fdaf..943cce77 100644 --- a/app/src/main/java/nodomain/freeyourgadget/gadgetbridge/pebble/MorpheuzSupport.java +++ b/app/src/main/java/nodomain/freeyourgadget/gadgetbridge/pebble/MorpheuzSupport.java @@ -27,6 +27,7 @@ public class MorpheuzSupport { public static final int KEY_VERSION = 6; public static final int KEY_GONEOFF = 7; 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_VERSION_DONE = 2; @@ -135,6 +136,9 @@ public class MorpheuzSupport { LOG.info("got base: " + recording_base_timestamp); ctrl_message = MorpheuzSupport.CTRL_VERSION_DONE | MorpheuzSupport.CTRL_SET_LAST_SENT | MorpheuzSupport.CTRL_DO_NEXT; break; + case KEY_AUTO_RESET: + ctrl_message = MorpheuzSupport.CTRL_VERSION_DONE | MorpheuzSupport.CTRL_SET_LAST_SENT | MorpheuzSupport.CTRL_DO_NEXT; + break; default: LOG.info("unhandled key: " + pair.first); break;