From 734b68473e81a1860608466599883d719df47a2b Mon Sep 17 00:00:00 2001 From: c vw Date: Sat, 29 Jan 2022 11:57:40 +0100 Subject: [PATCH] midi3.c: removed tons of un-necessary includes --- midi3.c | 14 +------------- 1 file changed, 1 insertion(+), 13 deletions(-) diff --git a/midi3.c b/midi3.c index ed3f4ad..0a7eae8 100644 --- a/midi3.c +++ b/midi3.c @@ -12,20 +12,8 @@ */ #include -#include "radio.h" -#include "vfo.h" -#include "filter.h" -#include "band.h" -#include "mode.h" -#include "new_menu.h" -#include "sliders.h" -#include "ext.h" -#include "agc.h" #include "actions.h" #include "midi.h" -#ifdef LOCALCW -#include "iambic.h" -#endif void DoTheMidi(int action, enum ACTIONtype type, int val) { @@ -33,7 +21,7 @@ void DoTheMidi(int action, enum ACTIONtype type, int val) { switch(type) { case MIDI_KEY: - schedule_action(action, val?PRESSED:RELEASED, val); + schedule_action(action, val?PRESSED:RELEASED, 0); break; case MIDI_KNOB: schedule_action(action, ABSOLUTE, val); -- 2.45.2