Modularizando o src

Dependencies:   EALib EthernetInterface_vz mbed-rtos mbed

Fork of header_main_colinas_V0-20-09-14 by VZTECH

Revision:
135:2f4290590e51
Parent:
122:480c44b0e205
--- a/configs.cpp	Tue Sep 01 19:34:34 2015 +0000
+++ b/configs.cpp	Thu Sep 10 20:11:35 2015 +0000
@@ -57,55 +57,4 @@
     hw_extern_wdt = 0;
     
     return ( 0 );
-}
-
-static uint8_t itoh[16];
-static uint8_t hexbuf[10];
-
-uint8_t *hextoascii ( uint8_t src ) {
-  
-  hexbuf[0] = itoh[(src>>4) & 0x0f];  
-  hexbuf[1] = itoh[src & 0x0f];
-  hexbuf[2] = 0;
-  return hexbuf;
-    
-}
-
-void uart3_puts(uint8_t *src, uint16_t size){         // Print a string in UART3
-    while (size--){
-        while ( !(LPC_UART3->LSR &= (1<<5)) ) {} 
-        LPC_UART3->THR = *src++;
-    }
-}
-
-void uart0_puts( uint8_t *src) {         // Print a string in UART3
-  
-   uint16_t size = 300;
-    
-    while (size--){
-        while ( !(LPC_UART0->LSR & (1<<5)) ) {} 
-        LPC_UART0->THR = *src++;
-    }
-}
-
-void uart0_putsx(volatile uint8_t *src ){            // Print a string in UART0   
-    uint16_t size = 300;//sizeof( src ); 
-    uint8_t *buff;
-    while (size--)
-    {   
-        buff = hextoascii(*(src++));
-        for ( uint8_t i  = 0; i < 3; i++ ){
-            while ( !(LPC_UART0->LSR &= (1<<5))  ) {} 
-            LPC_UART0->THR = buff[i];           //*src++;
-        }
-    }
-}
-
-void uart0_text( const char* src){                      // Print a string of constant in UART0
-    static uint16_t size;
-    size = sizeof (src);
-    while (size--){
-        while ( !(LPC_UART0->LSR &= (1<<5))  ) {} 
-        LPC_UART0->THR = *src++;   
-    }
 }
\ No newline at end of file