Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Fork of GSM_Library by
Revision 5:320d2babfb41, committed 2015-03-05
- Comitter:
- es_marble
- Date:
- Thu Mar 05 21:29:17 2015 +0000
- Parent:
- 4:3264bc92993c
- Child:
- 6:3ccc86304c2c
- Commit message:
- v4
Changed in this revision
| gsmqueue.cpp | Show annotated file Show diff for this revision Revisions of this file |
| gsmqueue.h | Show annotated file Show diff for this revision Revisions of this file |
--- a/gsmqueue.cpp Thu Mar 05 21:27:47 2015 +0000
+++ b/gsmqueue.cpp Thu Mar 05 21:29:17 2015 +0000
@@ -19,7 +19,7 @@
//Find an occurrence of the given string in the buffer.
//Only advance queueHead until a matching string is found.
//The given string terminates in NULL (\0)
-bool findInQueue(char* str, int strLen)
+bool findInQueue(char* str)
{
//Check that string to find is not empty
if (*str == NULL) return false;
--- a/gsmqueue.h Thu Mar 05 21:27:47 2015 +0000 +++ b/gsmqueue.h Thu Mar 05 21:29:17 2015 +0000 @@ -16,7 +16,7 @@ //Find an occurrence of the given string in the buffer. //Only advance queueHead until a matching string is found. -bool findInQueue(char* str, int strLen); +bool findInQueue(char* str); //Increment queue index by 1, auxiliar function char* incrementIndex(char* pointerToIncrement);
