summaryrefslogtreecommitdiff
path: root/firmware/c1224/src/common/crystal_steer.c
diff options
context:
space:
mode:
Diffstat (limited to 'firmware/c1224/src/common/crystal_steer.c')
-rw-r--r--firmware/c1224/src/common/crystal_steer.c20
1 files changed, 20 insertions, 0 deletions
diff --git a/firmware/c1224/src/common/crystal_steer.c b/firmware/c1224/src/common/crystal_steer.c
new file mode 100644
index 0000000..520682c
--- /dev/null
+++ b/firmware/c1224/src/common/crystal_steer.c
@@ -0,0 +1,20 @@
+/*
+ * Crystal policy — v1.0 single-XTAL: physical rate = stuffed crystal.
+ * FW does not switch baud; dual UF2 obsolete; crystal_steer = no-op.
+ * Y1 4.4336 → 1200 · Y2 6.5536 → 2400 · GP14/15 unused (mux abandoned).
+ * SPDX-License-Identifier: GPL-3.0-or-later
+ */
+#include "crystal_steer.h"
+
+static bool g_applied;
+
+void crystal_steer_apply(void)
+{
+ /* No-op: board stuffing (not GPIO mux / not FW baud) selects the crystal. */
+ g_applied = true;
+}
+
+bool crystal_steer_applied(void)
+{
+ return g_applied;
+}
git clone -b <branch> https://cgit.mode42.com/<repo>.git
git clone -b <branch> git://cgit.mode42.com/<repo>.git

info@mode42.com