Skip to content

Commit d1e2fc8

Browse files
committed
Use DEFAULT_MIN_TIME_BETWEEN_UPDATES_MILLIS as default period for publishOnChange
1 parent d436b80 commit d1e2fc8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/property/Property.h

+1-1
Original file line numberDiff line numberDiff line change
@@ -143,7 +143,7 @@ class Property
143143
/* Composable configuration of the Property class */
144144
Property & onUpdate(UpdateCallbackFunc func);
145145
Property & onSync(OnSyncCallbackFunc func);
146-
Property & publishOnChange(float const min_delta_property, unsigned long const min_time_between_updates_millis = 0);
146+
Property & publishOnChange(float const min_delta_property, unsigned long const min_time_between_updates_millis = DEFAULT_MIN_TIME_BETWEEN_UPDATES_MILLIS);
147147
Property & publishEvery(unsigned long const seconds);
148148
Property & publishOnDemand();
149149
Property & encodeTimestamp();

0 commit comments

Comments
 (0)