@@ -20,11 +20,11 @@ int potentiometer;
2020void initProperties () {
2121 ArduinoCloud .setThingId (THING_ID );
2222 #if defined(BOARD_HAS_WIFI ) || defined(BOARD_HAS_GSM )
23- ArduinoCloud .addProperty (led , READWRITE , ON_CHANGE , onLedChange );
24- ArduinoCloud .addProperty (potentiometer , READ , ON_CHANGE );
23+ ArduinoCloud .addProperty (led , READWRITE , ON_CHANGE , onLedChange );
24+ ArduinoCloud .addProperty (potentiometer , READ , ON_CHANGE );
2525 #elif defined(BOARD_HAS_LORA )
26- ArduinoCloud .addProperty (led , 1 , READWRITE , ON_CHANGE , onLedChange );
27- ArduinoCloud .addProperty (potentiometer , 2 , READ , ON_CHANGE );
26+ ArduinoCloud .addProperty (led , 1 , READWRITE , ON_CHANGE , onLedChange );
27+ ArduinoCloud .addProperty (potentiometer , 2 , READ , ON_CHANGE );
2828 #endif
2929
3030}
@@ -34,5 +34,5 @@ void initProperties() {
3434#elif defined(BOARD_HAS_GSM )
3535 GSMConnectionHandler ArduinoIoTPreferredConnection (SECRET_PIN , SECRET_APN , SECRET_LOGIN , SECRET_PASS );
3636#elif defined(BOARD_HAS_LORA )
37- LoRaConnectionHandler ArduinoIoTPreferredConnection (SECRET_APP_EUI , SECRET_APP_KEY , _lora_band ::EU868 , _lora_class ::CLASS_A );
37+ LoRaConnectionHandler ArduinoIoTPreferredConnection (SECRET_APP_EUI , SECRET_APP_KEY , _lora_band ::EU868 , _lora_class ::CLASS_A );
3838#endif
0 commit comments