aboutsummaryrefslogtreecommitdiff
path: root/tk-attiny.h
diff options
context:
space:
mode:
Diffstat (limited to 'tk-attiny.h')
-rw-r--r--tk-attiny.h29
1 files changed, 6 insertions, 23 deletions
diff --git a/tk-attiny.h b/tk-attiny.h
index 110507b..ad2ed3b 100644
--- a/tk-attiny.h
+++ b/tk-attiny.h
@@ -1,25 +1,9 @@
-#ifndef TK_ATTINY_H
-#define TK_ATTINY_H
-/*
- * Attiny portability header.
- * This helps abstract away the differences between various attiny MCUs.
- *
- * Copyright (C) 2017 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-attiny.h: Attiny portability header.
+// Copyright (C) 2014-2023 Selene ToyKeeper
+// SPDX-License-Identifier: GPL-3.0-or-later
+#pragma once
+
+// This helps abstract away the differences between various attiny MCUs.
// Choose your MCU here, or in the main .c file, or in the build script
//#define ATTINY 13
@@ -171,4 +155,3 @@
#error Unable to define MCU macros.
#endif
-#endif // TK_ATTINY_H