mirror of
https://github.com/Koenkk/Z-Stack-firmware.git
synced 2025-01-07 07:07:33 +01:00
Fix CC2530_CC2591 and CC2530_CC2592 transmit power (again).
This commit is contained in:
parent
fb41e11747
commit
4825bb24a0
@ -1,3 +1,6 @@
|
|||||||
|
# 20190513
|
||||||
|
- CC2530_CC2591 and CC2530_CC2592 only; fix transmit power (yes, again)
|
||||||
|
|
||||||
# 20190507
|
# 20190507
|
||||||
- CC2530_CC2591 and CC2530_CC2592 only; fix transmit power
|
- CC2530_CC2591 and CC2530_CC2592 only; fix transmit power
|
||||||
|
|
||||||
|
Binary file not shown.
BIN
coordinator/Z-Stack_Home_1.2/bin/CC2530_CC2591_20190513.zip
Normal file
BIN
coordinator/Z-Stack_Home_1.2/bin/CC2530_CC2591_20190513.zip
Normal file
Binary file not shown.
Binary file not shown.
BIN
coordinator/Z-Stack_Home_1.2/bin/CC2530_CC2592_20190513.zip
Normal file
BIN
coordinator/Z-Stack_Home_1.2/bin/CC2530_CC2592_20190513.zip
Normal file
Binary file not shown.
@ -65,11 +65,11 @@ index 35aae57..1f8ee82 100644
|
|||||||
|
|
||||||
diff --git a/Components/mt/revision_info.h b/Components/mt/revision_info.h
|
diff --git a/Components/mt/revision_info.h b/Components/mt/revision_info.h
|
||||||
new file mode 100644
|
new file mode 100644
|
||||||
index 0000000..6f8878c
|
index 0000000..f42acc8
|
||||||
--- /dev/null
|
--- /dev/null
|
||||||
+++ b/Components/mt/revision_info.h
|
+++ b/Components/mt/revision_info.h
|
||||||
@@ -0,0 +1 @@
|
@@ -0,0 +1 @@
|
||||||
+#define CODE_REVISION_NUMBER 20190507
|
+#define CODE_REVISION_NUMBER 20190513
|
||||||
\ No newline at end of file
|
\ No newline at end of file
|
||||||
diff --git a/Components/stack/af/AF.c b/Components/stack/af/AF.c
|
diff --git a/Components/stack/af/AF.c b/Components/stack/af/AF.c
|
||||||
index c6183b6..2b885b6 100644
|
index c6183b6..2b885b6 100644
|
||||||
@ -270,7 +270,7 @@ index 7e524a9..6326400 100644
|
|||||||
+--preinclude=preinclude.h
|
+--preinclude=preinclude.h
|
||||||
\ No newline at end of file
|
\ No newline at end of file
|
||||||
diff --git a/Projects/zstack/ZNP/Source/znp_app.c b/Projects/zstack/ZNP/Source/znp_app.c
|
diff --git a/Projects/zstack/ZNP/Source/znp_app.c b/Projects/zstack/ZNP/Source/znp_app.c
|
||||||
index 470ff12..03392ae 100644
|
index 470ff12..e42ac65 100644
|
||||||
--- a/Projects/zstack/ZNP/Source/znp_app.c
|
--- a/Projects/zstack/ZNP/Source/znp_app.c
|
||||||
+++ b/Projects/zstack/ZNP/Source/znp_app.c
|
+++ b/Projects/zstack/ZNP/Source/znp_app.c
|
||||||
@@ -390,12 +390,23 @@ static void npInit(void)
|
@@ -390,12 +390,23 @@ static void npInit(void)
|
||||||
@ -305,7 +305,7 @@ index 470ff12..03392ae 100644
|
|||||||
+
|
+
|
||||||
+#if defined FIRMWARE_CC2530_CC2591 || defined(FIRMWARE_CC2530_CC2592)
|
+#if defined FIRMWARE_CC2530_CC2591 || defined(FIRMWARE_CC2530_CC2592)
|
||||||
+ //Add TX Setting
|
+ //Add TX Setting
|
||||||
+ #ifdef defined HAL_PA_LNA || defined HAL_PA_LNA_CC2592
|
+ #if defined HAL_PA_LNA || defined HAL_PA_LNA_CC2592
|
||||||
+ ZMacSetTransmitPower(TX_PWR_PLUS_19);
|
+ ZMacSetTransmitPower(TX_PWR_PLUS_19);
|
||||||
+ #else
|
+ #else
|
||||||
+ ZMacSetTransmitPower(TX_PWR_PLUS_4);
|
+ ZMacSetTransmitPower(TX_PWR_PLUS_4);
|
||||||
|
Loading…
Reference in New Issue
Block a user