diff options
Diffstat (limited to 'common/tsu6721.c')
-rw-r--r-- | common/tsu6721.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/common/tsu6721.c b/common/tsu6721.c index af562a579b..d6fc67ce23 100644 --- a/common/tsu6721.c +++ b/common/tsu6721.c @@ -110,6 +110,11 @@ void tsu6721_init(void) settings = tsu6721_read(TSU6721_REG_TIMER); settings = (settings & ~0x38); tsu6721_write(TSU6721_REG_TIMER, settings); + + tsu6721_enable_interrupts(TSU6721_INT_ATTACH | + TSU6721_INT_DETACH | + TSU6721_INT_ADC_CHANGE | + TSU6721_INT_VBUS); } /* * TODO(vpalatin): using the I2C early in the HOOK_INIT |