From e56b271e0c969a6ad958d2cc8b3068359df5473d Mon Sep 17 00:00:00 2001 From: Richard Osborne Date: Mon, 2 Dec 2013 15:36:32 +0000 Subject: [PATCH] Make MIDI buffer globals static. --- module_usb_audio/usb_buffer/usb_buffer.xc | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/module_usb_audio/usb_buffer/usb_buffer.xc b/module_usb_audio/usb_buffer/usb_buffer.xc index 117ef82c..897b0fe4 100644 --- a/module_usb_audio/usb_buffer/usb_buffer.xc +++ b/module_usb_audio/usb_buffer/usb_buffer.xc @@ -54,9 +54,9 @@ static inline void swap(xc_ptr &a, xc_ptr &b) #endif #ifdef MIDI -unsigned int g_midi_to_host_buffer_A[MAX_USB_MIDI_PACKET_SIZE/4+4]; -unsigned int g_midi_to_host_buffer_B[MAX_USB_MIDI_PACKET_SIZE/4+4]; -unsigned int g_midi_from_host_buffer[MAX_USB_MIDI_PACKET_SIZE/4+4]; +static unsigned int g_midi_to_host_buffer_A[MAX_USB_MIDI_PACKET_SIZE/4+4]; +static unsigned int g_midi_to_host_buffer_B[MAX_USB_MIDI_PACKET_SIZE/4+4]; +static unsigned int g_midi_from_host_buffer[MAX_USB_MIDI_PACKET_SIZE/4+4]; #endif #ifdef IAP