summaryrefslogtreecommitdiff
path: root/src/Device/Device.cpp
diff options
context:
space:
mode:
authorJohn Klug <john.klug@multitech.com>2023-12-11 10:06:52 -0600
committerJohn Klug <john.klug@multitech.com>2023-12-11 10:06:52 -0600
commit937e17d415f6719cdac0545d7999bc305c742739 (patch)
tree04a5602b6395b49b4c1c32edda42b5caa0bf6fb4 /src/Device/Device.cpp
parent9d89b055e1d14c1326bb50c93379a4426617427f (diff)
downloadmts-io-sysfs-937e17d415f6719cdac0545d7999bc305c742739.tar.gz
mts-io-sysfs-937e17d415f6719cdac0545d7999bc305c742739.tar.bz2
mts-io-sysfs-937e17d415f6719cdac0545d7999bc305c742739.zip
Return after sucessfully setting a GPIO value for pulse feature
Diffstat (limited to 'src/Device/Device.cpp')
-rw-r--r--src/Device/Device.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Device/Device.cpp b/src/Device/Device.cpp
index 193b7f7..cb02d22 100644
--- a/src/Device/Device.cpp
+++ b/src/Device/Device.cpp
@@ -769,7 +769,7 @@ void Device::store(std::string name, std::string value) {
if(retval == -1) {
simpleError("Could not set GPIO value",errno,111);
}
- exitHandler(0);
+ return 0;
}
}
}