Skip to content

Commit

Permalink
Whitespace fixes (#506)
Browse files Browse the repository at this point in the history
Applying the patch, git complains about a few useless whitespace
changes. Lets remove them to have a slightly cleaner patch.

/build/Z-Stack_3.x.0-coordinator.patch:331: trailing whitespace.

/build/Z-Stack_3.x.0-coordinator.patch:333: trailing whitespace.
  // ZDSecMgrPermitJoining is never called. Joining via a router would always fail now since
/build/Z-Stack_3.x.0-coordinator.patch:1397: trailing whitespace.
    // Set TXRX pin to 0 in RX and high impedance in idle/TX.
/build/Z-Stack_3.x.0-coordinator.patch:1415: trailing whitespace.
    // Set TXRX pin to 0 in RX/TX and high impedance in idle.
/build/Z-Stack_3.x.0-coordinator.patch:1616: new blank line at EOF.

Signed-off-by: Olliver Schinagl <[email protected]>
  • Loading branch information
oliv3r authored Aug 5, 2024
1 parent 992b967 commit 579956b
Showing 1 changed file with 5 additions and 7 deletions.
12 changes: 5 additions & 7 deletions coordinator/Z-Stack_3.x.0/firmware.patch
Original file line number Diff line number Diff line change
Expand Up @@ -328,9 +328,9 @@ index 7ee216ee..2032cc02 100644
ignoreIndication = TRUE;
retValue = (uint8_t)ZDP_MgmtPermitJoinReq( &destAddr, duration, tcSignificance, 0);
ignoreIndication = FALSE;
+
+
+ // If joining is enabled via a router, ZDO_ProcessMgmtPermitJoinReq is never triggered thus
+ // ZDSecMgrPermitJoining is never called. Joining via a router would always fail now since
+ // ZDSecMgrPermitJoining is never called. Joining via a router would always fail now since
+ // ZDSecMgrPermitJoiningEnabled in zd_sec_mgr.c stays FALSE
+ ZDSecMgrPermitJoining(duration);

Expand Down Expand Up @@ -1229,7 +1229,7 @@ new file mode 100644
index 00000000..da63a63b
--- /dev/null
+++ b/workspace/znp_CC1352P_2_LAUNCHXL_tirtos7_ticlang/ti_radio_config.c
@@ -0,0 +1,385 @@
@@ -0,0 +1,383 @@
+/*
+ * ======== ti_radio_config.c ========
+ * Configured RadioConfig module definitions
Expand Down Expand Up @@ -1394,7 +1394,7 @@ index 00000000..da63a63b
+ (uint32_t)0x00008783,
+ // Set synth mux to default value for standard PA
+ (uint32_t)0x050206C3,
+ // Set TXRX pin to 0 in RX and high impedance in idle/TX.
+ // Set TXRX pin to 0 in RX and high impedance in idle/TX.
+ HW_REG_OVERRIDE(0x60A8,0x0401),
+ (uint32_t)0xFFFFFFFF
+};
Expand All @@ -1412,7 +1412,7 @@ index 00000000..da63a63b
+ (uint32_t)0x00038783,
+ // Set synth mux for high power PA
+ (uint32_t)0x010206C3,
+ // Set TXRX pin to 0 in RX/TX and high impedance in idle.
+ // Set TXRX pin to 0 in RX/TX and high impedance in idle.
+ HW_REG_OVERRIDE(0x60A8,0x0001),
+ (uint32_t)0xFFFFFFFF
+};
Expand Down Expand Up @@ -1613,8 +1613,6 @@ index 00000000..da63a63b
+ .endTrigger.pastTrig = 0x0,
+ .endTime = 0x00000000
+};
+
+
diff --git a/workspace/znp_CC1352P_2_LAUNCHXL_tirtos7_ticlang/ti_radio_config.h b/workspace/znp_CC1352P_2_LAUNCHXL_tirtos7_ticlang/ti_radio_config.h
new file mode 100644
index 00000000..4abddd14
Expand Down

0 comments on commit 579956b

Please sign in to comment.