diff options
Diffstat (limited to 'tk-calibration.h')
| -rw-r--r-- | tk-calibration.h | 30 |
1 files changed, 6 insertions, 24 deletions
diff --git a/tk-calibration.h b/tk-calibration.h index c2ab801..f0b05ab 100644 --- a/tk-calibration.h +++ b/tk-calibration.h @@ -1,25 +1,9 @@ -#ifndef TK_CALIBRATION_H -#define TK_CALIBRATION_H -/* - * Attiny calibration header. - * This allows using a single set of hardcoded values across multiple projects. - * - * Copyright (C) 2015 Selene ToyKeeper - * - * This program 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. - * - * This program 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 this program. If not, see <http://www.gnu.org/licenses/>. - * - */ +// tk-calibration.h: Attiny calibration header. +// Copyright (C) 2015-2023 Selene ToyKeeper +// SPDX-License-Identifier: GPL-3.0-or-later +#pragma once + +// This allows using a single set of hardcoded values across multiple projects. /********************** Voltage ADC calibration **************************/ // These values were measured using RMM's FET+7135. @@ -78,5 +62,3 @@ #define CAP_SHORT 115 #endif - -#endif // TK_CALIBRATION_H |
