Skip to content

Commit f4965cc

Browse files
committed
Compile errors on AVR
1 parent d6ee124 commit f4965cc

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/apple-midi/applemidi.c

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,14 +29,14 @@
2929
*
3030
* =============================================================================
3131
*/
32+
#ifndef AVR
3233

3334
#include "applemidi.h"
3435

3536
#include <stdlib.h>
3637
#include <stdio.h>
3738
#include <string.h>
3839
#include <sys/time.h>
39-
4040
// from https://en.wikipedia.org/wiki/RTP-MIDI#Apple's_session_protocol
4141
#define APPLEMIDI_COMMAND_INVITATION 0x494e // IN
4242
#define APPLEMIDI_COMMAND_INVITATION_ACCEPTED 0x4f4b // OK
@@ -1147,3 +1147,5 @@ int32_t applemidi_terminate_session(uint8_t applemidi_port)
11471147

11481148
return 0; // no error
11491149
}
1150+
1151+
#endif

0 commit comments

Comments
 (0)