aboutsummaryrefslogtreecommitdiff
path: root/hwdef-gchart-fet1-t1616.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-gchart-fet1-t1616.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-gchart-fet1-t1616.h')
-rw-r--r--hwdef-gchart-fet1-t1616.h24
1 files changed, 11 insertions, 13 deletions
diff --git a/hwdef-gchart-fet1-t1616.h b/hwdef-gchart-fet1-t1616.h
index 2435b99..9625738 100644
--- a/hwdef-gchart-fet1-t1616.h
+++ b/hwdef-gchart-fet1-t1616.h
@@ -1,14 +1,14 @@
-#ifndef HWDEF_GCH_FET1_T1616_H
-#define HWDEF_GCH_FET1_T1616_H
-
-/* gChart's custom FET+1 driver layout
-
-PB0 - PWM for FET (TCA - WO0)
-PB1 - PWM for 7135 (TCA - WO1)
-PB2 - Switch pin, internal pullup
-PB3 - Aux LED with 4700 Ohm series resistor
-Read voltage from VCC pin, has diode with ~0.4v drop
-
+// gChart's custom FET+1 driver layout
+// Copyright (C) 2020-2023 (FIXME)
+// SPDX-License-Identifier: GPL-3.0-or-later
+#pragma once
+
+/*
+ * PB0 - PWM for FET (TCA - WO0)
+ * PB1 - PWM for 7135 (TCA - WO1)
+ * PB2 - Switch pin, internal pullup
+ * PB3 - Aux LED with 4700 Ohm series resistor
+ * Read voltage from VCC pin, has diode with ~0.4v drop
*/
@@ -102,5 +102,3 @@ inline void hwdef_setup() {
TCA0.SINGLE.CTRLA = TCA_SINGLE_CLKSEL_DIV1_gc | TCA_SINGLE_ENABLE_bm;
}
-
-#endif