changed default debug settings

Fork of cc3000_hostdriver_mbedsocket by Martin Kojtal

Revision:
45:50ab13d8f2dc
Parent:
20:30b6ed7bf8fd
--- a/cc3000_nvmem.cpp	Sun Oct 13 11:46:21 2013 +0200
+++ b/cc3000_nvmem.cpp	Wed Nov 06 17:56:25 2013 +0100
@@ -118,22 +118,19 @@
     uint16_t    offset = 0;
     uint8_t*      spDataPtr = (uint8_t*)data;
 
-    while ((status == 0) && (length >= SP_PORTION_SIZE))
-    {
+    while ((status == 0) && (length >= SP_PORTION_SIZE)) {
         status = write(file_id, SP_PORTION_SIZE, offset, spDataPtr);
         offset += SP_PORTION_SIZE;
         length -= SP_PORTION_SIZE;
         spDataPtr += SP_PORTION_SIZE;
     }
 
-    if (status !=0)
-    {
+    if (status !=0) {
         // NVMEM error occurred
         return status;
     }
 
-    if (length != 0)
-    {
+    if (length != 0) {
         // If length MOD 512 is nonzero, write the remaining bytes.
         status = write(file_id, length, offset, spDataPtr);
     }
@@ -162,7 +159,7 @@
 }
 
 #ifndef CC3000_TINY_DRIVER
-uint8_t  cc3000_nvmem::read_sp_version(uint8_t* patch_ver) {
+uint8_t cc3000_nvmem::read_sp_version(uint8_t* patch_ver) {
     uint8_t *ptr;
     // 1st byte is the status and the rest is the SP version
     uint8_t retBuf[5];
@@ -180,7 +177,6 @@
 
     return(retBuf[0]);
 }
-
 #endif
 
-}
+} // mbed_cc3000 namespace