Vodafone K3770/K3772-Z modems driver & networking library
Dependencies: Socket USBHostWANDongle lwip-sys lwip
Dependents: VodafoneUSBModemHTTPClientTest VodafoneUSBModemNTPClientTest VodafoneUSBModemSMSTest VodafoneUSBModemUSSDTest ... more
Fork of VodafoneUSBModem_bleedingedge by
This is the driver for the Vodafone K3700 & K3772-Z Dongles:
More details and instructions can be found here.
Revision 35:be311326ee06, committed 2012-09-14
- Comitter:
- donatien
- Date:
- Fri Sep 14 15:11:06 2012 +0000
- Parent:
- 34:b53c619b036d
- Child:
- 36:45c3b5cb0234
- Commit message:
- volatile'd some variables in USSDInterface, just to be sure
Changed in this revision
ussd/USSDInterface.cpp | Show annotated file Show diff for this revision Revisions of this file |
ussd/USSDInterface.h | Show annotated file Show diff for this revision Revisions of this file |
--- a/ussd/USSDInterface.cpp Fri Sep 14 10:15:02 2012 +0000 +++ b/ussd/USSDInterface.cpp Fri Sep 14 15:11:06 2012 +0000 @@ -178,7 +178,7 @@ return; } size_t cpyLen = MIN( pEnd - pStart, m_maxResultLength - 1 ); - memcpy(m_result, pStart, cpyLen); + memcpy((void*)m_result, pStart, cpyLen); m_result[cpyLen] = '\0'; DBG("Got USSD response: %s", m_result); m_responseMtx.unlock();
--- a/ussd/USSDInterface.h Fri Sep 14 10:15:02 2012 +0000 +++ b/ussd/USSDInterface.h Fri Sep 14 15:11:06 2012 +0000 @@ -69,8 +69,8 @@ Semaphore m_responseSphre; //Result - char* m_result; - size_t m_maxResultLength; + volatile char* m_result; + volatile size_t m_maxResultLength; };