/* Copyright (C) 2026 Ricardo Guzman - CA2RXU * * This file is part of LoRa APRS iGate. * * LoRa APRS iGate is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 3 of the License, or * (at your option) any later version. * * LoRa APRS iGate is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License * along with LoRa APRS iGate. If not, see . */ // Fan / thermal control adapted from KJ7NYE's LoRa_FieldOps_APRS_Tracker (GPLv3) #ifndef THERMAL_UTILS_H_ #define THERMAL_UTILS_H_ #include "board_pinout.h" #ifdef FAN_CTRL_PIN namespace THERMAL_Utils { void setup(); void monitor(); void onTxStart(); void onTxEnd(); void turnOffFan(); bool isTxBlocked(); } #endif #endif