From 7ff79f4e711c2d55daf667092cfce0289b1a7a9b Mon Sep 17 00:00:00 2001 From: a1xd <68629610+a1xd@users.noreply.github.com> Date: Tue, 1 Sep 2020 22:28:45 -0400 Subject: add 1s write delay to driver --- wrapper/wrapper_io.cpp | 4 ---- wrapper/wrapper_io.hpp | 2 -- 2 files changed, 6 deletions(-) (limited to 'wrapper') 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 {}; -- cgit v1.2.3