summaryrefslogtreecommitdiff
path: root/wrapper
diff options
context:
space:
mode:
authora1xd <[email protected]>2020-09-01 22:28:45 -0400
committera1xd <[email protected]>2020-09-01 22:28:45 -0400
commit7ff79f4e711c2d55daf667092cfce0289b1a7a9b (patch)
tree28ebe356b2954911c2bbb4f09ac5ddee12578b31 /wrapper
parentMerge pull request #17 from a1xd/indep (diff)
downloadrawaccel-7ff79f4e711c2d55daf667092cfce0289b1a7a9b.tar.xz
rawaccel-7ff79f4e711c2d55daf667092cfce0289b1a7a9b.zip
add 1s write delay to driver
Diffstat (limited to 'wrapper')
-rw-r--r--wrapper/wrapper_io.cpp4
-rw-r--r--wrapper/wrapper_io.hpp2
2 files changed, 0 insertions, 6 deletions
diff --git a/wrapper/wrapper_io.cpp b/wrapper/wrapper_io.cpp
index 3f5673a..0f257bf 100644
--- a/wrapper/wrapper_io.cpp
+++ b/wrapper/wrapper_io.cpp
@@ -9,10 +9,6 @@ void wrapper_io::writeToDriver(const settings& args)
{
write(args);
}
- catch (const cooldown_error&)
- {
- throw gcnew DriverWriteCDException();
- }
catch (const install_error&)
{
throw gcnew DriverNotInstalledException();
diff --git a/wrapper/wrapper_io.hpp b/wrapper/wrapper_io.hpp
index aff572b..19f096f 100644
--- a/wrapper/wrapper_io.hpp
+++ b/wrapper/wrapper_io.hpp
@@ -17,5 +17,3 @@ public:
};
public ref struct DriverNotInstalledException : public DriverIOException {};
-
-public ref struct DriverWriteCDException : public DriverIOException {};