aboutsummaryrefslogtreecommitdiff
path: root/unittest
diff options
context:
space:
mode:
Diffstat (limited to 'unittest')
-rw-r--r--unittest/test.cc5
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);