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.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/devices/simple_dev/simple_dev.cpp b/devices/simple_dev/simple_dev.cpp
index eb2dfdd..8f2072f 100644
--- a/devices/simple_dev/simple_dev.cpp
+++ b/devices/simple_dev/simple_dev.cpp
@@ -23,6 +23,7 @@ int main (int argc, char **argv)
{
int ret = 0;
My_device *dev;
+ Distrio::Digital_ptr digital_io;
if (init_corba (argc, argv))
return -EINVAL;
@@ -39,6 +40,8 @@ int main (int argc, char **argv)
std::cout << "registered id: " << dev->id () << std::endl;
+ digital_io = lookup_digital ("pin huhu");
+
out:
free (dev);
return ret;