Show
Ignore:
Timestamp:
12/30/06 14:29:01 (4 years ago)
Author:
anthony_rowe
Message:

Put some things back into the makefiles for normal lpc2106-cmucam2 compiling that I accidentally removed.

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • trunk/hal/lpc2106-cmucam3/serial.c

    r271 r279  
    107107  // setup FIFO Control Register (fifo-enabled + xx trig)  
    108108  REG(UART1_FCR) = fmode; 
     109  uart0_write("setting uart1\r\n" ); 
     110  uart0_write("mode: " ); uart0_write_hex(mode);  
     111  uart0_write("\r\nfmode: " ); uart0_write_hex(fmode);  
     112 
    109113} 
    110114 
     
    269273int uart1_getc() 
    270274{ 
    271   while ((REG (UART1_LSR) & LSR_RBR_EMPTY) == 0); 
     275  while ((REG (UART1_LSR) & LSR_RBR_EMPTY) == 0) ; 
    272276  return REG (UART1_RBR); 
    273277}