@@ -29,16 +29,16 @@ void initProperties() {
2929 ArduinoCloud .setSecretDeviceKey (SECRET_DEVICE_KEY );
3030#endif
3131#if defined(BOARD_HAS_WIFI ) || defined(BOARD_HAS_GSM ) || defined(BOARD_HAS_NB ) || defined(BOARD_HAS_ETHERNET ) || defined(BOARD_HAS_CATM1_NBIOT )
32- ArduinoCloud .addProperty (switchButton , Permission ::Write ). onUpdate ( nullptr ) ;
33- ArduinoCloud .addProperty (oneShot , Permission ::ReadWrite ). onUpdate ( nullptr ) ;
34- ArduinoCloud .addProperty (minute , Permission ::ReadWrite ). onUpdate ( nullptr ) ;
35- ArduinoCloud .addProperty (hourly , Permission ::ReadWrite ). onUpdate ( nullptr ) ;
36- ArduinoCloud .addProperty (daily , Permission ::ReadWrite ). onUpdate ( nullptr ) ;
37- ArduinoCloud .addProperty (weekly , Permission ::ReadWrite ). onUpdate ( nullptr ) ;
38- ArduinoCloud .addProperty (monthly , Permission ::ReadWrite ). onUpdate ( nullptr ) ;
39- ArduinoCloud .addProperty (yearly , Permission ::ReadWrite ). onUpdate ( nullptr ) ;
32+ ArduinoCloud .addProperty (switchButton , Permission ::Write );
33+ ArduinoCloud .addProperty (oneShot , Permission ::ReadWrite );
34+ ArduinoCloud .addProperty (minute , Permission ::ReadWrite );
35+ ArduinoCloud .addProperty (hourly , Permission ::ReadWrite );
36+ ArduinoCloud .addProperty (daily , Permission ::ReadWrite );
37+ ArduinoCloud .addProperty (weekly , Permission ::ReadWrite );
38+ ArduinoCloud .addProperty (monthly , Permission ::ReadWrite );
39+ ArduinoCloud .addProperty (yearly , Permission ::ReadWrite );
4040#elif defined(BOARD_HAS_LORA )
41- ArduinoCloud .addProperty (switchButton , 1 , Permission ::Write ). onUpdate ( nullptr ) ;
41+ ArduinoCloud .addProperty (switchButton , 1 , Permission ::Write );
4242#endif
4343}
4444
0 commit comments