memtest86plus/system/temperature.h

20 lines
370 B
C
Raw Normal View History

2020-05-24 15:30:55 -05:00
// SPDX-License-Identifier: GPL-2.0
#ifndef TEMPERATURE_H
#define TEMPERATURE_H
/**
* \file
*
2020-05-24 15:30:55 -05:00
* Provides a function to read the CPU core temperature.
*
*//*
* Copyright (C) 2020-2022 Martin Whitaker.
2020-05-24 15:30:55 -05:00
*/
/**
2020-05-24 15:30:55 -05:00
* Returns the current temperature of the CPU. Returns 0 if
* the temperature cannot be read.
*/
int get_cpu_temperature(void);
#endif // TEMPERATURE_H