fix blink-red

This commit is contained in:
Mariano Alvira 2010-02-23 15:52:46 -05:00
parent 1522b72b1e
commit 3cc6896981

View File

@ -1,4 +1,5 @@
#include <mc1322x.h>
#include <board.h>
#define DELAY 400000
@ -8,11 +9,11 @@ __attribute__ ((section ("startup")))
void main(void) {
volatile uint32_t i;
// *GPIO_PAD_DIR0 = LED_BITS;
*GPIO_PAD_DIR0 = LED_BITS;
while(1) {
// *GPIO_DATA0 = LED_BITS;
*GPIO_DATA0 = LED_BITS;
for(i=0; i<DELAY; i++) { continue; }