aboutsummaryrefslogtreecommitdiff
path: root/io.c
diff options
context:
space:
mode:
authorvetch <vetch97@gmail.com>2020-01-04 11:26:57 +0100
committervetch <vetch97@gmail.com>2020-01-04 11:26:57 +0100
commit885a097da42317f48cead2d91c0e0240066943a8 (patch)
tree0ee86dbaf5678b32f496b99c48ea81bbd20971f2 /io.c
parent2d31012739a11724844701d07db12e6e1307925e (diff)
parent814d4a5357d849c4988422d48afa4aaa5432ce78 (diff)
downloadrpi-MMU-example-885a097da42317f48cead2d91c0e0240066943a8.tar.gz
rpi-MMU-example-885a097da42317f48cead2d91c0e0240066943a8.zip
Merge branch 'bob' of https://repo.or.cz/RPi-MMU-example into alice
# Conflicts: # demo_functionality.h # interrupt_vector.S # interrupts.c
Diffstat (limited to 'io.c')
-rw-r--r--io.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/io.c b/io.c
index f35fda9..bf9e0e3 100644
--- a/io.c
+++ b/io.c
@@ -17,6 +17,13 @@ void prints(char string[])
putchar(string[i]);
}
+void error(char string[])
+{
+ prints("ERROR! ");
+ puts(string);
+ while (1);
+}
+
void printdec(uint32_t number)
{
char buf[11];