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;
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;
}