mirror of
https://github.com/Telecominfraproject/OpenNetworkLinux.git
synced 2025-12-25 09:17:08 +00:00
thermali_hdr_get is required.
This commit is contained in:
@@ -82,3 +82,10 @@ onlp_thermali_info_get(onlp_oid_id_t id, onlp_thermal_info_t* info)
|
||||
return onlp_file_read_int(&info->mcelsius, devfiles__[id]);
|
||||
}
|
||||
}
|
||||
|
||||
int
|
||||
onlp_thermali_hdr_get(onlp_oid_id_t id, onlp_oid_hdr_t* hdr)
|
||||
{
|
||||
*hdr = thermal_info_table__[id].hdr;
|
||||
return 0;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user