aboutsummaryrefslogtreecommitdiff
path: root/libmaple/MinSysex.h
diff options
context:
space:
mode:
Diffstat (limited to 'libmaple/MinSysex.h')
-rw-r--r--libmaple/MinSysex.h17
1 files changed, 16 insertions, 1 deletions
diff --git a/libmaple/MinSysex.h b/libmaple/MinSysex.h
index 368eaa3..c882d74 100644
--- a/libmaple/MinSysex.h
+++ b/libmaple/MinSysex.h
@@ -5,6 +5,12 @@
// Created by Donald D Davis on 4/11/13.
// Copyright (c) 2013 Suspect Devices. All rights reserved.
//
+#ifndef __LETS_MIN_SYSEX_H__
+#define __LETS_MIN_SYSEX_H__ 1
+
+
+#include "MidiSpecs.h"
+
#define LEAFLABS_MMA_VENDOR_1 0x7D
#define LEAFLABS_MMA_VENDOR_2 0x1E
@@ -14,4 +20,13 @@
#define DEFAULT_MIDI_DEVICE 0x0A
#define DEFAULT_MIDI_CABLE 0x00
-void LglSysexHandler(uint8 *midiBufferRx,uint32 *rx_offset,uint32 *n_unread_bytes); \ No newline at end of file
+// eventually all of this should be in a place for settings which can be written to flash.
+extern volatile uint8 myMidiChannel;
+extern volatile uint8 myMidiDevice;
+extern volatile uint8 myMidiCable;
+extern volatile uint8 myMidiID[];
+
+
+void LglSysexHandler(uint8 *midiBufferRx,uint32 *rx_offset,uint32 *n_unread_bytes);
+
+#endif \ No newline at end of file