@@ -20,11 +20,11 @@ int potentiometer;
20
20
void initProperties () {
21
21
ArduinoCloud .setThingId (THING_ID );
22
22
#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 );
25
25
#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 );
28
28
#endif
29
29
30
30
}
@@ -34,5 +34,5 @@ void initProperties() {
34
34
#elif defined(BOARD_HAS_GSM )
35
35
GSMConnectionHandler ArduinoIoTPreferredConnection (SECRET_PIN , SECRET_APN , SECRET_LOGIN , SECRET_PASS );
36
36
#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 );
38
38
#endif
0 commit comments