3e7e4ab1ac
Added back the temp-type map initialization to RSMI_TEMP_TYPE_INVALID before probing hwmon files. This prevents std::out_of_range for unsupported or absent temperature sensor types. Signed-off-by: Bindhiya Kanangot Balakrishnan <Bindhiya.KanangotBalakrishnan@amd.com>