#ifndef THERMAL_H #define THERMAL_H #include #include #include "EMC2101.h" #include "EMC2103.h" #include "global_state.h" esp_err_t Thermal_init(DeviceModel device_model, bool polarity); esp_err_t Thermal_set_fan_percent(DeviceModel device_model, float percent); uint16_t Thermal_get_fan_speed(DeviceModel device_model); float Thermal_get_chip_temp(GlobalState * GLOBAL_STATE); #endif // THERMAL_H