]> pilppa.org Git - lib1wire.git/blobdiff - src/W1Device.cc
formatting fixes
[lib1wire.git] / src / W1Device.cc
index 3160c81034e6e502b8526a5890c00226d5ebf2e7..7f52c43f5795341c5943eb8610c5fd71f43d96a4 100644 (file)
@@ -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;
 }