mirror of
https://github.com/ipmitool/ipmitool.git
synced 2025-05-10 18:47:22 +00:00
Added sensor raw data in verbose mode. Useful for OEM sensor type.
This commit is contained in:
parent
801e6f1136
commit
9f52686526
@ -570,6 +570,12 @@ ipmi_sensor_print_compact(struct ipmi_intf *intf,
|
||||
sensor->event_type,
|
||||
rsp->data[2],
|
||||
rsp->data[3]);
|
||||
printf(" Raw Data: %X", rsp->data[1]);
|
||||
if(rsp->data_len > 2)
|
||||
printf(" %X", rsp->data[2]);
|
||||
if(rsp->data_len > 3)
|
||||
printf(" %X", rsp->data[3]);
|
||||
printf("\n");
|
||||
printf("\n");
|
||||
} else {
|
||||
printf(" Unable to read sensor: Device Not Present\n\n");
|
||||
|
Loading…
x
Reference in New Issue
Block a user