aboutsummaryrefslogtreecommitdiff
path: root/hwdef-emisar-d4s.h
diff options
context:
space:
mode:
authorSelene ToyKeeper2023-11-02 11:05:02 -0600
committerSelene ToyKeeper2023-11-02 11:05:02 -0600
commitffd9f90898699df87bf9cb283aaa724774bd91bd (patch)
treee8b6a33a5814d0b1adc6c630043650dfc19ee959 /hwdef-emisar-d4s.h
parentadded a "tactical mode" on "Off -> 6C" (diff)
parentslightly longer smooth-off animation, to make on and off feel symmetrical (diff)
downloadanduril-ffd9f90898699df87bf9cb283aaa724774bd91bd.tar.gz
anduril-ffd9f90898699df87bf9cb283aaa724774bd91bd.tar.bz2
anduril-ffd9f90898699df87bf9cb283aaa724774bd91bd.zip
merged multi-channel branch with a major refactor and half a year of updates
Diffstat (limited to 'hwdef-emisar-d4s.h')
-rw-r--r--hwdef-emisar-d4s.h13
1 files changed, 13 insertions, 0 deletions
diff --git a/hwdef-emisar-d4s.h b/hwdef-emisar-d4s.h
new file mode 100644
index 0000000..95789e6
--- /dev/null
+++ b/hwdef-emisar-d4s.h
@@ -0,0 +1,13 @@
+// Emisar D4S driver layout
+// Copyright (C) 2018-2023 Selene ToyKeeper
+// SPDX-License-Identifier: GPL-3.0-or-later
+#pragma once
+
+// same as a D4, basically
+#include "hwdef-emisar-d4.h"
+
+// ... except the D4S has aux LEDs under the optic
+#ifndef AUXLED_PIN
+#define AUXLED_PIN PB4 // pin 3
+#endif
+