From 270672ff5320169ef26cd4414cfe7dc8696351c6 Mon Sep 17 00:00:00 2001 From: Szczepan Zalega Date: Sat, 5 Mar 2016 13:21:04 +0100 Subject: adding status check for each iteration --- unittest/test.cc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/unittest/test.cc b/unittest/test.cc index 9d1423c..7081144 100644 --- a/unittest/test.cc +++ b/unittest/test.cc @@ -26,10 +26,11 @@ int main() { } { - for (int i=0x20; i<0x23; i++) { + for (int i=0x20; i<0x25; i++) { ReadSlot::CommandTransaction::CommandPayload slot_req; slot_req.slot_number = i; auto slot = ReadSlot::CommandTransaction::run(stick, slot_req); + auto resp = GetStatus::CommandTransaction::run(stick); } } stick.disconnect(); -- cgit v1.2.3