diff --git a/src/board/system76/galp3-c/scratch/main.c b/src/board/system76/galp3-c/scratch/main.c index bb04627..5bade1d 100644 --- a/src/board/system76/galp3-c/scratch/main.c +++ b/src/board/system76/galp3-c/scratch/main.c @@ -1,7 +1,5 @@ #include #include -#include -#define printf printf_small #include @@ -43,7 +41,6 @@ static void pmc_event(struct Pmc * pmc) { uint8_t sts = pmc_status(pmc); if (sts & PMC_STS_IBF) { uint8_t data = pmc_read(pmc); - //printf("%x\n", data); if (sts & PMC_STS_CMD) { switch (state) { case PMC_STATE_DEFAULT: @@ -96,7 +93,6 @@ static void pmc_event(struct Pmc * pmc) { // Main program while running in scratch ROM void main(void) { - printf("scratch\n"); for (;;) { pmc_event(&PMC_1); } diff --git a/src/board/system76/galp3-c/scratch/stdio.c b/src/board/system76/galp3-c/scratch/stdio.c deleted file mode 100644 index 1fb9463..0000000 --- a/src/board/system76/galp3-c/scratch/stdio.c +++ /dev/null @@ -1,8 +0,0 @@ -#include -#include - -int putchar(int c) { - unsigned char byte = (unsigned char)c; - SBUF = byte; - return (int)byte; -}