mirror of
https://github.com/switchbrew/libnx.git
synced 2025-06-21 12:32:40 +02:00
ts: Update tsGetTemperatureMilliC for 14.0.0
This commit is contained in:
parent
0a88426a6a
commit
3577af85a7
@ -43,6 +43,8 @@ Result tsGetTemperature(TsLocation location, s32 *temperature) {
|
||||
}
|
||||
|
||||
Result tsGetTemperatureMilliC(TsLocation location, s32 *temperature) {
|
||||
if (hosversionAtLeast(14,0,0))
|
||||
return MAKERESULT(Module_Libnx, LibnxError_IncompatSysVer);
|
||||
return _tsCmdInU8Out32(location, (u32*)temperature, 3);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user