diff options
author | Szczepan Zalega <szczepan.zalega@gmail.com> | 2016-02-13 17:55:31 +0100 |
---|---|---|
committer | Szczepan Zalega <szczepan.zalega@gmail.com> | 2016-02-13 17:55:31 +0100 |
commit | 6a8151c3a25b09a12118343342fdd87b3d429a83 (patch) | |
tree | 2ccf7877cfa14873efe173a53ed322defc81206f | |
parent | d8dd70b7f9577322424002b256bb8b2367107a2f (diff) | |
download | libnitrokey-6a8151c3a25b09a12118343342fdd87b3d429a83.tar.gz libnitrokey-6a8151c3a25b09a12118343342fdd87b3d429a83.tar.bz2 |
testing stick 10
-rw-r--r-- | unittest/test.cc | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/unittest/test.cc b/unittest/test.cc index c0762a5..f24fc54 100644 --- a/unittest/test.cc +++ b/unittest/test.cc @@ -10,9 +10,10 @@ using namespace nitrokey::proto::stick10; using namespace nitrokey::log; int main() { - Stick20 stick; + Stick10 stick; + cout << stick.connect() << endl; - Log::instance().set_loglevel(Loglevel::DEBUG); + Log::instance().set_loglevel(Loglevel::DEBUG_L2); { auto resp = GetStatus::CommandTransaction::run(stick); |