diff --git a/tests/tmr.c b/tests/tmr.c index d48a6d4f0..1a6ac7056 100644 --- a/tests/tmr.c +++ b/tests/tmr.c @@ -40,7 +40,7 @@ void main(void) { *TMR0_SCTRL = 0; /*clear bit 15, and all the others --- should be ok, but clearly not "the right thing to do" */ /* blink off */ - gpio_data_set(0); + gpio_data_reset(LED); while((*TMR0_SCTRL >> 15) == 0) { continue; } *TMR0_SCTRL = 0; /*clear bit 15, and all the others --- should be ok, but clearly not "the right thing to do" */