summaryrefslogtreecommitdiff
path: root/devices/simple_dev/simple_dev.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'devices/simple_dev/simple_dev.cpp')
-rw-r--r--devices/simple_dev/simple_dev.cpp8
1 files changed, 7 insertions, 1 deletions
diff --git a/devices/simple_dev/simple_dev.cpp b/devices/simple_dev/simple_dev.cpp
index fc79d77..7f32eb2 100644
--- a/devices/simple_dev/simple_dev.cpp
+++ b/devices/simple_dev/simple_dev.cpp
@@ -77,13 +77,19 @@ ACE_TMAIN (int argc, ACE_TCHAR *argv[])
goto out;
}
+
+ dev->huhu_pin->set ();
+ sleep (1);
+ dev->huhu_pin->reset ();
+
+/*
try {
dev->huhu_pin->register_callback ( (Distrio::Device_ptr) dev,
Distrio::TRIGGER_FALLING_EDGE);
} catch (::CORBA::Exception &ex) {
std::cerr << "register cb failed" << std::endl;
}
-
+*/
dev->function_list.length (2);
dev->function_list[0].id = ::Distrio::DEV_START;