commit | 3814ec81ca50f07ea76bb4aca78d05c036df7990 | [log] [tgz] |
---|---|---|
author | Norman James <njames@us.ibm.com> | Tue Nov 17 19:35:19 2015 -0600 |
committer | Norman James <njames@us.ibm.com> | Tue Nov 17 19:35:19 2015 -0600 |
tree | 77a8733b407a08eb0b0672ea021f4d4bfa0b41b1 | |
parent | c3e77c84b0c9c5eee4c45b9b5fcf8759815698be [diff] |
invert present polarity
diff --git a/objects/pcie_slot_present_obj.c b/objects/pcie_slot_present_obj.c index 69c7f4a..2efbc91 100644 --- a/objects/pcie_slot_present_obj.c +++ b/objects/pcie_slot_present_obj.c
@@ -150,7 +150,7 @@ rc = get_presence(c,&slots[i],&present); //if (rc) { break; } // TODO: send correct state - if (present == 1) { + if (present == 0) { update_fru_obj(c,&obj_info,"PRESENT"); } else { update_fru_obj(c,&obj_info,"NOT PRESENT");