Skip to content

Commit cd3b1fc

Browse files
committed
Moving constant 'TIMEOUT_FOR_LASTVALUES_SYNC' into class 'ArduinoIoTCloudTCP' since its not needed for LoRa boards
1 parent 334ebe9 commit cd3b1fc

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

src/ArduinoIoTCloud.h

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -78,8 +78,6 @@ class ArduinoIoTCloudClass
7878
{
7979
public:
8080

81-
static const int TIMEOUT_FOR_LASTVALUES_SYNC = 10000;
82-
8381
virtual int connect () = 0;
8482
virtual bool disconnect () = 0;
8583
virtual void update () = 0;

src/ArduinoIoTCloudTCP.h

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,9 @@ static uint16_t const DEFAULT_BROKER_PORT_USER_PASS_AUTH = 8884;
4949

5050
class ArduinoIoTCloudTCP: public ArduinoIoTCloudClass {
5151
public:
52+
53+
static const int TIMEOUT_FOR_LASTVALUES_SYNC = 10000;
54+
5255
ArduinoIoTCloudTCP();
5356
~ArduinoIoTCloudTCP();
5457
int connect();

0 commit comments

Comments
 (0)