diff options
| author | Manuel Traut <manut@mecka.net> | 2012-06-08 01:44:02 +0200 |
|---|---|---|
| committer | Manuel Traut <manut@mecka.net> | 2012-06-08 01:44:02 +0200 |
| commit | 2368876f3b07459dbb70ab35e62823099d84061a (patch) | |
| tree | 2d71a42f5f9d296383fcadbed92a61545acdf1c8 | |
| parent | 94604dc09b1b84a808b3cea81bd0ebcf7eea47a7 (diff) | |
generic_gpio: stop cyclic debug output
- and disable io_manager for the moment (not needed)
Signed-off-by: Manuel Traut <manut@mecka.net>
| -rw-r--r-- | io/bin/generic_gpio/generic_gpio.cpp | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/io/bin/generic_gpio/generic_gpio.cpp b/io/bin/generic_gpio/generic_gpio.cpp index 14ab8cc..4fe08c9 100644 --- a/io/bin/generic_gpio/generic_gpio.cpp +++ b/io/bin/generic_gpio/generic_gpio.cpp @@ -15,7 +15,7 @@ class Io_manager : public ACE_Task < ACE_MT_SYNCH > { private: int svc (void) { while (1) { - std::cout << "check inputs" << std::endl; + /** TODO: implement some cyclic gpio stuff */ sleep (1); } } @@ -54,7 +54,7 @@ ACE_TMAIN (int argc, ACE_TCHAR *argv[]) { int ret = 0; My_digital *digital; - Io_manager manager; + /* Io_manager manager; */ if (init_corba (argc, argv)) return -EINVAL; @@ -71,8 +71,12 @@ ACE_TMAIN (int argc, ACE_TCHAR *argv[]) std::cout << "registered id: " << digital->id () << std::endl; + /* TODO: activate if cyclic stuff is needed manager.activate (); manager.wait (); + */ + + join_orb (); out: free (digital); |
