gps_celular

Dependencies:   GPS7 mbed

Files at this revision

API Documentation at this revision

Comitter:
Rudyedisonlealgarces
Date:
Fri Jun 26 01:28:31 2015 +0000
Parent:
0:5332dcc305cd
Commit message:
celular

Changed in this revision

main.cpp Show annotated file Show diff for this revision Revisions of this file
diff -r 5332dcc305cd -r df85900c7dc4 main.cpp
--- a/main.cpp	Fri Jun 26 01:26:03 2015 +0000
+++ b/main.cpp	Fri Jun 26 01:28:31 2015 +0000
@@ -154,10 +154,8 @@
          DS[i]=DE[i+C]>>K | DE[i+C+1]<<(7-K);
          if (DS[i]==0x00) {LENOUT=i; goto salir;}// cambia de sextetos a octetos 
          K++;
-         if (K==7) {K=0;C++;} // se chequea que ya se acabaron los bits en un ciclo de conversion.
+         if (K==7) {K=0;C++;} // se chequea que ya se acabaron los bits 
          }
-
-         //--------------------------------------------------------------
 salir:   pc.printf("DE\n");
          for (i=0;i < LENIN;i++){
          pc.printf("%X",DE[i]);