#ifndef FAN_CONTROLLER_H #define FAN_CONTROLLER_H #include #include void fan_controller_init(void); /**@brief Run one iteration of the control loop. * @param temperature The newly measured temperature in °C. * @returns The calculated duty cycle. */ uint8_t fan_controller_update(fxp_t temperature); #endif // FAN_CONTROLLER_H