This library controls the WNC. There is a derived class for usage from the K64F board.
Fork of WncControllerLibrary by
Revision 8:33c33f7cf84e, committed 2016-09-09
- Comitter:
- fkellermavnet
- Date:
- Fri Sep 09 16:02:42 2016 +0000
- Parent:
- 7:e6f22159ef23
- Child:
- 9:76c6dd1434e1
- Commit message:
- Fixed uint8_t and i-- < 0.
Changed in this revision
| WncController.cpp | Show annotated file Show diff for this revision Revisions of this file |
--- a/WncController.cpp Fri Sep 09 14:15:36 2016 +0000
+++ b/WncController.cpp Fri Sep 09 16:02:42 2016 +0000
@@ -518,7 +518,7 @@
if (numSock < MAX_NUM_WNC_SOCKETS) {
if (m_sSock[numSock].open == true) {
- uint8_t i = m_sSock[numSock].readRetries;
+ int i = m_sSock[numSock].readRetries;
uint16_t to = m_sSock[numSock].readRetryWaitMs;
bool foundData = false;
size_t numRead;
