Skip to content

Commit a4acad9

Browse files
committed
Move constant TIMEOUT_FOR_LASTVALUES_SYNC within module since its not needed outside of it
1 parent 189c99a commit a4acad9

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/ArduinoIoTCloudTCP.cpp

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,8 @@ TimeService time_service;
4040
GLOBAL CONSTANTS
4141
******************************************************************************/
4242

43+
static const int TIMEOUT_FOR_LASTVALUES_SYNC = 10000;
44+
4345
const static int CONNECT_SUCCESS = 1;
4446
const static int CONNECT_FAILURE = 0;
4547
const static int CONNECT_FAILURE_SUBSCRIBE = -1;

src/ArduinoIoTCloudTCP.h

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -49,8 +49,6 @@ static uint16_t const DEFAULT_BROKER_PORT_USER_PASS_AUTH = 8884;
4949
class ArduinoIoTCloudTCP: public ArduinoIoTCloudClass {
5050
public:
5151

52-
static const int TIMEOUT_FOR_LASTVALUES_SYNC = 10000;
53-
5452
ArduinoIoTCloudTCP();
5553
virtual ~ArduinoIoTCloudTCP();
5654

0 commit comments

Comments
 (0)