aboutsummaryrefslogtreecommitdiff
path: root/hwdef-Wurkkos_TS25.h
diff options
context:
space:
mode:
authorSelene ToyKeeper2023-04-17 00:08:32 -0600
committerSelene ToyKeeper2023-04-17 00:08:32 -0600
commit583854e37efde7f461e073e735a1736b02d28c70 (patch)
tree48ed76e428e3ddb126f88f8b0028f39391d84d9f /hwdef-Wurkkos_TS25.h
parentreduced ROM by ~600 bytes by moving all eeprom config values to a "cfg" struct (diff)
downloadanduril-583854e37efde7f461e073e735a1736b02d28c70.tar.gz
anduril-583854e37efde7f461e073e735a1736b02d28c70.tar.bz2
anduril-583854e37efde7f461e073e735a1736b02d28c70.zip
switched the rest of FSM + Anduril to use SPDX license headers
instead of full GPL headers (or all too often, nothing at all) There are a few "FIXME" entries where I'm not sure about the correct copyright.
Diffstat (limited to 'hwdef-Wurkkos_TS25.h')
-rw-r--r--hwdef-Wurkkos_TS25.h17
1 files changed, 7 insertions, 10 deletions
diff --git a/hwdef-Wurkkos_TS25.h b/hwdef-Wurkkos_TS25.h
index cadd366..cf34754 100644
--- a/hwdef-Wurkkos_TS25.h
+++ b/hwdef-Wurkkos_TS25.h
@@ -1,9 +1,10 @@
-#ifndef HWDEF_WURKKOS_TS25_T1616_H
-#define HWDEF_WURKKOS_TS25_T1616_H
+// Wurkkos TS25 driver layout
+// Copyright (C) 2022-2023 (FIXME)
+// SPDX-License-Identifier: GPL-3.0-or-later
+#pragma once
-/* BLF Q8 driver layout using the Attiny1616
-
-Driver pinout:
+/*
+ * Driver pinout:
* eSwitch: PA5
* PWM FET: PB0 (TCA0 WO0)
* PWM 1x7135: PB1 (TCA0 WO1)
@@ -11,9 +12,7 @@ Driver pinout:
* Aux Blue: PC1
* Aux Red: PC2
* Aux Green: PC3
-
-*/
-
+ */
#define LAYOUT_DEFINED
@@ -115,5 +114,3 @@ inline void hwdef_setup() {
TCA0.SINGLE.CTRLA = TCA_SINGLE_CLKSEL_DIV1_gc | TCA_SINGLE_ENABLE_bm;
}
-
-#endif