diff --git a/chip/g/rdd.c b/chip/g/rdd.c index 3e142c16fd..d02ec362f7 100644 --- a/chip/g/rdd.c +++ b/chip/g/rdd.c @@ -40,8 +40,6 @@ void rdd_interrupt(void) is_debug = debug_cable_is_attached(); if (is_debug) { - disable_sleep(SLEEP_MASK_RDD); - CPRINTS("Debug Accessory connected"); /* Detect when debug cable is disconnected */ @@ -57,7 +55,6 @@ void rdd_interrupt(void) rdd_detached(); cflush(); - enable_sleep(SLEEP_MASK_RDD); } /* Clear interrupt */ diff --git a/include/system.h b/include/system.h index d43d1d54f8..fa16846303 100644 --- a/include/system.h +++ b/include/system.h @@ -341,8 +341,6 @@ enum { SLEEP_MASK_I2C_SLAVE = (1 << 7), /* I2C slave communication ongoing */ SLEEP_MASK_FAN = (1 << 8), /* Fan control loop ongoing */ SLEEP_MASK_USB_DEVICE = (1 << 9), /* Generic USB device in use */ - SLEEP_MASK_RDD = (1 << 10),/* RDD ongoing */ - SLEEP_MASK_FORCE_NO_DSLEEP = (1 << 15), /* Force disable. */