mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2025-12-23 21:43:51 +01:00
pkg/driver_sx126x: don't rename vendor files
This commit is contained in:
parent
6f23791e31
commit
00c875b951
@ -22,7 +22,7 @@
|
||||
|
||||
#include <assert.h>
|
||||
|
||||
#include "sx126x_driver.h"
|
||||
#include_next "sx126x.h"
|
||||
|
||||
#include "net/netdev.h"
|
||||
|
||||
|
||||
@ -20,7 +20,6 @@
|
||||
|
||||
#include "board.h"
|
||||
#include "sx126x.h"
|
||||
#include "sx126x_driver.h"
|
||||
|
||||
#if defined(MODULE_SHIELD_LLCC68) || defined(MODULE_SHIELD_SX1262)
|
||||
# include "arduino_iomap.h"
|
||||
|
||||
@ -25,7 +25,6 @@
|
||||
#include "net/lora.h"
|
||||
#include "periph/spi.h"
|
||||
|
||||
#include "sx126x_driver.h"
|
||||
#include "sx126x.h"
|
||||
#include "sx126x_params.h"
|
||||
#include "sx126x_internal.h"
|
||||
|
||||
@ -1,62 +0,0 @@
|
||||
From c68e8e74d3de1235c4d818d96573e33e42cbcb74 Mon Sep 17 00:00:00 2001
|
||||
From: Alexandre Abadie <alexandre.abadie@inria.fr>
|
||||
Date: Thu, 11 Mar 2021 17:06:43 +0100
|
||||
Subject: [PATCH 1/1] adapt to RIOT
|
||||
|
||||
---
|
||||
src/sx126x.c | 4 ++--
|
||||
src/{sx126x.h => sx126x_driver.h} | 6 +++---
|
||||
src/{sx126x_regs.h => sx126x_driver_regs.h} | 0
|
||||
3 files changed, 5 insertions(+), 5 deletions(-)
|
||||
rename src/{sx126x.h => sx126x_driver.h} (99%)
|
||||
rename src/{sx126x_regs.h => sx126x_driver_regs.h} (100%)
|
||||
|
||||
diff --git a/src/sx126x.c b/src/sx126x.c
|
||||
index a61c3ce..2fa7d88 100644
|
||||
--- a/src/sx126x.c
|
||||
+++ b/src/sx126x.c
|
||||
@@ -35,9 +35,9 @@
|
||||
*/
|
||||
|
||||
#include <string.h> // memcpy
|
||||
-#include "sx126x.h"
|
||||
+#include "sx126x_driver.h"
|
||||
#include "sx126x_hal.h"
|
||||
-#include "sx126x_regs.h"
|
||||
+#include "sx126x_driver_regs.h"
|
||||
|
||||
/*
|
||||
* -----------------------------------------------------------------------------
|
||||
diff --git a/src/sx126x.h b/src/sx126x_driver.h
|
||||
similarity index 99%
|
||||
rename from src/sx126x.h
|
||||
rename to src/sx126x_driver.h
|
||||
index 634ed82..e5ed101 100644
|
||||
--- a/src/sx126x.h
|
||||
+++ b/src/sx126x_driver.h
|
||||
@@ -29,8 +29,8 @@
|
||||
* SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||
*/
|
||||
|
||||
-#ifndef SX126X_H
|
||||
-#define SX126X_H
|
||||
+#ifndef SX126X_DRIVER_H
|
||||
+#define SX126X_DRIVER_H
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
@@ -1517,6 +1517,6 @@ sx126x_status_t sx126x_set_trimming_capacitor_values( const void* context, const
|
||||
}
|
||||
#endif
|
||||
|
||||
-#endif // SX126X_H
|
||||
+#endif // SX126X_DRIVER_H
|
||||
|
||||
/* --- EOF ------------------------------------------------------------------ */
|
||||
diff --git a/src/sx126x_regs.h b/src/sx126x_driver_regs.h
|
||||
similarity index 100%
|
||||
rename from src/sx126x_regs.h
|
||||
rename to src/sx126x_driver_regs.h
|
||||
--
|
||||
2.27.0
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user