diff options
| author | guest <guest@c30cbac5-9f56-4f76-8ed5-5c34e48a65ae> | 2007-10-23 15:03:30 +0000 |
|---|---|---|
| committer | guest <guest@c30cbac5-9f56-4f76-8ed5-5c34e48a65ae> | 2007-10-23 15:03:30 +0000 |
| commit | b93bf7c8cffecadb39b2b2d76b3722f67a5f63de (patch) | |
| tree | 089d397b99bd8474ddb75c559e54e096d1a0a893 /dds_io_pub/diasio.cpp | |
| parent | 82cd9d0b1c3140af30518fcc28af539fac5906ae (diff) | |
git-svn-id: svn+ssh://mecka.net/home/svn/dds@17 c30cbac5-9f56-4f76-8ed5-5c34e48a65ae
Diffstat (limited to 'dds_io_pub/diasio.cpp')
| -rw-r--r-- | dds_io_pub/diasio.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/dds_io_pub/diasio.cpp b/dds_io_pub/diasio.cpp index 3e2ca02..f45392a 100644 --- a/dds_io_pub/diasio.cpp +++ b/dds_io_pub/diasio.cpp @@ -68,7 +68,9 @@ void DIASIO::set(TyuInt16 value){ TyuInt16 DIASIO::get(){ iopl( 3 ); - return inw( m_Bereich2 + S_AdresseOut ); + TyuInt16 value = inw( m_Bereich2 + S_AdresseIn ); + //fprintf(stderr, "value: %d\n", value); fflush(stderr); + return value; } void DIASIO::init(){ |
