Define byte type as we're safe in the midi namespace anyway.
This commit is contained in:
parent
11c3ada47c
commit
2f828fe2bc
|
|
@ -11,18 +11,7 @@
|
||||||
#pragma once
|
#pragma once
|
||||||
|
|
||||||
#include "midi_Namespace.h"
|
#include "midi_Namespace.h"
|
||||||
|
#include <inttypes.h>
|
||||||
// -----------------------------------------------------------------------------
|
|
||||||
|
|
||||||
#if defined(ARDUINO)
|
|
||||||
# include <inttypes.h>
|
|
||||||
#elif defined(FSE_AVR)
|
|
||||||
# include <core_Types.h>
|
|
||||||
#else
|
|
||||||
# include <inttypes.h>
|
|
||||||
#endif
|
|
||||||
|
|
||||||
// -----------------------------------------------------------------------------
|
|
||||||
|
|
||||||
BEGIN_MIDI_NAMESPACE
|
BEGIN_MIDI_NAMESPACE
|
||||||
|
|
||||||
|
|
@ -37,9 +26,7 @@ BEGIN_MIDI_NAMESPACE
|
||||||
// -----------------------------------------------------------------------------
|
// -----------------------------------------------------------------------------
|
||||||
// Type definitions
|
// Type definitions
|
||||||
|
|
||||||
#ifndef FSE_AVR
|
typedef uint8_t byte;
|
||||||
typedef uint8_t byte;
|
|
||||||
#endif
|
|
||||||
|
|
||||||
typedef byte StatusByte;
|
typedef byte StatusByte;
|
||||||
typedef byte DataByte;
|
typedef byte DataByte;
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue