summaryrefslogtreecommitdiff
path: root/include/dissect.h
diff options
context:
space:
mode:
authorSzczepan Zalega <szczepan@nitrokey.com>2016-10-18 15:29:20 +0200
committerSzczepan Zalega <szczepan@nitrokey.com>2016-10-19 16:40:25 +0200
commitf9cc44df7e2882557e37cfb1e0ebe6d779d5eeb5 (patch)
treecb9b1ae90c6bfab9d6cd3d6b193b5941c00863ae /include/dissect.h
parentb33580e849bbdc8162135e74c9bd0405da454883 (diff)
downloadlibnitrokey-f9cc44df7e2882557e37cfb1e0ebe6d779d5eeb5.tar.gz
libnitrokey-f9cc44df7e2882557e37cfb1e0ebe6d779d5eeb5.tar.bz2
Code refactoring: variables names unification
Signed-off-by: Szczepan Zalega <szczepan@nitrokey.com>
Diffstat (limited to 'include/dissect.h')
-rw-r--r--include/dissect.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/include/dissect.h b/include/dissect.h
index 56c1403..59e6e9c 100644
--- a/include/dissect.h
+++ b/include/dissect.h
@@ -80,10 +80,10 @@ class ResponseDissector : semantics::non_constructible {
out << "Storage stick status:" << std::endl;
#define d(x) out << " "#x": \t"<< std::hex << std::setw(2) \
<< std::setfill('0')<< static_cast<int>(x) << std::endl;
- d(pod.StorageStatus.CommandCounter_u8);
- d(pod.StorageStatus.LastCommand_u8);
- d(pod.StorageStatus.Status_u8);
- d(pod.StorageStatus.ProgressBarValue_u8);
+ d(pod.storage_status.command_counter);
+ d(pod.storage_status.command_id);
+ d(pod.storage_status.device_status);
+ d(pod.storage_status.progress_bar_value);
#undef d
out << "Payload:" << std::endl;