From febfbaa141125c24d3a40e17034261c5354a0973 Mon Sep 17 00:00:00 2001 From: Jeff Hatch Date: Mon, 16 Nov 2020 15:56:21 -0600 Subject: Add supercap_worker to handle supercap gpio and signal supercap-monitor --- io-module/machine/mtcap.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'io-module/machine') diff --git a/io-module/machine/mtcap.c b/io-module/machine/mtcap.c index 99e1999..c2a4687 100644 --- a/io-module/machine/mtcap.c +++ b/io-module/machine/mtcap.c @@ -1,4 +1,5 @@ #include "at91gpio.h" +#include "mts_supercap.h" /* Used for both MTCAP 0.0 and 0.1 */ static struct gpio_pin gpio_pins_mtcap_0_0[] = { { @@ -670,6 +671,7 @@ static struct attribute *mtcap_0_3_supercap_attributes[] = { &dev_attr_supercap_allow_reset_mtcap.attr, &dev_attr_supercap_power_fail_mtcap.attr, &dev_attr_supercap_supercap_full_mtcap.attr, + &dev_attr_supercap_monitor.attr, }; static struct attribute *mtcap_0_2_enable_radio_attribute[] = { -- cgit v1.2.3