Skip to content

Commit 68c0d9b

Browse files
committed
Renaming ArduinoIoTCloud_Defines.h to ArduinoIoTCloud_Config.h
1 parent 7f1bc1e commit 68c0d9b

13 files changed

+22
-17
lines changed

src/ArduinoIoTCloud.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
* INCLUDE
2323
******************************************************************************/
2424

25-
#include <ArduinoIoTCloud_Defines.h>
25+
#include <ArduinoIoTCloud_Config.h>
2626

2727
#include <ArduinoCloudThing.h>
2828
#include <Arduino_ConnectionHandler.h>

src/ArduinoIoTCloudLPWAN.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
* INCLUDE
2020
******************************************************************************/
2121

22-
#include "ArduinoIoTCloud_Defines.h"
22+
#include <ArduinoIoTCloud_Config.h>
2323

2424
#ifdef HAS_LORA
2525

src/ArduinoIoTCloudTCP.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
* INCLUDE
2020
******************************************************************************/
2121

22-
#include "ArduinoIoTCloud_Defines.h"
22+
#include <ArduinoIoTCloud_Config.h>
2323

2424
#ifdef HAS_TCP
2525
#include <ArduinoIoTCloudTCP.h>
@@ -388,4 +388,4 @@ int ArduinoIoTCloudTCP::write(String const topic, byte const data[], int const l
388388

389389
ArduinoIoTCloudTCP ArduinoCloud;
390390

391-
#endif
391+
#endif

src/ArduinoIoTCloud_Defines.h renamed to src/ArduinoIoTCloud_Config.h

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
/*
22
This file is part of ArduinoIoTCloud.
33
4-
Copyright 2019 ARDUINO SA (http://www.arduino.cc/)
4+
Copyright 2020 ARDUINO SA (http://www.arduino.cc/)
55
66
This software is released under the GNU General Public License version 3,
77
which covers the main part of arduino-cli.
@@ -15,8 +15,12 @@
1515
a commercial license, send an email to [email protected].
1616
*/
1717

18-
#ifndef ARDUINO_IOT_CLOUD_DEFINES_H_
19-
#define ARDUINO_IOT_CLOUD_DEFINES_H_
18+
#ifndef ARDUINO_IOT_CLOUD_CONFIG_H_
19+
#define ARDUINO_IOT_CLOUD_CONFIG_H_
20+
21+
/******************************************************************************
22+
* AUTOMATIC CONFIGURED DEFINES
23+
******************************************************************************/
2024

2125
#if defined(ARDUINO_SAMD_MKRGSM1400) || defined(ARDUINO_SAMD_MKRWIFI1010) || \
2226
defined(ARDUINO_SAMD_MKR1000) || defined(ARDUINO_SAMD_NANO_33_IOT) || \
@@ -34,4 +38,4 @@
3438
#define HAS_TCP
3539
#endif
3640

37-
#endif /* ARDUINO_IOT_CLOUD_DEFINES_H_ */
41+
#endif /* ARDUINO_IOT_CLOUD_CONFIG_H_ */

src/CloudSerial.cpp

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,8 @@
1919
* INCLUDE
2020
******************************************************************************/
2121

22-
#include "ArduinoIoTCloud_Defines.h"
22+
#include <ArduinoIoTCloud_Config.h>
23+
2324
#ifndef HAS_LORA
2425

2526
#include "ArduinoIoTCloud.h"

src/utility/crypto/BearSSLTrustAnchor.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323
* INCLUDE
2424
******************************************************************************/
2525

26-
#include <ArduinoIoTCloud_Defines.h>
26+
#include <ArduinoIoTCloud_Config.h>
2727

2828
#ifdef BOARD_HAS_ECCX08
2929

src/utility/crypto/CryptoUtil.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
* INCLUDE
2323
******************************************************************************/
2424

25-
#include <ArduinoIoTCloud_Defines.h>
25+
#include <ArduinoIoTCloud_Config.h>
2626

2727
#ifdef BOARD_HAS_ECCX08
2828

src/utility/crypto/ECCX08Cert.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
* INCLUDE
2020
******************************************************************************/
2121

22-
#include <ArduinoIoTCloud_Defines.h>
22+
#include <ArduinoIoTCloud_Config.h>
2323

2424
#ifdef BOARD_HAS_ECCX08
2525

src/utility/crypto/ECCX08Cert.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
* INCLUDE
2323
******************************************************************************/
2424

25-
#include <ArduinoIoTCloud_Defines.h>
25+
#include <ArduinoIoTCloud_Config.h>
2626

2727
#ifdef BOARD_HAS_ECCX08
2828

src/utility/time/NTPUtils.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
* INCLUDE
2020
**************************************************************************************/
2121

22-
#include "../../ArduinoIoTCloud_Defines.h"
22+
#include "../../ArduinoIoTCloud_Config.h"
2323
#ifndef HAS_LORA
2424

2525
#include "NTPUtils.h"

0 commit comments

Comments
 (0)