Cleaned up LED stuff on 2xx msp430_init_dco().
authortravisutk <travisutk@12e2690d-a6be-4b82-a7b7-67c4a43b65c8>
Mon, 2 Nov 2009 05:50:13 +0000 (05:50 +0000)
committertravisutk <travisutk@12e2690d-a6be-4b82-a7b7-67c4a43b65c8>
Mon, 2 Nov 2009 05:50:13 +0000 (05:50 +0000)
git-svn-id: https://svn.code.sf.net/p/goodfet/code/trunk@219 12e2690d-a6be-4b82-a7b7-67c4a43b65c8

firmware/lib/msp430x2618.c

index 6238fe2..7823f06 100644 (file)
@@ -128,10 +128,6 @@ void msp430_init_uart(){
 
 //! Initialize the MSP430 clock.
 void msp430_init_dco() {
 
 //! Initialize the MSP430 clock.
 void msp430_init_dco() {
-  //LED lights when init_dco begins,
-  //then dims when successful.
-  PLEDOUT|=PLEDPIN;
-  
   if(CALBC1_16MHZ!=0xFF && CALDCO_16MHZ!=0xFF){
     //Info is intact, use it.
     BCSCTL1 = CALBC1_16MHZ;
   if(CALBC1_16MHZ!=0xFF && CALDCO_16MHZ!=0xFF){
     //Info is intact, use it.
     BCSCTL1 = CALBC1_16MHZ;
@@ -147,8 +143,6 @@ void msp430_init_dco() {
     }
   }
   
     }
   }
   
-  //Hopefully by here the clock is meaningful.
-  PLEDOUT&=~PLEDPIN;
   return;
 }
 
   return;
 }