summaryrefslogtreecommitdiff
path: root/Libraries/avrmidi/test/avr/interrupt.h
diff options
context:
space:
mode:
Diffstat (limited to 'Libraries/avrmidi/test/avr/interrupt.h')
-rw-r--r--Libraries/avrmidi/test/avr/interrupt.h27
1 files changed, 27 insertions, 0 deletions
diff --git a/Libraries/avrmidi/test/avr/interrupt.h b/Libraries/avrmidi/test/avr/interrupt.h
new file mode 100644
index 0000000..8770647
--- /dev/null
+++ b/Libraries/avrmidi/test/avr/interrupt.h
@@ -0,0 +1,27 @@
+//midi for embedded chips,
+//Copyright 2010 Alex Norman
+//
+//This file is part of avr-midi.
+//
+//avr-midi is free software: you can redistribute it and/or modify
+//it under the terms of the GNU General Public License as published by
+//the Free Software Foundation, either version 3 of the License, or
+//(at your option) any later version.
+//
+//avr-midi is distributed in the hope that it will be useful,
+//but WITHOUT ANY WARRANTY; without even the implied warranty of
+//MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+//GNU General Public License for more details.
+//
+//You should have received a copy of the GNU General Public License
+//along with avr-midi. If not, see <http://www.gnu.org/licenses/>.
+
+#ifndef FAKE_AVR_INTERRUPTS_H
+#define FAKE_AVR_INTERRUPTS_H
+
+static uint8_t SREG = 0;
+
+void cli(void) {
+}
+
+#endif