memtest86plus/system/temperature.h
2020-05-24 21:30:55 +01:00

17 lines
345 B
C

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