Updated the code with Class C Lorawan

Dependencies:   mbed LoRaWAN-lib

Revision:
8:8d6f486e1a7d
Parent:
3:9c6f7f082151
--- a/app/vt100.h	Tue Jul 05 15:01:57 2016 +0000
+++ b/app/vt100.h	Tue Apr 04 13:43:31 2017 +0000
@@ -52,9 +52,8 @@
         WHITE   = 7,
     };
 
-    VT100( PinName tx, PinName rx ): SerialBase( tx, rx )
+    VT100( PinName tx, PinName rx ): SerialBase( tx, rx, 115200 )
     {
-        this->baud( 115200 );
         // initializes terminal to "power-on" settings
         // ESC c
         this->printf( "\x1B\x63" );
@@ -152,7 +151,7 @@
      */
     int getc( )
     {
-        return _base_getc();
+        return _base_getc( );
     }
 
     /** Write a char to the serial port