diff --git a/app/src/main/cpp/PhoneDevice.cpp b/app/src/main/cpp/PhoneDevice.cpp index d6fbdaed..9388288f 100644 --- a/app/src/main/cpp/PhoneDevice.cpp +++ b/app/src/main/cpp/PhoneDevice.cpp @@ -1278,7 +1278,7 @@ int CPhoneDevice::QueryBattaryVoltage(int timesForAvg, int* chargingVoltage) int totalVals = 0; int cv = 0; int idx = 0; - XYLOG(XYLOG_SEVERITY_DEBUG, "WorkStatus BusVoltage"); + // XYLOG(XYLOG_SEVERITY_DEBUG, "WorkStatus BusVoltage"); int matched = 0; for (idx = 0; idx < timesForAvg; idx++) { @@ -1294,13 +1294,13 @@ int CPhoneDevice::QueryBattaryVoltage(int timesForAvg, int* chargingVoltage) break; } } - XYLOG(XYLOG_SEVERITY_DEBUG, "WorkStatus BusVoltage end"); + // XYLOG(XYLOG_SEVERITY_DEBUG, "WorkStatus BusVoltage end"); if (chargingVoltage != NULL) { *chargingVoltage = matched > 0 ? (cv / matched) : 0; } - XYLOG(XYLOG_SEVERITY_DEBUG, "WorkStatus BatteryVoltage"); + // XYLOG(XYLOG_SEVERITY_DEBUG, "WorkStatus BatteryVoltage"); matched = 0; for (int idx = 0; idx < timesForAvg; idx++) { @@ -1315,7 +1315,7 @@ int CPhoneDevice::QueryBattaryVoltage(int timesForAvg, int* chargingVoltage) matched++; } } - XYLOG(XYLOG_SEVERITY_DEBUG, "WorkStatus BatteryVoltage end"); + // XYLOG(XYLOG_SEVERITY_DEBUG, "WorkStatus BatteryVoltage end"); return (matched > 0) ? (totalVals / matched) : 0; }