Modularizando o src

Dependencies:   EALib EthernetInterface_vz mbed-rtos mbed

Fork of header_main_colinas_V0-20-09-14 by VZTECH

Revision:
18:01a93677e40c
Parent:
17:67a6b557eda5
Child:
22:d2a4b5939115
diff -r 67a6b557eda5 -r 01a93677e40c configs.cpp
--- a/configs.cpp	Fri Sep 19 16:40:17 2014 +0000
+++ b/configs.cpp	Fri Sep 19 17:39:09 2014 +0000
@@ -8,17 +8,11 @@
 //                             Pins/Modules Config
 //***************************************************************************** 
 
-QSPIFileSystem qspifs("qspi");  // file system
-
-Watchdog wdt;
-
 DigitalOut led1(LED1);
 DigitalOut led2(LED2);
 DigitalOut led3(LED3);
 DigitalOut led4(LED4);
 
-DigitalOut hack_led( p24 );
-
 DigitalOut DataReady(p11);                  //IO 27        
 
 DigitalOut data0(p30);                      //LSB
@@ -47,13 +41,13 @@
 
 void start_cpld( void ) {                        //CPLD Start
 
-    static uint16_t reset = 0;//10000;
+    static uint16_t reset = 10000;
     ENABLE_F_REG = 1;                                
     ENABLE_F_TX = 1;
     ENABLE_F_RX = 1;
     DataReady = 0;
     RST = 1;
-    while( reset++ < 10000 ){}
+    while(reset--){}
     RST = 0;        
 }