aboutsummaryrefslogtreecommitdiff
path: root/hwdef-emisar-d4s.h
diff options
context:
space:
mode:
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
+