Index: program/patch.prog
===================================================================
--- /YC1308AC/branch/mouse_project/mouse_public_sdk/program/patch.prog	(revision 4599)
+++ /YC1308AC/branch/mouse_project/mouse_public_sdk/program/patch.prog	(working copy)
@@ -9,7 +9,8 @@
 //define COMMBINATION_DPI
 define G24_RETRANSMIT_DPI
 //define YJX_ICE_SELECT_ANGLE
-define PAIR_FAST_POWER_CTRL
+define PAIR_POWER_CTRL
+//define XZR_PAIR_POWER
 define DISTANCE_DISCON
 //define FREQ_TEST
 //define LOGO_CTRL
@@ -67,9 +68,7 @@
 	beq patch3c_2,p_g24_pair_dispatch
 	beq patch3d_1,p_g24_reconn_dispatch
 	beq patch3d_2,p_g24_transmit_no_interrupt
-ifdef PAIR_FAST_POWER_CTRL
 	beq patch3d_3,p_g24_transmit_hop_process
-endif
 	beq patch3d_4,p_g24_lpm_wait
 	beq patch3d_5,p_power_ctrl_start
 	branch loop
@@ -334,8 +333,14 @@
 	branch txon_next+1
 
 p_set_tx_power_pair:
-ifdef PAIR_FAST_POWER_CTRL
+ifdef PAIR_POWER_CTRL
+
+ifdef XZR_PAIR_POWER
+	jam 0x07,core_tx_pwr_ctrl0
+else
+
 	jam 0x04,core_tx_pwr_ctrl0			//BR Test 20-50cm
+endif
 	jam 0x00,core_tx_pwr_ctrl1
 	branch set_rf_ldo_cfg89
 
@@ -879,7 +884,6 @@
 	arg 40,loopcnt
 	branch delay_ms_wait
 	
-ifdef PAIR_FAST_POWER_CTRL
 p_g24_transmit_hop_process:
 	fetcht 1,mem_24g_retry
 	fetch 1,mem_24g_fast_hop_count			// 125Hz=11  250Hz=5
@@ -900,7 +904,6 @@
 	branch g24_tx_fast_hop
 endif
 
-endif
 
 ifdef G24_RETRANSMIT_DPI
 p_mouse_select_device_by_dpi_button_once:
