From 76eaae8554e234a6e6514e3b793e04dfa655ab28 Mon Sep 17 00:00:00 2001 From: Mark Qvist Date: Fri, 11 Oct 2024 16:39:38 +0200 Subject: [PATCH] Cleanup --- BLESerial.cpp | 15 +++++++++++++++ BLESerial.h | 15 +++++++++++++++ Config.h | 2 +- Console.h | 2 +- Device.h | 2 +- Display.h | 2 +- Framing.h | 2 +- Graphics.h | 2 +- Makefile | 2 +- Power.h | 15 +++++++++++++++ RNode_Firmware.ino | 2 +- ROM.h | 2 +- Utilities.h | 2 +- partition_hashes | 2 +- release_hashes.py | 2 +- sx126x.cpp | 2 +- sx126x.h | 2 +- sx127x.cpp | 2 +- sx127x.h | 2 +- sx128x.cpp | 2 +- sx128x.h | 2 +- 21 files changed, 63 insertions(+), 18 deletions(-) diff --git a/BLESerial.cpp b/BLESerial.cpp index 2dbffe3..3460a86 100644 --- a/BLESerial.cpp +++ b/BLESerial.cpp @@ -1,3 +1,18 @@ +// Copyright (C) 2024, Mark Qvist + +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU General Public License as published by +// the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. + +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. + +// You should have received a copy of the GNU General Public License +// along with this program. If not, see . + #include "Boards.h" #if PLATFORM != PLATFORM_NRF52 diff --git a/BLESerial.h b/BLESerial.h index b4bfb1e..7b6d1c6 100644 --- a/BLESerial.h +++ b/BLESerial.h @@ -1,3 +1,18 @@ +// Copyright (C) 2024, Mark Qvist + +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU General Public License as published by +// the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. + +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. + +// You should have received a copy of the GNU General Public License +// along with this program. If not, see . + #include "Boards.h" #if PLATFORM != PLATFORM_NRF52 diff --git a/Config.h b/Config.h index 14f8173..555e194 100644 --- a/Config.h +++ b/Config.h @@ -1,4 +1,4 @@ -// Copyright (C) 2023, Mark Qvist +// Copyright (C) 2024, Mark Qvist // This program is free software: you can redistribute it and/or modify // it under the terms of the GNU General Public License as published by diff --git a/Console.h b/Console.h index 4321d9f..c59d348 100644 --- a/Console.h +++ b/Console.h @@ -1,4 +1,4 @@ -// Copyright (C) 2023, Mark Qvist +// Copyright (C) 2024, Mark Qvist // This program is free software: you can redistribute it and/or modify // it under the terms of the GNU General Public License as published by diff --git a/Device.h b/Device.h index 944479d..b05e153 100644 --- a/Device.h +++ b/Device.h @@ -1,4 +1,4 @@ -// Copyright (C) 2023, Mark Qvist +// Copyright (C) 2024, Mark Qvist // This program is free software: you can redistribute it and/or modify // it under the terms of the GNU General Public License as published by diff --git a/Display.h b/Display.h index 7112b2c..f3ba8b2 100644 --- a/Display.h +++ b/Display.h @@ -1,4 +1,4 @@ -// Copyright (C) 2023, Mark Qvist +// Copyright (C) 2024, Mark Qvist // This program is free software: you can redistribute it and/or modify // it under the terms of the GNU General Public License as published by diff --git a/Framing.h b/Framing.h index ac19f35..efa4b31 100644 --- a/Framing.h +++ b/Framing.h @@ -1,4 +1,4 @@ -// Copyright (C) 2023, Mark Qvist +// Copyright (C) 2024, Mark Qvist // This program is free software: you can redistribute it and/or modify // it under the terms of the GNU General Public License as published by diff --git a/Graphics.h b/Graphics.h index 3f1daf5..3d8cbd7 100644 --- a/Graphics.h +++ b/Graphics.h @@ -1,4 +1,4 @@ -// Copyright (C) 2023, Mark Qvist +// Copyright (C) 2024, Mark Qvist // This program is free software: you can redistribute it and/or modify // it under the terms of the GNU General Public License as published by diff --git a/Makefile b/Makefile index 34a5ba8..0d0fb51 100644 --- a/Makefile +++ b/Makefile @@ -1,4 +1,4 @@ -# Copyright (C) 2023, Mark Qvist +# Copyright (C) 2024, Mark Qvist # This program is free software: you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by diff --git a/Power.h b/Power.h index 1a3dd75..1d1dfb8 100644 --- a/Power.h +++ b/Power.h @@ -1,3 +1,18 @@ +// Copyright (C) 2024, Mark Qvist + +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU General Public License as published by +// the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. + +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. + +// You should have received a copy of the GNU General Public License +// along with this program. If not, see . + #if BOARD_MODEL == BOARD_TBEAM || BOARD_MODEL == BOARD_TBEAM_S_V1 #include XPowersLibInterface* PMU = NULL; diff --git a/RNode_Firmware.ino b/RNode_Firmware.ino index 2064abe..a10dbb8 100644 --- a/RNode_Firmware.ino +++ b/RNode_Firmware.ino @@ -1,4 +1,4 @@ -// Copyright (C) 2023, Mark Qvist +// Copyright (C) 2024, Mark Qvist // This program is free software: you can redistribute it and/or modify // it under the terms of the GNU General Public License as published by diff --git a/ROM.h b/ROM.h index 8b9f853..9ab3a70 100644 --- a/ROM.h +++ b/ROM.h @@ -1,4 +1,4 @@ -// Copyright (C) 2023, Mark Qvist +// Copyright (C) 2024, Mark Qvist // This program is free software: you can redistribute it and/or modify // it under the terms of the GNU General Public License as published by diff --git a/Utilities.h b/Utilities.h index 29523cf..d532220 100644 --- a/Utilities.h +++ b/Utilities.h @@ -1,4 +1,4 @@ -// Copyright (C) 2023, Mark Qvist +// Copyright (C) 2024, Mark Qvist // This program is free software: you can redistribute it and/or modify // it under the terms of the GNU General Public License as published by diff --git a/partition_hashes b/partition_hashes index b520250..a87c153 100755 --- a/partition_hashes +++ b/partition_hashes @@ -1,6 +1,6 @@ #!/usr/bin/env python -# Copyright (C) 2023, Mark Qvist +# Copyright (C) 2024, Mark Qvist # This program is free software: you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by diff --git a/release_hashes.py b/release_hashes.py index ce28a0c..3c08ca9 100644 --- a/release_hashes.py +++ b/release_hashes.py @@ -1,6 +1,6 @@ #!/bin/python -# Copyright (C) 2023, Mark Qvist +# Copyright (C) 2024, Mark Qvist # This program is free software: you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by diff --git a/sx126x.cpp b/sx126x.cpp index c0c07b1..7f220cb 100644 --- a/sx126x.cpp +++ b/sx126x.cpp @@ -1,7 +1,7 @@ // Copyright (c) Sandeep Mistry. All rights reserved. // Licensed under the MIT license. -// Modifications and additions copyright 2023 by Mark Qvist +// Modifications and additions copyright 2024 by Mark Qvist // Obviously still under the MIT license. #include "Boards.h" diff --git a/sx126x.h b/sx126x.h index 922c605..488ba49 100644 --- a/sx126x.h +++ b/sx126x.h @@ -1,7 +1,7 @@ // Copyright (c) Sandeep Mistry. All rights reserved. // Licensed under the MIT license. -// Modifications and additions copyright 2023 by Mark Qvist +// Modifications and additions copyright 2024 by Mark Qvist // Obviously still under the MIT license. #ifndef SX126X_H diff --git a/sx127x.cpp b/sx127x.cpp index 8cbe402..e3a6c49 100644 --- a/sx127x.cpp +++ b/sx127x.cpp @@ -1,7 +1,7 @@ // Copyright (c) Sandeep Mistry. All rights reserved. // Licensed under the MIT license. -// Modifications and additions copyright 2023 by Mark Qvist +// Modifications and additions copyright 2024 by Mark Qvist // Obviously still under the MIT license. #include "Boards.h" diff --git a/sx127x.h b/sx127x.h index 12a8419..a45817e 100644 --- a/sx127x.h +++ b/sx127x.h @@ -1,7 +1,7 @@ // Copyright (c) Sandeep Mistry. All rights reserved. // Licensed under the MIT license. -// Modifications and additions copyright 2023 by Mark Qvist +// Modifications and additions copyright 2024 by Mark Qvist // Obviously still under the MIT license. #ifndef SX1276_H diff --git a/sx128x.cpp b/sx128x.cpp index 9dc4b3a..ecd87a0 100644 --- a/sx128x.cpp +++ b/sx128x.cpp @@ -1,7 +1,7 @@ // Copyright (c) Sandeep Mistry. All rights reserved. // Licensed under the MIT license. -// Modifications and additions copyright 2023 by Mark Qvist +// Modifications and additions copyright 2024 by Mark Qvist // Obviously still under the MIT license. #include "sx128x.h" diff --git a/sx128x.h b/sx128x.h index 9e13eec..914010b 100644 --- a/sx128x.h +++ b/sx128x.h @@ -1,7 +1,7 @@ // Copyright (c) Sandeep Mistry. All rights reserved. // Licensed under the MIT license. -// Modifications and additions copyright 2023 by Mark Qvist +// Modifications and additions copyright 2024 by Mark Qvist // Obviously still under the MIT license. #ifndef SX128X_H