Diffstat (limited to 'examples/opiecore/opcmciademo/main.cpp') (more/less context) (show whitespace changes)
-rw-r--r-- | examples/opiecore/opcmciademo/main.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/examples/opiecore/opcmciademo/main.cpp b/examples/opiecore/opcmciademo/main.cpp index 3ee22c2..dfc4287 100644 --- a/examples/opiecore/opcmciademo/main.cpp +++ b/examples/opiecore/opcmciademo/main.cpp | |||
@@ -12,12 +12,14 @@ int main( int argc, char** argv ) | |||
12 | 12 | ||
13 | OPcmciaSystem::CardIterator it = sys->iterator(); | 13 | OPcmciaSystem::CardIterator it = sys->iterator(); |
14 | OPcmciaSocket* sock = 0; | 14 | OPcmciaSocket* sock = 0; |
15 | while ( sock = it.current() ) | 15 | while ( sock = it.current() ) |
16 | { | 16 | { |
17 | odebug << "card in socket # " << sock->number() << " is '" << sock->identity() << "'" << oendl; | 17 | odebug << "card in socket # " << sock->number() << " is '" << sock->identity() << "'" << oendl; |
18 | odebug << "card status is " << sock->status() << oendl; | ||
19 | odebug << "card function is " << sock->function() << oendl; | ||
18 | ++it; | 20 | ++it; |
19 | } | 21 | } |
20 | 22 | ||
21 | odebug << "end" << oendl; | 23 | odebug << "end" << oendl; |
22 | return 0; | 24 | return 0; |
23 | } | 25 | } |