X-Git-Url: https://hackdaworld.org/gitweb/?p=my-code%2Farm.git;a=blobdiff_plain;f=betty%2Fsystem.c;h=ef18b57926472842fb8ec180ccd64d305925798e;hp=4204cddeca087f57a6359b5349c8d5a1ee5b5457;hb=916c8dd1dfa2414ae8b58ab1e3d477b24c553815;hpb=800e17e9826d024a38edb45b59de7953394002d2 diff --git a/betty/system.c b/betty/system.c index 4204cdd..ef18b57 100644 --- a/betty/system.c +++ b/betty/system.c @@ -72,11 +72,11 @@ void pin_init(void) { /* * pinsel 1 * - * no special function yet! + * p0.30: eint3 * */ - PINSEL1=0x00000000; + PINSEL1=0x20000000; /* * pin select 2 @@ -116,6 +116,9 @@ void pin_init(void) { void mmap_init(u8 memtype) { + if(memtype==MEMTYPE_RESERVED) + return; + MEMMAP=memtype; }