local fork
Dependencies: Socket USBHostWANDongle_bleedingedge lwip-sys lwip
Fork of VodafoneUSBModem_bleedingedge by
Diff: at/ATCommandsInterface.cpp
- Revision:
- 58:763eefc845b1
- Parent:
- 57:593fb493172f
- Child:
- 59:0bcb8c5216d4
diff -r 593fb493172f -r 763eefc845b1 at/ATCommandsInterface.cpp --- a/at/ATCommandsInterface.cpp Wed Oct 24 14:13:49 2012 +0000 +++ b/at/ATCommandsInterface.cpp Wed Oct 24 14:15:53 2012 +0000 @@ -273,8 +273,6 @@ return ret; } -#include "mbed.h" -DigitalOut led_test(LED4); int ATCommandsInterface::tryReadLine() { @@ -282,14 +280,12 @@ //Block on serial read or incoming command DBG("Trying to read a new line from stream"); - led_test=1; int ret = m_pStream->waitAvailable(); //This can be aborted size_t readLen = 0; if(ret == OK) { ret = m_pStream->read((uint8_t*)m_inputBuf + m_inputPos, &readLen, AT_INPUT_BUF_SIZE - 1 - m_inputPos, 0); //Do NOT wait at this point } - led_test=0; if(ret == OK) { m_inputPos+=readLen;