Skip to content

Commit 912b068

Browse files
committed
Add deprecated attribute to setThingId() function
1 parent 1af4701 commit 912b068

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/ArduinoIoTCloud.h

+1-1
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,7 @@ class ArduinoIoTCloudClass
9191
void push();
9292
bool setTimestamp(String const & prop_name, unsigned long const timestamp);
9393

94-
inline void setThingId (String const thing_id) { _thing_id = thing_id; };
94+
inline void setThingId (String const thing_id) { _thing_id = thing_id; }; __attribute__((deprecated("It is no longer necessary to configure a THING ID.")));
9595
inline String & getThingId () { return _thing_id; };
9696
inline void setDeviceId(String const device_id) { _device_id = device_id; };
9797
inline String & getDeviceId() { return _device_id; };

0 commit comments

Comments
 (0)