diff --git a/meson.build b/meson.build
index 61ffd00c..95fc6022 100644
--- a/meson.build
+++ b/meson.build
@@ -193,7 +193,7 @@ md380_src = src + stm32f405_src + ['platform/drivers/display/HX8353_MDx.c',
'platform/drivers/tones/toneGenerator_MDx.c',
'platform/drivers/baseband/SKY72310.c',
'platform/drivers/baseband/radio_MD3x0.c',
- 'platform/drivers/baseband/HR-C5000_MD3x0.c',
+ 'platform/drivers/baseband/HR_C5000.c',
'platform/targets/MD-380/platform.c']
md380_inc = inc + stm32f405_inc + ['platform/targets/MD-380']
@@ -210,7 +210,7 @@ md390_src = src + stm32f405_src + ['platform/drivers/display/HX8353_MDx.c',
'platform/drivers/tones/toneGenerator_MDx.c',
'platform/drivers/baseband/SKY72310.c',
'platform/drivers/baseband/radio_MD3x0.c',
- 'platform/drivers/baseband/HR-C5000_MD3x0.c',
+ 'platform/drivers/baseband/HR_C5000.c',
'platform/targets/MD-390/platform.c']
md390_inc = inc + stm32f405_inc + ['platform/targets/MD-390']
diff --git a/platform/drivers/baseband/HR-C5000_MD3x0.c b/platform/drivers/baseband/HR_C5000.c
similarity index 99%
rename from platform/drivers/baseband/HR-C5000_MD3x0.c
rename to platform/drivers/baseband/HR_C5000.c
index 922ca50f..ccf90e22 100644
--- a/platform/drivers/baseband/HR-C5000_MD3x0.c
+++ b/platform/drivers/baseband/HR_C5000.c
@@ -18,12 +18,12 @@
* along with this program; if not, see *
***************************************************************************/
-#include "HR-C5000_MD3x0.h"
#include
#include
#include
#include
#include
+#include "HR_C5000.h"
const uint8_t initSeq1[] = {0x00, 0x00, 0xFF, 0xB0, 0x00, 0x00, 0x00, 0x00};
const uint8_t initSeq2[] =
diff --git a/platform/drivers/baseband/HR-C5000_MD3x0.h b/platform/drivers/baseband/HR_C5000.h
similarity index 84%
rename from platform/drivers/baseband/HR-C5000_MD3x0.h
rename to platform/drivers/baseband/HR_C5000.h
index 26835a7c..7c91f827 100644
--- a/platform/drivers/baseband/HR-C5000_MD3x0.h
+++ b/platform/drivers/baseband/HR_C5000.h
@@ -18,20 +18,21 @@
* along with this program; if not, see *
***************************************************************************/
-#ifndef C5000_MD3x0_H
-#define C5000_MD3x0_H
+#ifndef HRC5000_H
+#define HRC5000_H
#include
#include
/**
- * Driver for HR_C5000 chip in MD3x0 radios (MD380 and MD390)
+ * Driver for HR_C5000 "baseband" chip.
*
- * WARNING: the PLL and DMR chips share the SPI MOSI line, thus particular care
- * has to be put to avoid them stomping reciprocally. This driver does not make
- * any check if a SPI transfer is already in progress, deferring the correct bus
- * management to higher level modules. However, a function returning true if the
- * bus is currently in use by this driver is provided.
+ * WARNING: on MD3x0 devices the PLL and DMR chips share the SPI MOSI line,
+ * thus particular care has to be put to avoid them stomping reciprocally.
+ * This driver does not make any check if a SPI transfer is already in progress,
+ * deferring the correct bus management to higher level modules. However,
+ * a function returning true if the bus is currently in use by this driver is
+ * provided.
*/
/**
@@ -90,4 +91,4 @@ void C5000_stopAnalogTx();
*/
bool C5000_spiInUse();
-#endif /* C5000_MD3x0_H */
+#endif /* HRC5000_H */
diff --git a/platform/drivers/baseband/radio_MD3x0.c b/platform/drivers/baseband/radio_MD3x0.c
index f4957820..9870f9a6 100644
--- a/platform/drivers/baseband/radio_MD3x0.c
+++ b/platform/drivers/baseband/radio_MD3x0.c
@@ -28,7 +28,7 @@
#include
#include
#include
-#include "HR-C5000_MD3x0.h"
+#include "HR_C5000.h"
#include "SKY72310.h"
static const freq_t IF_FREQ = 49950000; /* Intermediate frequency: 49.95MHz */