From c1056b936982c35b2bd95bbd82e8bbaf16076e6a Mon Sep 17 00:00:00 2001 From: "Nicholas J. Michalek" Date: Thu, 12 Dec 2024 02:53:21 -0500 Subject: [PATCH] TODO: configurable external clock input --- software/src/applets/ClockSetup.h | 2 +- software/src/applets/ClockSetupT4.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/software/src/applets/ClockSetup.h b/software/src/applets/ClockSetup.h index f30ee574..1761c15d 100644 --- a/software/src/applets/ClockSetup.h +++ b/software/src/applets/ClockSetup.h @@ -59,7 +59,7 @@ class ClockSetup : public HemisphereApplet { // The ClockSetup controller handles MIDI Clock and Transport Start/Stop void Controller() { - bool clock_sync = OC::DigitalInputs::clocked(); + bool clock_sync = HS::frame.clocked[0]; // TODO: configurable ExtClk input // MIDI Clock is filtered to 2 PPQN if (frame.MIDIState.clock_q) { diff --git a/software/src/applets/ClockSetupT4.h b/software/src/applets/ClockSetupT4.h index bdc268e5..edb90fdf 100644 --- a/software/src/applets/ClockSetupT4.h +++ b/software/src/applets/ClockSetupT4.h @@ -66,7 +66,7 @@ class ClockSetup : public HemisphereApplet { // The ClockSetup controller handles MIDI Clock and Transport Start/Stop void Controller() { - bool clock_sync = OC::DigitalInputs::clocked(); + bool clock_sync = HS::frame.clocked[0]; // TODO: configurable ExtClk input // MIDI Clock is filtered to 2 PPQN if (frame.MIDIState.clock_q) {