diff options
| author | info@mode42.com <info@mode42.com> | 2026-08-07 18:15:00 +0000 |
|---|---|---|
| committer | info@mode42.com <info@mode42.com> | 2026-08-07 18:15:00 +0000 |
| commit | d393e0c30192611d4cac65a5429fd7180ce1f49c (patch) | |
| tree | 7e47bd930340c75c4802801a81f3bd17c2469d9f /firmware/c1224/src/common/crystal_steer.c | |
Initial pushmain
Diffstat (limited to 'firmware/c1224/src/common/crystal_steer.c')
| -rw-r--r-- | firmware/c1224/src/common/crystal_steer.c | 20 |
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; +} |
