Skip to content

Commit 5fd1289

Browse files
committed
Add SPDX ID
1 parent bc67ff6 commit 5fd1289

20 files changed

+45
-24
lines changed

README.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,8 @@ Board support package for Arduino Edge Control
44
## License
55

66
Copyright (C) 2021 Arduino AG (http://www.arduino.cc/)
7+
SPDX-License-Identifier: MPL-2.0
8+
79

810
This Source Code Form is subject to the terms of the Mozilla Public
911
License, v. 2.0. If a copy of the MPL was not distributed with this

src/Arduino_EdgeControl.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
/*
22
This file is part of the Arduino Edge Control library.
33
Copyright (C) 2021 Arduino AG (http://www.arduino.cc/)
4+
SPDX-License-Identifier: MPL-2.0
45
56
This Source Code Form is subject to the terms of the Mozilla Public
67
License, v. 2.0. If a copy of the MPL was not distributed with this

src/EdgeControl.cpp

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,8 @@
11
/*
22
This file is part of the Arduino Edge Control library.
33
Copyright (C) 2021 Arduino AG (http://www.arduino.cc/)
4-
4+
SPDX-License-Identifier: MPL-2.0
5+
56
This Source Code Form is subject to the terms of the Mozilla Public
67
License, v. 2.0. If a copy of the MPL was not distributed with this
78
file, You can obtain one at https://mozilla.org/MPL/2.0/.

src/EdgeControl.h

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,8 @@
11
/*
22
This file is part of the Arduino Edge Control library.
33
Copyright (C) 2021 Arduino AG (http://www.arduino.cc/)
4-
4+
SPDX-License-Identifier: MPL-2.0
5+
56
This Source Code Form is subject to the terms of the Mozilla Public
67
License, v. 2.0. If a copy of the MPL was not distributed with this
78
file, You can obtain one at https://mozilla.org/MPL/2.0/.

src/EdgeControl_Expander.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
/*
22
This file is part of the Arduino Edge Control library.
33
Copyright (C) 2021 Arduino AG (http://www.arduino.cc/)
4+
SPDX-License-Identifier: MPL-2.0
45
56
This Source Code Form is subject to the terms of the Mozilla Public
67
License, v. 2.0. If a copy of the MPL was not distributed with this

src/EdgeControl_Expander.h

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,8 @@
11
/*
22
This file is part of the Arduino Edge Control library.
33
Copyright (C) 2021 Arduino AG (http://www.arduino.cc/)
4-
4+
SPDX-License-Identifier: MPL-2.0
5+
56
This Source Code Form is subject to the terms of the Mozilla Public
67
License, v. 2.0. If a copy of the MPL was not distributed with this
78
file, You can obtain one at https://mozilla.org/MPL/2.0/.
@@ -18,7 +19,7 @@ enum {
1819
EXP_LED1 = TCA6424A_P00,
1920
EXP_FAULT_SOLAR_PANEL = TCA6424A_P01,
2021
EXP_FAULT_5V = TCA6424A_P02,
21-
EXP_ON_LCD = TCA6424A_P03,
22+
EXP_ON_LCD = TCA6424A_P03,
2223
EXP_DEMUX_SEL0 = TCA6424A_P04,
2324
EXP_DEMUX_SEL1 = TCA6424A_P05,
2425
EXP_DEMUX_SEL2 = TCA6424A_P06,
@@ -27,7 +28,7 @@ enum {
2728
EXP_WATERMARK_EN = TCA6424A_P10,
2829
EXP_05V_INPUT_EN = TCA6424A_P11,
2930
EXP_SENSOR_DISCHARGE = TCA6424A_P12,
30-
EXP_SENSOR_HIGH_P = TCA6424A_P13,
31+
EXP_SENSOR_HIGH_P = TCA6424A_P13,
3132
EXP_PULSE_CNTL0 = TCA6424A_P14,
3233
EXP_PULSE_CNTL1 = TCA6424A_P15,
3334
EXP_PULSE_CNTL2 = TCA6424A_P16,
@@ -55,7 +56,7 @@ class EdgeControl_IOExpanderClass {
5556
operator bool();
5657

5758
bool pinMode(pin_size_t pin, PinMode direction);
58-
59+
5960
bool digitalWrite(pin_size_t pin, PinStatus status);
6061
bool digitalWrite(pin_size_t pin, int status) { return digitalWrite(pin, (PinStatus)status); };
6162

src/EdgeControl_Input.cpp

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,8 @@
11
/*
22
This file is part of the Arduino Edge Control library.
33
Copyright (C) 2021 Arduino AG (http://www.arduino.cc/)
4-
4+
SPDX-License-Identifier: MPL-2.0
5+
56
This Source Code Form is subject to the terms of the Mozilla Public
67
License, v. 2.0. If a copy of the MPL was not distributed with this
78
file, You can obtain one at https://mozilla.org/MPL/2.0/.

src/EdgeControl_Input.h

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,8 @@
11
/*
22
This file is part of the Arduino Edge Control library.
33
Copyright (C) 2021 Arduino AG (http://www.arduino.cc/)
4-
4+
SPDX-License-Identifier: MPL-2.0
5+
56
This Source Code Form is subject to the terms of the Mozilla Public
67
License, v. 2.0. If a copy of the MPL was not distributed with this
78
file, You can obtain one at https://mozilla.org/MPL/2.0/.

src/EdgeControl_Latching.cpp

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,8 @@
11
/*
22
This file is part of the Arduino Edge Control library.
33
Copyright (C) 2021 Arduino AG (http://www.arduino.cc/)
4-
4+
SPDX-License-Identifier: MPL-2.0
5+
56
This Source Code Form is subject to the terms of the Mozilla Public
67
License, v. 2.0. If a copy of the MPL was not distributed with this
78
file, You can obtain one at https://mozilla.org/MPL/2.0/.

src/EdgeControl_Latching.h

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,8 @@
11
/*
22
This file is part of the Arduino Edge Control library.
33
Copyright (C) 2021 Arduino AG (http://www.arduino.cc/)
4-
4+
SPDX-License-Identifier: MPL-2.0
5+
56
This Source Code Form is subject to the terms of the Mozilla Public
67
License, v. 2.0. If a copy of the MPL was not distributed with this
78
file, You can obtain one at https://mozilla.org/MPL/2.0/.

0 commit comments

Comments
 (0)