From c028aa4913ad4474e563e60e109f874edab0a3fd Mon Sep 17 00:00:00 2001 From: Chris Trowbridge Date: Fri, 14 Jun 2019 08:02:33 -0400 Subject: [PATCH] Moved DEFAULT_DELAY_BETWEEN_AT_COMMANDS constant to cpp file --- .../cellular/framework/targets/TELIT/ME910/TELIT_ME910.cpp | 3 +++ features/cellular/framework/targets/TELIT/ME910/TELIT_ME910.h | 3 --- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/features/cellular/framework/targets/TELIT/ME910/TELIT_ME910.cpp b/features/cellular/framework/targets/TELIT/ME910/TELIT_ME910.cpp index 9cd4935e9c..6c7c7c1483 100644 --- a/features/cellular/framework/targets/TELIT/ME910/TELIT_ME910.cpp +++ b/features/cellular/framework/targets/TELIT/ME910/TELIT_ME910.cpp @@ -59,6 +59,9 @@ static const intptr_t cellular_properties[AT_CellularBase::PROPERTY_MAX] = { 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) : AT_CellularDevice(fh), _active_high(active_high), diff --git a/features/cellular/framework/targets/TELIT/ME910/TELIT_ME910.h b/features/cellular/framework/targets/TELIT/ME910/TELIT_ME910.h index edbb5d6024..6b0455d3fb 100644 --- a/features/cellular/framework/targets/TELIT/ME910/TELIT_ME910.h +++ b/features/cellular/framework/targets/TELIT/ME910/TELIT_ME910.h @@ -30,9 +30,6 @@ #include "DigitalOut.h" #include "AT_CellularDevice.h" -//the delay between sending AT commands -#define DEFAULT_DELAY_BETWEEN_AT_COMMANDS 20 - namespace mbed { class TELIT_ME910 : public AT_CellularDevice {