diff options
author | Alice Sheng <alicesheng@google.com> | 2022-03-25 17:34:30 -0700 |
---|---|---|
committer | Andrew Evans <andrewevans@google.com> | 2022-04-19 10:16:03 -0700 |
commit | c5c7e44b5aeeda5ea1a1560d01c37c3f72d1606f (patch) | |
tree | d54a0bc9dfaa5c28443ac3021bb70746c593c3b2 | |
parent | 26e3949e847d4d96674909ddfe4374cb37dfd598 (diff) | |
download | nanohub-c5c7e44b5aeeda5ea1a1560d01c37c3f72d1606f.tar.gz |
Remove mask/unmask interrupt calls
The MCU doesn't support it and causes it to go into a retry loop when
the irq2 isn't defined.
Bug: 222158397
Change-Id: I9dab60b8f1e6b3f090ba828afc11c733e6169741
-rw-r--r-- | main.c | 8 |
1 files changed, 6 insertions, 2 deletions
@@ -507,13 +507,17 @@ static void __nanohub_interrupt_cfg(struct nanohub_data *data, static inline void nanohub_mask_interrupt(struct nanohub_data *data, u8 interrupt) { - __nanohub_interrupt_cfg(data, interrupt, true); + // not supported in r11 + //__nanohub_interrupt_cfg(data, interrupt, true); + return; } static inline void nanohub_unmask_interrupt(struct nanohub_data *data, u8 interrupt) { - __nanohub_interrupt_cfg(data, interrupt, false); + // not supported in r11 + //__nanohub_interrupt_cfg(data, interrupt, false); + return; } static ssize_t nanohub_wakeup_query(struct device *dev, |