summaryrefslogtreecommitdiff
path: root/io-module/machine
diff options
context:
space:
mode:
authorJeff Hatch <jhatch@multitech.com>2020-11-16 15:56:21 -0600
committerJohn Klug <john.klug@multitech.com>2020-11-23 14:22:34 -0600
commitfebfbaa141125c24d3a40e17034261c5354a0973 (patch)
treed16d84058fb005e0e5262b1a0bd16d63cd6c08f1 /io-module/machine
parente8af5a62cb51f9bca1900c17b021cf5bc240c029 (diff)
downloadmts-io-febfbaa141125c24d3a40e17034261c5354a0973.tar.gz
mts-io-febfbaa141125c24d3a40e17034261c5354a0973.tar.bz2
mts-io-febfbaa141125c24d3a40e17034261c5354a0973.zip
Add supercap_worker to handle supercap gpio and signal supercap-monitor
Diffstat (limited to 'io-module/machine')
-rw-r--r--io-module/machine/mtcap.c2
1 files changed, 2 insertions, 0 deletions
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[] = {