summaryrefslogtreecommitdiff
path: root/device.cc
diff options
context:
space:
mode:
authorSzczepan Zalega <szczepan@nitrokey.com>2017-02-17 17:49:20 +0100
committerSzczepan Zalega <szczepan@nitrokey.com>2017-03-11 15:41:48 +0100
commit6061ee1af573147e41a0834d1c6628eda2fa2f7c (patch)
tree6c6472d0d18970b9212d393e722ffba5d02ebb73 /device.cc
parent5650e48b114529075d89dbdde0330901351b8460 (diff)
downloadlibnitrokey-6061ee1af573147e41a0834d1c6628eda2fa2f7c.tar.gz
libnitrokey-6061ee1af573147e41a0834d1c6628eda2fa2f7c.tar.bz2
Rename is_connected to be more specific
Signed-off-by: Szczepan Zalega <szczepan@nitrokey.com>
Diffstat (limited to 'device.cc')
-rw-r--r--device.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/device.cc b/device.cc
index 8fdf99a..fcc3ba7 100644
--- a/device.cc
+++ b/device.cc
@@ -115,7 +115,7 @@ int Device::recv(void *packet) {
return status;
}
-bool Device::is_connected() {
+bool Device::could_be_enumerated() {
Log::instance()(__FUNCTION__, Loglevel::DEBUG_L2);
std::lock_guard<std::mutex> lock(mex_dev_com);
if (mp_devhandle==nullptr){