From 7b125f4236116d300aafa6ed5bb962747b0da8ae Mon Sep 17 00:00:00 2001 From: Mirko Curtolo Date: Mon, 19 Feb 2024 14:09:45 +0100 Subject: [PATCH] Remove internal deprecation warning --- src/ArduinoIoTCloudTCPThing.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ArduinoIoTCloudTCPThing.h b/src/ArduinoIoTCloudTCPThing.h index 3d66ae1c..b199b907 100644 --- a/src/ArduinoIoTCloudTCPThing.h +++ b/src/ArduinoIoTCloudTCPThing.h @@ -52,7 +52,7 @@ class ArduinoIoTCloudTCPThing int connected(); void updateTimezoneInfo(); - void addPropertyReal(Property& property, String name, int tag, permissionType permission_type = READWRITE, long seconds = ON_CHANGE, void(*fn)(void) = NULL, float minDelta = 0.0f, void(*synFn)(Property & property) = CLOUD_WINS) __attribute__((deprecated("Use addProperty(property, Permission::ReadWrite) instead."))); + void addPropertyReal(Property& property, String name, int tag, permissionType permission_type = READWRITE, long seconds = ON_CHANGE, void(*fn)(void) = NULL, float minDelta = 0.0f, void(*synFn)(Property & property) = CLOUD_WINS); Property& addPropertyReal(Property& property, String name, int tag, Permission const permission); void push();