diff options
author | Felipe F. Tonello <eu@felipetonello.com> | 2017-02-09 14:55:49 +0000 |
---|---|---|
committer | Luiz Augusto von Dentz <luiz.von.dentz@intel.com> | 2017-02-10 13:01:51 +0200 |
commit | 8d8cc36f102468e7b9d5a34f5cd9dd06a00830bb (patch) | |
tree | 58de26daa98926a148a995bccf50deed62ff059d /profiles/midi | |
parent | 2ce08882254edb31e35a050f2527fb6ef422730c (diff) | |
download | bluez-8d8cc36f102468e7b9d5a34f5cd9dd06a00830bb.tar.gz |
profiles/midi: Moved MIDI UUIDs to library header
This allows other users of libmidi to consistently use MIDI UUIDs.
Diffstat (limited to 'profiles/midi')
-rw-r--r-- | profiles/midi/libmidi.h | 3 | ||||
-rw-r--r-- | profiles/midi/midi.c | 3 |
2 files changed, 3 insertions, 3 deletions
diff --git a/profiles/midi/libmidi.h b/profiles/midi/libmidi.h index 7078fb4a6..9d94065b6 100644 --- a/profiles/midi/libmidi.h +++ b/profiles/midi/libmidi.h @@ -29,6 +29,9 @@ #include <stdbool.h> #include <alsa/asoundlib.h> +#define MIDI_UUID "03B80E5A-EDE8-4B33-A751-6CE34EC4C700" +#define MIDI_IO_UUID "7772E5DB-3868-4112-A1A9-F2669D106BF3" + #define MIDI_MAX_TIMESTAMP 8191 #define MIDI_MSG_MAX_SIZE 12 #define MIDI_SYSEX_MAX_SIZE (4 * 1024) diff --git a/profiles/midi/midi.c b/profiles/midi/midi.c index d12b4cf29..fdc1c007d 100644 --- a/profiles/midi/midi.c +++ b/profiles/midi/midi.c @@ -53,9 +53,6 @@ #include "libmidi.h" -#define MIDI_UUID "03B80E5A-EDE8-4B33-A751-6CE34EC4C700" -#define MIDI_IO_UUID "7772E5DB-3868-4112-A1A9-F2669D106BF3" - struct midi { struct btd_device *dev; struct gatt_db *db; |