SoC Temperature Readout (WinCE)

We have some legacy products using Windows CE on Colibri T30s. One thing we do on these is periodically read and display module temperature. The API call to read temperature seems to have originally come from here

We just ran into an issue. While doing environmental tests, we went through cold cycles. And when the temperature went below zero, we were getting back a huge number for module temperature. Looking into it, we notice the value returned by NvRmDiagGetTemperature for temperature is a DWORD. Which is an unsigned integer. Should it work to change the function definition to have that argument a signed integer?

Yes, the PFNNvRmDiagGetTemperature prototype uses a signed 32-bit variable for temperature. Apologies for the typo in our documentation.