From 74d59a3cee43f4afd82a1309c7e53205e2b502b4 Mon Sep 17 00:00:00 2001 From: Joey Castillo Date: Tue, 13 May 2025 18:46:48 -0400 Subject: [PATCH] resume disabling EIC in deep sleep --- watch-library/hardware/watch/watch_deepsleep.c | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/watch-library/hardware/watch/watch_deepsleep.c b/watch-library/hardware/watch/watch_deepsleep.c index c3cbbe2d..a0abe5eb 100644 --- a/watch-library/hardware/watch/watch_deepsleep.c +++ b/watch-library/hardware/watch/watch_deepsleep.c @@ -153,11 +153,9 @@ static void _watch_disable_all_pins_except_rtc(void) { static void _watch_disable_all_peripherals_except_slcd(void) { _watch_disable_tcc(); watch_disable_adc(); - /// FIXME: I just disabled this next line since we need the EIC's event system connection to count orientation changes. - // The TODO item: need to power profile the impact of keeping EIC enabled, as well as the UI implications. - // watch_disable_external_interrupts(); + watch_disable_external_interrupts(); - /// TODO: Actually disable all these peripherals! #SecondMovement + /// TODO: Actually disable all these peripherals? Disabling I2C seems to have no impact fwiw. // watch_disable_i2c(); // SERCOM3->USART.CTRLA.reg &= ~SERCOM_USART_CTRLA_ENABLE; // MCLK->APBCMASK.reg &= ~MCLK_APBCMASK_SERCOM3;