Utilize hekate's BDK for hekate main and Nyx

This commit is contained in:
CTCaer
2020-06-14 16:45:45 +03:00
parent 185526d134
commit 6e256d29c7
186 changed files with 1138 additions and 1016 deletions

View File

@@ -16,12 +16,12 @@
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
#include "fan.h"
#include "../power/regulator_5v.h"
#include "../soc/gpio.h"
#include "../soc/pinmux.h"
#include "../soc/t210.h"
#include "../utils/util.h"
#include <thermal/fan.h>
#include <power/regulator_5v.h>
#include <soc/gpio.h>
#include <soc/pinmux.h>
#include <soc/t210.h>
#include <utils/util.h>
void set_fan_duty(u32 duty)
{

View File

@@ -19,7 +19,7 @@
#ifndef __FAN_H_
#define __FAN_H_
#include "../utils/types.h"
#include <utils/types.h>
// Disable: 0 (0 RPM), min duty: 1 (960 RPM), max duty 235 (11000 RPM).
void set_fan_duty(u32 duty);

View File

@@ -16,8 +16,8 @@
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
#include "tmp451.h"
#include "../soc/i2c.h"
#include <soc/i2c.h>
#include <thermal/tmp451.h>
u16 tmp451_get_soc_temp(bool intenger)
{

View File

@@ -19,7 +19,7 @@
#ifndef __TMP451_H_
#define __TMP451_H_
#include "../utils/types.h"
#include <utils/types.h>
#define TMP451_I2C_ADDR 0x4C