mirror of https://github.com/ARMmbed/mbed-os.git
Moved DEFAULT_DELAY_BETWEEN_AT_COMMANDS constant to cpp file
parent
303048e96d
commit
c028aa4913
|
@ -59,6 +59,9 @@ static const intptr_t cellular_properties[AT_CellularBase::PROPERTY_MAX] = {
|
||||||
1, // PROPERTY_AT_CGEREP
|
1, // PROPERTY_AT_CGEREP
|
||||||
};
|
};
|
||||||
|
|
||||||
|
//the delay between sending AT commands
|
||||||
|
static const uint16_t DEFAULT_DELAY_BETWEEN_AT_COMMANDS = 20;
|
||||||
|
|
||||||
TELIT_ME910::TELIT_ME910(FileHandle *fh, PinName pwr, bool active_high)
|
TELIT_ME910::TELIT_ME910(FileHandle *fh, PinName pwr, bool active_high)
|
||||||
: AT_CellularDevice(fh),
|
: AT_CellularDevice(fh),
|
||||||
_active_high(active_high),
|
_active_high(active_high),
|
||||||
|
|
|
@ -30,9 +30,6 @@
|
||||||
#include "DigitalOut.h"
|
#include "DigitalOut.h"
|
||||||
#include "AT_CellularDevice.h"
|
#include "AT_CellularDevice.h"
|
||||||
|
|
||||||
//the delay between sending AT commands
|
|
||||||
#define DEFAULT_DELAY_BETWEEN_AT_COMMANDS 20
|
|
||||||
|
|
||||||
namespace mbed {
|
namespace mbed {
|
||||||
|
|
||||||
class TELIT_ME910 : public AT_CellularDevice {
|
class TELIT_ME910 : public AT_CellularDevice {
|
||||||
|
|
Loading…
Reference in New Issue