summaryrefslogtreecommitdiff
path: root/src/main.c
diff options
context:
space:
mode:
authorXavi Del Campo <xavi.dcr@tutanota.com>2020-03-08 14:09:11 +0100
committerXavi Del Campo <xavi.dcr@tutanota.com>2020-03-08 17:10:59 +0100
commit96b0c9d692fd4b41d41e13cdcd8fc773b3976dde (patch)
tree8acee0c8d8c4a412f330e41214ec75e7702c8df7 /src/main.c
parente32281cf6b01800f95d7640a127811c79234fe6f (diff)
downloadopensend-96b0c9d692fd4b41d41e13cdcd8fc773b3976dde.tar.gz
First working RX ISR
Diffstat (limited to 'src/main.c')
-rw-r--r--src/main.c8
1 files changed, 6 insertions, 2 deletions
diff --git a/src/main.c b/src/main.c
index 400468e..8c958b5 100644
--- a/src/main.c
+++ b/src/main.c
@@ -1,5 +1,5 @@
#include "System.h"
-#include <stdio.h>
+#include "reception.h"
#define PSX_EXE_HEADER_SIZE 2048
#define EXE_DATA_PACKET_SIZE 8
@@ -8,7 +8,10 @@ int main(void)
{
SystemInit();
- for (;;);
+ reception_loop();
+
+ for (;;)
+ ;
#if 0
{
@@ -122,5 +125,6 @@ int main(void)
exeAddress();
}
#endif
+
return 0;
}