X-Git-Url: https://git.wpitchoune.net/gitweb/?p=psensor.git;a=blobdiff_plain;f=src%2Flib%2Fpsensor.c;h=3cd695620956b653eb453a9995712dca607bac9c;hp=128dc0251b6ee59ccee53c83181900379b2c3818;hb=a8fb157bab505db90e6881ff72bf4e1fb0dc7107;hpb=bedf8ee232e1617cd8f25047471bdea598f3bc00 diff --git a/src/lib/psensor.c b/src/lib/psensor.c index 128dc02..3cd6956 100644 --- a/src/lib/psensor.c +++ b/src/lib/psensor.c @@ -403,6 +403,12 @@ const char *psensor_type_to_str(unsigned int type) if (type & SENSOR_TYPE_NVIDIA) return "NVidia GPU Temperature"; + if (type & SENSOR_TYPE_AMD_TEMP) + return "AMD GPU Temperature"; + + if (type & SENSOR_TYPE_AMD_FAN) + return "AMD GPU Fan Speed"; + if (type & SENSOR_TYPE_HDD_TEMP) return "HDD Temperature";