]> pilppa.org Git - lib1wire.git/blobdiff - src/W1Device.cc
Started defining generic device type base classes that could be used
[lib1wire.git] / src / W1Device.cc
index 781ef6d878e2191a8f2fdc83f271d255a4e81494..4c108e3857fdb500c5a296c3f3b2f8809212cc72 100644 (file)
@@ -85,7 +85,7 @@ void W1Device::printout() {
        Data    *data;
        string  text;
 
-       data    = get_and_collect_data();
+       data    = get_data();
        if (data != NULL) {
                text    = data->to_string();
                cout << text << endl;
@@ -104,8 +104,7 @@ string W1Device::to_string(double dbl_val, int digit_count) {
        return ret_val;
 }
 
-
-Data *W1Device::get_and_collect_data() {
+Data *W1Device::get_data() {
        Data            *ret_val;
        vector<double>  *vect;