@@ -26,7 +26,7 @@ static unsigned long getTimestamp() {
2626 #ifdef ARDUINO_ARCH_SAMD
2727 return rtc.getEpoch ();
2828 #else
29- #warning "No RTC available on this architecture - ArduinoIoTCloud will not keep track of local change timestamps ."
29+ #pragma message "No RTC available on this architecture - ArduinoIoTCloud will not keep track of local change timestamps ."
3030 return 0 ;
3131 #endif
3232}
@@ -35,19 +35,19 @@ static unsigned long getTimestamp() {
3535 CTOR/DTOR
3636 ******************************************************************************/
3737ArduinoCloudProperty::ArduinoCloudProperty ()
38- : _name(" " ),
39- _permission(Permission::Read ),
40- _update_callback_func( nullptr ),
41- _sync_callback_func( nullptr ),
42- _has_been_updated_once( false ),
43- _has_been_modified_in_callback( false ),
44- _min_delta_property( 0 . 0f ),
45- _min_time_between_updates_millis( 0 ),
46- _last_updated_millis(0 ),
47- _update_interval_millis(0 ),
48- _last_local_change_timestamp(0 ),
49- _last_cloud_change_timestamp(0 ),
50- _map_data_list(nullptr ) {
38+ : _name(" " ),
39+ _min_delta_property( 0 . 0f ),
40+ _min_time_between_updates_millis( 0 ),
41+ _permission(Permission::Read ),
42+ _update_callback_func( nullptr ),
43+ _sync_callback_func( nullptr ),
44+ _has_been_updated_once( false ),
45+ _has_been_modified_in_callback( false ),
46+ _last_updated_millis(0 ),
47+ _update_interval_millis(0 ),
48+ _last_local_change_timestamp(0 ),
49+ _last_cloud_change_timestamp(0 ),
50+ _map_data_list(nullptr ) {
5151}
5252
5353/* *****************************************************************************
0 commit comments