X-Git-Url: http://pilppa.org/gitweb/?a=blobdiff_plain;f=src%2FW1Device.cc;h=7f52c43f5795341c5943eb8610c5fd71f43d96a4;hb=22eee6cb986795b991ac214c38f35097ffdf1812;hp=3160c81034e6e502b8526a5890c00226d5ebf2e7;hpb=c5db24757ed9d1461eca0a78b786a1261ea71380;p=lib1wire.git diff --git a/src/W1Device.cc b/src/W1Device.cc index 3160c81..7f52c43 100644 --- a/src/W1Device.cc +++ b/src/W1Device.cc @@ -14,7 +14,9 @@ using namespace w1; using namespace std; -W1Device::W1Device(dirent *direntry, int family_code_param, string id_param) { +W1Device::W1Device(dirent *direntry, + int family_code_param, + string id_param) { string rootdir; string device_dir; string temp_str; @@ -24,7 +26,7 @@ W1Device::W1Device(dirent *direntry, int family_code_param, string id_param) { dir_path = rootdir + "/" + direntry->d_name; slave_file = dir_path + "/" + temp_str; family_code = family_code_param; - id = id_param; + id = id_param; name = id_param; }