changeset 570:855b3c5bb4b5

.../cst/cst_exts.c: tab indentation fixes
author Mychaela Falconia <falcon@freecalypso.org>
date Sat, 12 Jan 2019 22:53:46 +0000
parents 29c0be5a1962
children b24d42baa30d
files src/cs/services/cst/cst_exts.c
diffstat 1 files changed, 28 insertions(+), 28 deletions(-) [+]
line wrap: on
line diff
--- a/src/cs/services/cst/cst_exts.c	Sat Jan 12 19:46:58 2019 +0000
+++ b/src/cs/services/cst/cst_exts.c	Sat Jan 12 22:53:46 2019 +0000
@@ -615,34 +615,34 @@
         switch (*cmd) {
 
           case 'e':
-		  case 'E':
+	  case 'E':
           /* 's''e' already detected => assume the command is at%ser. */
-		  {
-			cmd += 3; /* Discard the following characters */
-			*cmdLen -= 9;
-			if (SER_WriteConfig (cmd, (BOOL) (*(cmd + 3) - '0')))
-			  return( AT_CMPL );
-			else
-              return( AT_FAIL );
-		  }
+	  {
+		cmd += 3; /* Discard the following characters */
+		*cmdLen -= 9;
+		if (SER_WriteConfig (cmd, (BOOL) (*(cmd + 3) - '0')))
+		  return( AT_CMPL );
+		else
+                  return( AT_FAIL );
+	  }
 
           case 'w':
-		  case 'W':
+	  case 'W':
           /* 's''w' already detected => assume the command is at%switch. */
-		  {
-			*cmdLen -= 7;
-			if (SER_ImmediateSwitch())
-			  return( AT_CMPL );
-			else
-			  return( AT_FAIL );
-		  }
+	  {
+		*cmdLen -= 7;
+		if (SER_ImmediateSwitch())
+		  return( AT_CMPL );
+		else
+		  return( AT_FAIL );
+	  }
 
           case 'l':
-		  case 'L':
+	  case 'L':
           /* 's''l' already detected => assume the command is at%sleep. */
-		  {
-			cmd += 5; /* Discard the following characters */
-			*cmdLen -= 8;
+	  {
+	    cmd += 5; /* Discard the following characters */
+	    *cmdLen -= 8;
             /*
              * Checks if the parameter is valid:
              *     0 -> NO_SLEEP
@@ -652,20 +652,20 @@
              *     4 -> ALL_SLEEP
              */
 
-   			if (((*cmd - '0') >= 0) && ((*cmd - '0') <= 4))
+	    if (((*cmd - '0') >= 0) && ((*cmd - '0') <= 4))
             {
               power_down_config ((UBYTE) (*cmd - '0'), UWIRE_CLK_CUT);
-			  return( AT_CMPL );
+	      return( AT_CMPL );
             }
-			else
+	    else
               return( AT_FAIL );
-		  }
+	  }
 
           default:
             *cmdLen -= 2;
             return ( AT_FAIL );
 
-		}
+	}
       }
 
       case 'H':
@@ -739,7 +739,7 @@
           out[0] = 22;
           memcpy (&out[1], "Performing Audio Tests", 22);
           out [23] = (CHAR) 0xff;
-		}
+	}
         else
         {
           if (!strncmp(cmd, "R", 1) || !strncmp(cmd, "r", 1)) 
@@ -751,7 +751,7 @@
           }
           else
             return( AT_FAIL );
-		}
+	}
         return( AT_CMPL );
 #endif
       default: