Skip to content

Commit 1dabb3f

Browse files
committed
refactor(main): remove redundant midi activity logging
1 parent f0e0364 commit 1dabb3f

File tree

1 file changed

+3
-10
lines changed

1 file changed

+3
-10
lines changed

src/main.rs

Lines changed: 3 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -195,16 +195,9 @@ fn main() -> anyhow::Result<()> {
195195
_ = interval.tick() => {
196196
if let Ok(mut m) = pump_midi.lock() {
197197
while let Some((target_device, msg)) = m.send_queue.dequeue() {
198-
// VISUAL FEEDBACK
199-
let matches = m.find_mappings_for_midi_message(&msg, &target_device);
200-
for (idx, part) in matches {
201-
m.activity_log.push(eos_midi_bridge::ActivityEvent {
202-
device_name: target_device.clone(),
203-
mapping_idx: idx,
204-
part,
205-
value: "Output".to_string(),
206-
});
207-
}
198+
// VISUAL FEEDBACK: Removed to avoid overwriting specific logs from midi.rs
199+
// let matches = m.find_mappings_for_midi_message(&msg, &target_device);
200+
// ...
208201

209202
if let Some(conn) = m.device_connections.get_mut(&target_device) {
210203
let _ = conn.send(&msg);

0 commit comments

Comments
 (0)