aboutsummaryrefslogtreecommitdiff
path: root/hwdef-emisar-d4s.h
diff options
context:
space:
mode:
authorSelene ToyKeeper2023-07-20 21:50:35 -0600
committerSelene ToyKeeper2023-07-20 21:50:35 -0600
commit73fb3b43a2e348e20e7a79945ddb34865eb3fc27 (patch)
tree13e8a7d131cfa8d4d71aec4793847af01261d10f /hwdef-emisar-d4s.h
parentfixed D4Sv2 (using new refactor) (diff)
downloadanduril-73fb3b43a2e348e20e7a79945ddb34865eb3fc27.tar.gz
anduril-73fb3b43a2e348e20e7a79945ddb34865eb3fc27.tar.bz2
anduril-73fb3b43a2e348e20e7a79945ddb34865eb3fc27.zip
fixed original D4S (using new refactor)
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
+