Skip to content

Commit 3284b64

Browse files
committed
fix Astyle
1 parent 4254e47 commit 3284b64

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

examples/ArduinoIoTCloud_LED_switch/thingProperties.h

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -20,11 +20,11 @@ int potentiometer;
2020
void 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

examples/ArduinoIoTCloud_Travis_CI/thingProperties.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ String str_property_8;
5959
#elif defined(BOARD_HAS_GSM)
6060
GSMConnectionHandler ArduinoIoTPreferredConnection(SECRET_PIN, SECRET_APN, SECRET_LOGIN, SECRET_PASS);
6161
#elif defined(BOARD_HAS_LORA)
62-
LoRaConnectionHandler ArduinoIoTPreferredConnection(SECRET_APP_EUI, SECRET_APP_KEY,EU868);
62+
LoRaConnectionHandler ArduinoIoTPreferredConnection(SECRET_APP_EUI, SECRET_APP_KEY, EU868);
6363
#endif
6464

6565
/******************************************************************************

0 commit comments

Comments
 (0)