Modularizando o src

Dependencies:   EALib EthernetInterface_vz mbed-rtos mbed

Fork of header_main_colinas_V0-20-09-14 by VZTECH

Revision:
26:725cbbedadd5
Parent:
25:2cf5e8dd4035
Child:
27:98f824719d1c
--- a/prompt.cpp	Mon Sep 22 14:43:46 2014 +0000
+++ b/prompt.cpp	Mon Sep 22 16:56:00 2014 +0000
@@ -167,15 +167,15 @@
     
 }
 
-void init_fsystem(){                 // init file system and check if files exist
-    //if (!qspifs.isformatted()) {
-    //    qspifs.format();
-    //    pc.printf("File system configured!!\n\r");
-   // }
-    
-   // files('i');   // check if the files are created
-   // files('c');
-   // pc.printf("*******System Ready*******\n\r");
+void init_fsystem(){                 
+   //  init file system and check if files exist
+    if (!qspifs.isformatted()) {
+        qspifs.format();
+        pc.printf("File system configured!!\n\r");
+    }
+    files('i');   // check if the files are created
+    files('c');
+    pc.printf("*******System Ready*******\n\r");
 }
 
 
@@ -184,10 +184,10 @@
     static uint8_t bufret = 0;
     
     if (pc.readable()){
-            
+            // imput do teclado
             b = pc.getc();
             
-            if (b == 0x0D){
+            if (b == 0x0D){ // enter
             bufret = 1;
             }
             else{