diff --git a/src/board/system76/galp3-c/scratch/main.c b/src/board/system76/galp3-c/scratch/main.c index 853e9cd..29eb9ab 100644 --- a/src/board/system76/galp3-c/scratch/main.c +++ b/src/board/system76/galp3-c/scratch/main.c @@ -42,7 +42,6 @@ static void pmc_event(struct Pmc * pmc) { uint8_t data = pmc_read(pmc); if (sts & PMC_STS_CMD) { printf_tiny("%x\n", data); - switch (state) { case PMC_STATE_DEFAULT: switch (data) { @@ -95,6 +94,7 @@ static void pmc_event(struct Pmc * pmc) { // Main program while running in scratch ROM void main(void) { + printf_tiny("SCRATCH\n"); for (;;) { pmc_event(&PMC_1); }