[LY8,LY9] Adjust VOUT

This commit is contained in:
Jonathan Tsai
2017-02-08 09:50:05 +08:00
parent 04ce604fa7
commit 0facdd03b0
2 changed files with 0 additions and 4 deletions

View File

@@ -112,8 +112,6 @@ onlp_psui_info_get(onlp_oid_t id, onlp_psu_info_t* info)
}
if(onlp_file_read_int(&info->mvout, "%s*in2_input", dir) == 0 && info->mvout >= 0) {
info->caps |= ONLP_PSU_CAPS_VOUT;
/* Empirical */
info->mvout /= 500;
}
if(onlp_file_read_int(&info->mpin, "%s*power1_input", dir) == 0 && info->mpin >= 0) {
info->caps |= ONLP_PSU_CAPS_PIN;

View File

@@ -109,8 +109,6 @@ onlp_psui_info_get(onlp_oid_t id, onlp_psu_info_t* info)
}
if(onlp_file_read_int(&info->mvout, "%s/in2_input", dir) == 0 && info->mvout >= 0) {
info->caps |= ONLP_PSU_CAPS_VOUT;
/* Empirical */
info->mvout /= 500;
}
if(onlp_file_read_int(&info->mpin, "%s/power1_input", dir) == 0 && info->mpin >= 0) {
info->caps |= ONLP_PSU_CAPS_PIN;