]> pilppa.org Git - lib1wire.git/blobdiff - src/DeviceConfig.cc
Several data read and store fixes.
[lib1wire.git] / src / DeviceConfig.cc
index f9e8f72684747cee8057c848ca8a42b6f3ec7867..19cfbb9ab7c848cd3188faf8e3d40d86c1f4a037 100644 (file)
@@ -128,7 +128,7 @@ enum_summary_calculation DeviceConfig::get_summary_calculation_type() {
 
        ret_val = MEAN;
        if (device_type.empty() == false) {
-               if (device_type.compare("counter") == 0) {
+               if (device_type.compare("Counter Device") == 0) {
                        ret_val = DELTA;
                }
        }