Index: output/eeprom.dat
===================================================================
--- /branch/mouse_project/XZR/XZR_1062/XZR_24GOnly_Project/XZR_Only24g_AutoPair_1.5V/output/eeprom.dat	(revision 3429)
+++ /branch/mouse_project/XZR/XZR_1062/XZR_24GOnly_Project/XZR_Only24g_AutoPair_1.5V/output/eeprom.dat	(working copy)
@@ -2,7 +2,7 @@
 02
 aa
 55
-b6
+ba
 1b
 c2
 84
@@ -23,15 +23,15 @@
 c0
 42
 85
-54
+55
 c0
 44
 85
-11
+12
 c0
 45
 05
-56
+57
 c0
 50
 80
@@ -379,11 +379,11 @@
 24
 2c
 04
-db
+dc
 24
 37
 84
-db
+dc
 68
 00
 cd
@@ -471,7 +471,7 @@
 20
 20
 05
-87
+88
 68
 00
 cb
@@ -563,7 +563,7 @@
 20
 40
 05
-59
+5a
 24
 74
 00
@@ -947,7 +947,7 @@
 20
 40
 05
-a7
+a8
 20
 20
 00
@@ -1119,7 +1119,7 @@
 20
 40
 06
-d3
+d4
 68
 00
 c1
@@ -1167,7 +1167,7 @@
 20
 40
 06
-31
+32
 20
 40
 01
@@ -1819,11 +1819,11 @@
 20
 40
 04
-ed
+ee
 20
 20
 04
-d3
+d4
 df
 20
 00
@@ -2047,7 +2047,7 @@
 20
 40
 04
-d7
+d8
 20
 40
 01
@@ -2147,7 +2147,7 @@
 20
 40
 04
-fa
+fb
 68
 00
 c8
@@ -2203,7 +2203,7 @@
 20
 40
 04
-d7
+d8
 20
 40
 01
@@ -2663,7 +2663,7 @@
 20
 40
 06
-25
+26
 20
 40
 02
@@ -2675,7 +2675,7 @@
 20
 40
 06
-31
+32
 70
 4b
 49
@@ -3231,7 +3231,7 @@
 20
 40
 84
-fa
+fb
 20
 20
 42
@@ -3623,7 +3623,7 @@
 20
 20
 05
-a7
+a8
 20
 40
 04
@@ -3723,7 +3723,7 @@
 20
 40
 05
-a7
+a8
 70
 4c
 58
@@ -3871,7 +3871,7 @@
 20
 40
 05
-a7
+a8
 70
 4c
 58
@@ -3895,7 +3895,7 @@
 20
 40
 05
-a7
+a8
 70
 4c
 58
@@ -3919,7 +3919,7 @@
 20
 40
 05
-95
+96
 70
 4c
 18
@@ -4211,7 +4211,7 @@
 20
 40
 06
-04
+05
 18
 00
 2a
@@ -4239,11 +4239,11 @@
 20
 40
 05
-c1
+c2
 20
 57
 85
-fd
+fe
 20
 60
 00
@@ -4327,7 +4327,7 @@
 20
 20
 05
-a7
+a8
 68
 00
 cc
@@ -4371,7 +4371,7 @@
 20
 40
 05
-04
+05
 68
 00
 cc
@@ -4479,7 +4479,7 @@
 20
 40
 05
-76
+77
 60
 08
 cd
@@ -4667,7 +4667,7 @@
 20
 20
 05
-87
+88
 68
 00
 cc
@@ -4762,8 +4762,8 @@
 07
 20
 40
-04
-ff
+05
+00
 20
 40
 03
@@ -4831,7 +4831,7 @@
 20
 40
 05
-87
+88
 20
 20
 04
@@ -4863,11 +4863,11 @@
 20
 40
 04
-ed
+ee
 20
 20
 04
-ce
+cf
 70
 11
 9e
@@ -4898,16 +4898,16 @@
 9e
 20
 40
-04
-ff
+05
+00
 20
 20
 05
-95
+96
 20
 20
 05
-a7
+a8
 79
 20
 00
@@ -4917,6 +4917,10 @@
 cd
 5f
 79
+3f
+fe
+02
+79
 20
 7e
 01
@@ -4979,7 +4983,7 @@
 20
 20
 04
-dc
+dd
 68
 00
 cd
@@ -4999,19 +5003,19 @@
 c0
 00
 04
-f7
+f8
 c0
 00
 84
-f8
+f9
 c0
 01
 04
-f9
+fa
 c0
 01
 84
-f8
+f9
 20
 60
 00
@@ -5039,7 +5043,7 @@
 20
 40
 04
-ed
+ee
 60
 08
 cb
@@ -5051,11 +5055,11 @@
 20
 40
 05
-88
+89
 20
 20
 05
-a7
+a8
 70
 41
 de
@@ -5079,7 +5083,7 @@
 20
 40
 04
-ed
+ee
 60
 08
 cb
@@ -5091,7 +5095,7 @@
 20
 20
 04
-e5
+e6
 20
 20
 04
@@ -5099,7 +5103,7 @@
 20
 20
 04
-ef
+f0
 79
 3f
 80
@@ -5259,31 +5263,31 @@
 c0
 00
 05
-27
+28
 c0
 00
 85
-2f
+30
 c0
 01
 05
-37
+38
 c0
 02
 05
-3f
+40
 c0
 10
 05
-51
+52
 20
 20
 05
-27
+28
 20
 40
 05
-47
+48
 70
 89
 4b
@@ -5315,7 +5319,7 @@
 20
 40
 05
-4c
+4d
 70
 89
 4b
@@ -5347,7 +5351,7 @@
 20
 40
 05
-4c
+4d
 70
 89
 4b
@@ -5379,7 +5383,7 @@
 20
 40
 05
-47
+48
 70
 89
 4b
@@ -5559,7 +5563,7 @@
 20
 40
 05
-6f
+70
 60
 08
 cc
@@ -5619,7 +5623,7 @@
 c2
 00
 05
-79
+7a
 18
 49
 7e
@@ -5691,7 +5695,7 @@
 c2
 00
 05
-8b
+8c
 1a
 22
 7e
@@ -5799,7 +5803,7 @@
 20
 40
 05
-ab
+ac
 60
 08
 cc
@@ -5811,7 +5815,7 @@
 20
 40
 05
-af
+b0
 18
 40
 84
@@ -5899,7 +5903,7 @@
 20
 40
 05
-b8
+b9
 78
 57
 fc
@@ -5935,7 +5939,7 @@
 24
 2c
 05
-fd
+fe
 78
 46
 fc
@@ -5955,7 +5959,7 @@
 20
 40
 05
-fa
+fb
 60
 00
 cc
@@ -5971,11 +5975,11 @@
 24
 22
 85
-fd
+fe
 20
 40
 05
-fa
+fb
 60
 00
 cb
@@ -5991,7 +5995,7 @@
 20
 22
 85
-dd
+de
 68
 00
 cb
@@ -6007,11 +6011,11 @@
 24
 20
 85
-fd
+fe
 20
 40
 05
-fa
+fb
 e0
 a0
 80
@@ -6027,11 +6031,11 @@
 20
 22
 85
-e5
+e6
 20
 40
 05
-fa
+fb
 e0
 a0
 80
@@ -6039,7 +6043,7 @@
 c2
 00
 05
-e2
+e3
 18
 a2
 22
@@ -6047,7 +6051,7 @@
 20
 40
 05
-fa
+fb
 60
 00
 cd
@@ -6087,7 +6091,7 @@
 20
 23
 05
-fd
+fe
 78
 37
 fc
@@ -6179,11 +6183,11 @@
 20
 40
 05
-b8
+b9
 20
 40
 06
-01
+02
 79
 20
 2a
@@ -6263,7 +6267,7 @@
 c2
 00
 06
-1a
+1b
 78
 24
 7c
@@ -6307,7 +6311,7 @@
 20
 40
 06
-c3
+c4
 58
 00
 00
@@ -6315,15 +6319,15 @@
 20
 40
 06
-b9
+ba
 20
 5a
 06
-b5
+b6
 24
 5a
 06
-b7
+b8
 58
 00
 00
@@ -6331,11 +6335,11 @@
 20
 40
 06
-be
+bf
 20
 5a
 06
-b5
+b6
 68
 00
 cb
@@ -6343,7 +6347,7 @@
 c0
 00
 86
-34
+35
 df
 20
 00
@@ -6367,7 +6371,7 @@
 20
 40
 06
-67
+68
 60
 01
 4b
@@ -6383,7 +6387,7 @@
 20
 40
 06
-75
+76
 60
 01
 46
@@ -6399,7 +6403,7 @@
 20
 40
 06
-67
+68
 60
 01
 4b
@@ -6415,7 +6419,7 @@
 20
 40
 06
-75
+76
 60
 01
 46
@@ -6439,7 +6443,7 @@
 20
 40
 06
-57
+58
 68
 01
 11
@@ -6475,7 +6479,7 @@
 20
 40
 06
-5f
+60
 68
 01
 11
@@ -6527,7 +6531,7 @@
 20
 20
 06
-8c
+8d
 68
 01
 11
@@ -6559,7 +6563,7 @@
 20
 20
 06
-8c
+8d
 68
 00
 91
@@ -6567,11 +6571,11 @@
 20
 3a
 06
-6a
+6b
 20
 20
 06
-6f
+70
 68
 00
 91
@@ -6579,7 +6583,7 @@
 20
 40
 06
-82
+83
 60
 00
 91
@@ -6599,11 +6603,11 @@
 20
 40
 06
-b1
+b2
 20
 40
 06
-82
+83
 20
 5a
 7f
@@ -6611,11 +6615,11 @@
 20
 40
 06
-ad
+ae
 20
 20
 06
-6d
+6e
 68
 00
 91
@@ -6623,11 +6627,11 @@
 20
 3a
 06
-78
+79
 20
 20
 06
-7c
+7d
 68
 00
 91
@@ -6635,7 +6639,7 @@
 20
 40
 06
-87
+88
 60
 00
 91
@@ -6643,7 +6647,7 @@
 20
 20
 06
-6d
+6e
 68
 00
 91
@@ -6651,11 +6655,11 @@
 20
 40
 06
-b1
+b2
 20
 40
 06
-87
+88
 20
 5a
 7f
@@ -6663,11 +6667,11 @@
 20
 40
 06
-ad
+ae
 20
 20
 06
-6d
+6e
 1f
 ef
 fe
@@ -6731,7 +6735,7 @@
 20
 20
 86
-99
+9a
 68
 00
 91
@@ -6739,7 +6743,7 @@
 c0
 7f
 86
-a0
+a1
 68
 00
 91
@@ -6767,7 +6771,7 @@
 c0
 00
 06
-9d
+9e
 68
 01
 91
@@ -6775,7 +6779,7 @@
 20
 20
 06
-95
+96
 70
 11
 c4
@@ -6787,7 +6791,7 @@
 20
 20
 06
-95
+96
 68
 00
 91
@@ -6795,7 +6799,7 @@
 20
 40
 06
-ab
+ac
 60
 00
 91
@@ -6807,7 +6811,7 @@
 20
 3a
 06
-a9
+aa
 58
 00
 00
@@ -6831,11 +6835,11 @@
 20
 20
 06
-a6
+a7
 20
 40
 06
-b1
+b2
 1f
 e3
 7e
@@ -6843,7 +6847,7 @@
 20
 40
 06
-b2
+b3
 1f
 e6
 7e
@@ -6935,7 +6939,7 @@
 20
 40
 06
-ca
+cb
 1f
 e2
 22
@@ -6947,7 +6951,7 @@
 20
 40
 06
-ca
+cb
 1f
 e2
 24
@@ -6967,7 +6971,7 @@
 c0
 7f
 86
-d0
+d1
 68
 00
 91
@@ -6991,7 +6995,7 @@
 20
 20
 06
-ce
+cf
 70
 47
 a6
@@ -7023,7 +7027,7 @@
 20
 54
 06
-dc
+dd
 20
 60
 00
@@ -7055,7 +7059,7 @@
 20
 34
 06
-e4
+e5
 20
 60
 00
@@ -7096,8 +7100,8 @@
 20
 3f
 90
-d8
-dd
+99
+8b
 aa
 55
 08
@@ -7645,12 +7649,8 @@
 0f
 0f
 0f
-4f
-25
-ff
-ff
-ff
-ff
+7b
+e4
 ff
 ff
 ff
@@ -8188,5 +8188,5 @@
 ff
 ff
 ff
-5d
-c1
+88
+33
Index: output/program.lis
===================================================================
--- /branch/mouse_project/XZR/XZR_1062/XZR_24GOnly_Project/XZR_Only24g_AutoPair_1.5V/output/program.lis	(revision 3429)
+++ /branch/mouse_project/XZR/XZR_1062/XZR_24GOnly_Project/XZR_Only24g_AutoPair_1.5V/output/program.lis	(working copy)
@@ -4,9 +4,9 @@
 0001 c000001e beq patch00_0 ,p_soft_reset 
 0002 c0008021 beq patch00_1 ,p_soft_reset_1 
 0003 c0010029 beq patch00_2 ,p_soft_reset_2 
-0004 c0428554 beq patch10_5 ,p_shutdown_radio 
-0005 c0448511 beq patch11_1 ,p_set_freq_tx 
-0006 c0450556 beq patch11_2 ,p_initialize_radio_cont 
+0004 c0428555 beq patch10_5 ,p_shutdown_radio 
+0005 c0448512 beq patch11_1 ,p_set_freq_tx 
+0006 c0450557 beq patch11_2 ,p_initialize_radio_cont 
 0007 c0508032 beq patch14_1 ,p_init_param 
 0008 c0588037 beq patch16_1 ,p_lpm_check_wake_lock 
 0009 c0590045 beq patch16_2 ,p_g24_dispatch 
@@ -119,8 +119,8 @@
 005a c0008434 beq 1 ,p_g24_stop_g24_mode 
 005b 204004c0 call p_g24_tx_attemp_data_prep 
 005c 2040041a call p_g24_transmit_receive_ack 
-005d 242c04db nbranch p_g24_pair_txdata_retry ,sync 
-005e 243784db nbranch p_g24_pair_txdata_retry ,user3 
+005d 242c04dc nbranch p_g24_pair_txdata_retry ,sync 
+005e 243784dc nbranch p_g24_pair_txdata_retry ,user3 
 005f 6800cd5f fetch 1 ,mem_g24_conn_sm 
 0060 793ffe01 set0 state_24g_pair ,pdata 
 0061 6000cd5f store 1 ,mem_g24_conn_sm 
@@ -146,7 +146,7 @@
 
 p_g24_store_dongle_addr:
 0073 68024bf3 fetch 4 ,mem_24g_rxpayload + 2 
-0074 20200587 branch p_g24_update_addr_and_synccrc8 
+0074 20200588 branch p_g24_update_addr_and_synccrc8 
 
 p_g24_reconn_dispatch:
 0075 6800cb42 fetch 1 ,mem_g24_stop_g24_mode 
@@ -177,7 +177,7 @@
 008a 20600000 rtn 
 
 p_g24_transmit_by_interrupt:
-008b 20400559 call p_g24_timer_check 
+008b 2040055a call p_g24_timer_check 
 008c 24740000 nrtn user 
 008d 204000a1 call p_g24_interval_calibrate 
 008e 68014d54 fetch 2 ,mem_24g_transmit_by_interrupt_exit_count 
@@ -301,7 +301,7 @@
 00ea 20600000 rtn 
 
 p_g24_search_dongle_loop_retry:
-00eb 204005a7 call p_g24_ch 
+00eb 204005a8 call p_g24_ch 
 00ec 202000db branch p_g24_search_dongle_loop 
 
 p_g24_search_dongle_check:
@@ -358,7 +358,7 @@
 0113 20403416 call app_lpm_mult_enable 
 0114 2035811d branch p_device_init_common ,wake 
 0115 70807820 jam 0x20 ,core_gpio_pu0 
-0116 204006d3 call p_mouse_data_init 
+0116 204006d4 call p_mouse_data_init 
 0117 6800c1de fetch 1 ,mem_tx_power 
 0118 6000ccca store 1 ,mem_tx_power_temp 
 0119 2040044a call power_ctrl_pac_succ_cnt_init 
@@ -374,7 +374,7 @@
 011f 24558182 ncall p_mouse_setting_config ,wake 
 0120 20400140 call p_mouse_spi_init 
 0121 20758000 rtn wake 
-0122 20400631 call p_drawing_optima_init 
+0122 20400632 call p_drawing_optima_init 
 0123 204001d0 call p_mouse_cb_fuction 
 0124 202001b7 branch p_mouse_wakeup_from_power 
 
@@ -599,8 +599,8 @@
 01c2 6800cd5f fetch 1 ,mem_g24_conn_sm 
 01c3 79207e02 set1 state_24g_reconn ,pdata 
 01c4 6000cd5f store 1 ,mem_g24_conn_sm 
-01c5 204004ed call p_g24_ch_syncword_crc8_init 
-01c6 202004d3 branch p_g24_auto_pair_timeout_init 
+01c5 204004ee call p_g24_ch_syncword_crc8_init 
+01c6 202004d4 branch p_g24_auto_pair_timeout_init 
 
 p_g24_factory_check:
 01c7 df200002 arg 2 ,loopcnt 
@@ -680,7 +680,7 @@
 
 p_mouse_24g_pairing_complete:
 01fd 704b4c00 jam 0 ,mem_mouse_sensor_powerdown_timer 
-01fe 204004d7 call p_g24_auto_pair_timeout_clear 
+01fe 204004d8 call p_g24_auto_pair_timeout_clear 
 01ff 2040014a call p_mouse_init_sensor_reset 
 0200 70478b01 jam 1 ,mem_mouse_24g_enter_lpm_enable 
 0201 d8e00003 arg mosue_24g_pairing_flag ,queue 
@@ -711,7 +711,7 @@
 0214 2040023c call p_mouse_sensor_powerdown_check 
 0215 704d5300 jam g24_tx_timer_int_disable ,mem_24g_transmit_by_interrupt 
 0216 20400211 call p_mouse_tx_power_init 
-0217 204004fa call p_g24_check_51cmd_stop_24g 
+0217 204004fb call p_g24_check_51cmd_stop_24g 
 0218 6800c880 fetch 1 ,mem_mouse_mode_config 
 0219 c280340a bbit1 mouse_24g_only ,app_enter_hibernate 
 021a 7041bd00 jam 0 ,mem_link_key_exists 
@@ -729,7 +729,7 @@
 
 p_mouse_24g_attempt_success:
 0224 704b4c00 jam 0 ,mem_mouse_sensor_powerdown_timer 
-0225 204004d7 call p_g24_auto_pair_timeout_clear 
+0225 204004d8 call p_g24_auto_pair_timeout_clear 
 0226 2040014a call p_mouse_init_sensor_reset 
 0227 20403f8d call mouse_no_data_timer_init 
 0228 2040020d call p_mouse_set_24g_addr_eeprom 
@@ -892,12 +892,12 @@
 0295 2040407e call mouse_t_zwheel 
 0296 204002a4 call p_mouse_key 
 0297 2434029b nbranch p_mouse_motion_nodata ,user 
-0298 20400625 call p_drawing_optima 
+0298 20400626 call p_drawing_optima 
 0299 2040029e call p_mouse_nodata_timer_update 
 029a 20203fa1 branch mouse_motion + 10 
 
 p_mouse_motion_nodata:
-029b 20400631 call p_drawing_optima_init 
+029b 20400632 call p_drawing_optima_init 
 029c 704b4900 jam 0 ,mem_mouse_nodata_check_count 
 029d 20600000 rtn 
 
@@ -1096,7 +1096,7 @@
 0323 7047a300 jam 0 ,mem_mouse_null_enter_hibernate_flag 
 0324 7047a400 jam 0 ,mem_mouse_null_enter_hibernate_timer 
 0325 280ffe26 isolate1 mark_24g ,mark 
-0326 204084fa call p_g24_check_51cmd_stop_24g ,true 
+0326 204084fb call p_g24_check_51cmd_stop_24g ,true 
 0327 2020426d branch mouse_bb_event_discovery_btn + 1 
 
 p_le_addr_random_config:
@@ -1230,7 +1230,7 @@
 0385 6000cc14 store 1 ,mem_24g_data_type 
 0386 6000cbcf store 1 ,mem_24g_txpayload 
 0387 20400451 call power_ctrl_pac_succ_decrs 
-0388 202005a7 branch p_g24_ch 
+0388 202005a8 branch p_g24_ch 
 
 p_g24_transmit_hop_pac_fail:
 0389 20400451 call power_ctrl_pac_succ_decrs 
@@ -1269,7 +1269,7 @@
 039e 1fe0fe01 increase 1 ,pdata 
 039f 6000cd46 store 1 ,mem_24g_hop_fastly_cnt 
 03a0 c00203a4 beq 4 ,p_g24_rf_hop_fastly_exit 
-03a1 204005a7 call p_g24_ch 
+03a1 204005a8 call p_g24_ch 
 03a2 704c5802 jam 2 ,mem_24g_max_retry 
 03a3 202003fc branch p_g24_transmit_packet 
 
@@ -1320,7 +1320,7 @@
 03c3 1fe0ffff increase -1 ,pdata 
 03c4 6000cd4b store 1 ,mem_24g_sync_cnt 
 03c5 704d4a02 jam 2 ,mem_24g_rf_work_stage 
-03c6 204005a7 call p_g24_ch 
+03c6 204005a8 call p_g24_ch 
 03c7 704c5804 jam 4 ,mem_24g_max_retry 
 03c8 20600000 rtn 
 
@@ -1328,7 +1328,7 @@
 03c9 704d4a03 jam 3 ,mem_24g_rf_work_stage 
 03ca 6800cd48 fetch 1 ,mem_24g_rf_hop_ch 
 03cb 243a039b nbranch p_g24_rf_hop_attemp_again ,blank 
-03cc 204005a7 call p_g24_ch 
+03cc 204005a8 call p_g24_ch 
 03cd 704c5802 jam 2 ,mem_24g_max_retry 
 03ce 20600000 rtn 
 
@@ -1340,7 +1340,7 @@
 03d1 204003d5 call p_g24_package_data 
 
 p_g24_txdata_enable_tx:
-03d2 20400595 call p_g24_transmit_prep 
+03d2 20400596 call p_g24_transmit_prep 
 03d3 704c1801 jam ensure_on_24g ,mem_24g_ensure 
 03d4 20600000 rtn 
 
@@ -1439,15 +1439,15 @@
 
 p_g24_transmit_receive_ack:
 041a 7857fc00 disable user3 
-041b 20400604 call p_g24_transmit 
+041b 20400605 call p_g24_transmit 
 041c 18002a00 force 0 ,radio_ctrl 
 041d 68024c3b fetch 4 ,mem_24g_addr 
 041e 98001200 iforce access 
 041f 68088017 fetcht 1 ,mem_last_freq 
 0420 2040291f call set_freq_rx 
 0421 20402924 call rf_rx_enable 
-0422 204005c1 call p_g24_receive_rxon 
-0423 205785fd call p_g24_end_of_packet ,user3 
+0422 204005c2 call p_g24_receive_rxon 
+0423 205785fe call p_g24_end_of_packet ,user3 
 0424 20600000 rtn 
 
 p_g24_retransmit:
@@ -1478,7 +1478,7 @@
 p_g24_tx_fast_hop:
 0436 2040047c call power_ctrl_txpower_incrs 
 0437 20400451 call power_ctrl_pac_succ_decrs 
-0438 202005a7 branch p_g24_ch 
+0438 202005a8 branch p_g24_ch 
 
 p_g24_tx_hop_ch_process:
 0439 6800cc1c fetch 1 ,mem_24g_retry 
@@ -1493,7 +1493,7 @@
 0442 20600000 rtn 
 
 p_g24_ackpayload_parse:
-0443 20400504 call p_g24_read_len_pid_crc 
+0443 20400505 call p_g24_read_len_pid_crc 
 0444 6800cc11 fetch 1 ,mem_24g_rxdata_length 
 0445 207a0000 rtn blank 
 0446 98007200 iforce loopcnt 
@@ -1530,7 +1530,7 @@
 045b 68014682 fetch 2 ,mem_ui_state_map 
 045c c3858000 rtnbit1 ui_state_ble_adv 
 045d da204cd5 arg mem_rssi_signal_buf ,rega 
-045e 20400576 call p_rssi_average 
+045e 20400577 call p_rssi_average 
 045f 6008cd4d storet 1 ,mem_rssi_avg_received 
 0460 58000082 setarg rssi_dis_max_24g 
 0461 c5130463 bmark1 mark_24g ,power_ctrl_start_next 
@@ -1603,7 +1603,7 @@
 048a 704c1200 jam 0 ,mem_24g_pid 
 048b 704c1d4e jam g24_pair_ch ,mem_24g_ch 
 048c 68024c1f fetch 4 ,mem_24g_paring_addr 
-048d 20200587 branch p_g24_update_addr_and_synccrc8 
+048d 20200588 branch p_g24_update_addr_and_synccrc8 
 
 p_g24_pairing_sm:
 048e 6800cc18 fetch 1 ,mem_24g_ensure 
@@ -1639,7 +1639,7 @@
 04a2 7011a400 jam 0 ,mem_24g_common_temp + 6 
 04a3 da20119e arg mem_24g_common_temp ,rega 
 04a4 d8400007 arg 7 ,temp 
-04a5 204004ff call p_g24_put_data_in_buff 
+04a5 20400500 call p_g24_put_data_in_buff 
 04a6 204003d2 call p_g24_txdata_enable_tx 
 04a7 20207fe7 branch enable_user 
 
@@ -1664,7 +1664,7 @@
 04b3 700a9939 jam bt_evt_24g_pairing_complete ,mem_fifo_temp 
 04b4 20407d86 call ui_ipc_send_event 
 04b5 68024bf3 fetch 4 ,mem_24g_rxpayload + 2 
-04b6 20400587 call p_g24_update_addr_and_synccrc8 
+04b6 20400588 call p_g24_update_addr_and_synccrc8 
 04b7 2020040c branch p_g24_transmit_abandon 
 
 p_g24_start_24g_mode:
@@ -1674,8 +1674,8 @@
 04bb 6800cd5f fetch 1 ,mem_g24_conn_sm 
 04bc 79207e02 set1 state_24g_reconn ,pdata 
 04bd 6000cd5f store 1 ,mem_g24_conn_sm 
-04be 204004ed call p_g24_ch_syncword_crc8_init 
-04bf 202004ce branch p_g24_auto_fail_timeout_init 
+04be 204004ee call p_g24_ch_syncword_crc8_init 
+04bf 202004cf branch p_g24_auto_fail_timeout_init 
 
 p_g24_tx_attemp_data_prep:
 04c0 70119eff jam 0xff ,mem_24g_common_temp 
@@ -1685,734 +1685,735 @@
 04c4 600211a0 store 4 ,mem_24g_common_temp + 2 
 04c5 d8400006 arg 6 ,temp 
 04c6 da20119e arg mem_24g_common_temp ,rega 
-04c7 204004ff call p_g24_put_data_in_buff 
-04c8 20200595 branch p_g24_transmit_prep 
+04c7 20400500 call p_g24_put_data_in_buff 
+04c8 20200596 branch p_g24_transmit_prep 
 
 p_g24_attemp_txdata_retry:
-04c9 202005a7 branch p_g24_ch 
+04c9 202005a8 branch p_g24_ch 
 
 p_g24_auto_pair_start:
 04ca 79200026 set1 mark_24g ,mark 
 04cb 6800cd5f fetch 1 ,mem_g24_conn_sm 
-04cc 79207e01 set1 state_24g_pair ,pdata 
-04cd 6000cd5f store 1 ,mem_g24_conn_sm 
+04cc 793ffe02 set0 state_24g_reconn ,pdata 
+04cd 79207e01 set1 state_24g_pair ,pdata 
+04ce 6000cd5f store 1 ,mem_g24_conn_sm 
 
 p_g24_auto_fail_timeout_init:
-04ce 2040017c call p_mouse_sensor_powerdown 
-04cf 58000708 setarg g24_disconn_nodata_timer 
-04d0 60014b45 store 2 ,mem_24g_stop_g24_pair_mode_timerout 
-04d1 704b4200 jam 0 ,mem_g24_stop_g24_mode 
-04d2 20600000 rtn 
+04cf 2040017c call p_mouse_sensor_powerdown 
+04d0 58000708 setarg g24_disconn_nodata_timer 
+04d1 60014b45 store 2 ,mem_24g_stop_g24_pair_mode_timerout 
+04d2 704b4200 jam 0 ,mem_g24_stop_g24_mode 
+04d3 20600000 rtn 
 
 p_g24_auto_pair_timeout_init:
-04d3 5800001e setarg g24_first_disconn_nodata_timer 
-04d4 60014b43 store 2 ,mem_g24_stop_g24_mode_timeout 
-04d5 704b4200 jam 0 ,mem_g24_stop_g24_mode 
-04d6 20600000 rtn 
+04d4 5800001e setarg g24_first_disconn_nodata_timer 
+04d5 60014b43 store 2 ,mem_g24_stop_g24_mode_timeout 
+04d6 704b4200 jam 0 ,mem_g24_stop_g24_mode 
+04d7 20600000 rtn 
 
 p_g24_auto_pair_timeout_clear:
-04d7 58000000 setarg 0 
-04d8 60014b43 store 2 ,mem_g24_stop_g24_mode_timeout 
-04d9 704b4200 jam 0 ,mem_g24_stop_g24_mode 
-04da 20600000 rtn 
+04d8 58000000 setarg 0 
+04d9 60014b43 store 2 ,mem_g24_stop_g24_mode_timeout 
+04da 704b4200 jam 0 ,mem_g24_stop_g24_mode 
+04db 20600000 rtn 
 
 p_g24_pair_txdata_retry:
-04db 202004dc branch p_g24_pair_txdata_switch 
+04dc 202004dd branch p_g24_pair_txdata_switch 
 
 p_g24_pair_txdata_switch:
-04dc 6800cd51 fetch 1 ,mem_24g_auto_paring_switch 
-04dd 1fe0fe01 increase 1 ,pdata 
-04de 1fe17e03 and_into 3 ,pdata 
-04df 6000cd51 store 1 ,mem_24g_auto_paring_switch 
-04e0 c00004f7 beq 0 ,p_g24_auto_pair_device_attemp 
-04e1 c00084f8 beq 1 ,p_g24_auto_pair_pair_attemp 
-04e2 c00104f9 beq 2 ,p_g24_auto_pair_all_powerful_attemp 
-04e3 c00184f8 beq 3 ,p_g24_auto_pair_pair_attemp 
-04e4 20600000 rtn 
+04dd 6800cd51 fetch 1 ,mem_24g_auto_paring_switch 
+04de 1fe0fe01 increase 1 ,pdata 
+04df 1fe17e03 and_into 3 ,pdata 
+04e0 6000cd51 store 1 ,mem_24g_auto_paring_switch 
+04e1 c00004f8 beq 0 ,p_g24_auto_pair_device_attemp 
+04e2 c00084f9 beq 1 ,p_g24_auto_pair_pair_attemp 
+04e3 c00104fa beq 2 ,p_g24_auto_pair_all_powerful_attemp 
+04e4 c00184f9 beq 3 ,p_g24_auto_pair_pair_attemp 
+04e5 20600000 rtn 
 
 p_g24_auto_pair_first_attemp:
-04e5 20400211 call p_mouse_tx_power_init 
-04e6 68024c4a fetch 4 ,mem_24g_device_addr 
-04e7 60024c3b store 4 ,mem_24g_addr 
-04e8 6800cb47 fetch 1 ,mem_24g_pair_current_ch_num 
-04e9 6000cc1e store 1 ,mem_24g_current_ch_number 
-04ea 204004ed call p_g24_ch_syncword_crc8_init 
-04eb 6008cb47 storet 1 ,mem_24g_pair_current_ch_num 
-04ec 20600000 rtn 
+04e6 20400211 call p_mouse_tx_power_init 
+04e7 68024c4a fetch 4 ,mem_24g_device_addr 
+04e8 60024c3b store 4 ,mem_24g_addr 
+04e9 6800cb47 fetch 1 ,mem_24g_pair_current_ch_num 
+04ea 6000cc1e store 1 ,mem_24g_current_ch_number 
+04eb 204004ee call p_g24_ch_syncword_crc8_init 
+04ec 6008cb47 storet 1 ,mem_24g_pair_current_ch_num 
+04ed 20600000 rtn 
 
 p_g24_ch_syncword_crc8_init:
-04ed 20400588 call p_g24_syncword_crc8 
-04ee 202005a7 branch p_g24_ch 
+04ee 20400589 call p_g24_syncword_crc8 
+04ef 202005a8 branch p_g24_ch 
 
 p_g24_auto_pair_all_powerful:
-04ef 7041de20 jam tx_power_pair ,mem_tx_power 
-04f0 68024d58 fetch 4 ,mem_24g_allpowerful_addr 
-04f1 60024c3b store 4 ,mem_24g_addr 
-04f2 6800cb48 fetch 1 ,mem_24g_powerful_current_ch_num 
-04f3 6000cc1e store 1 ,mem_24g_current_ch_number 
-04f4 204004ed call p_g24_ch_syncword_crc8_init 
-04f5 6008cb48 storet 1 ,mem_24g_powerful_current_ch_num 
-04f6 20600000 rtn 
+04f0 7041de20 jam tx_power_pair ,mem_tx_power 
+04f1 68024d58 fetch 4 ,mem_24g_allpowerful_addr 
+04f2 60024c3b store 4 ,mem_24g_addr 
+04f3 6800cb48 fetch 1 ,mem_24g_powerful_current_ch_num 
+04f4 6000cc1e store 1 ,mem_24g_current_ch_number 
+04f5 204004ee call p_g24_ch_syncword_crc8_init 
+04f6 6008cb48 storet 1 ,mem_24g_powerful_current_ch_num 
+04f7 20600000 rtn 
 
 p_g24_auto_pair_device_attemp:
-04f7 202004e5 branch p_g24_auto_pair_first_attemp 
+04f8 202004e6 branch p_g24_auto_pair_first_attemp 
 
 p_g24_auto_pair_pair_attemp:
-04f8 20200489 branch p_g24_pair_init 
+04f9 20200489 branch p_g24_pair_init 
 
 p_g24_auto_pair_all_powerful_attemp:
-04f9 202004ef branch p_g24_auto_pair_all_powerful 
+04fa 202004f0 branch p_g24_auto_pair_all_powerful 
 
 p_g24_check_51cmd_stop_24g:
-04fa 793f8026 set0 mark_24g ,mark 
-04fb 704d5f00 jam state_24g_stop ,mem_g24_conn_sm 
-04fc 204053ce call le_disable 
+04fb 793f8026 set0 mark_24g ,mark 
+04fc 704d5f00 jam state_24g_stop ,mem_g24_conn_sm 
+04fd 204053ce call le_disable 
 
 p_mouse_disable_g24_pairing_flag:
-04fd d8e00003 arg mosue_24g_pairing_flag ,queue 
-04fe 202043d2 branch mouse_disable_function_flag 
+04fe d8e00003 arg mosue_24g_pairing_flag ,queue 
+04ff 202043d2 branch mouse_disable_function_flag 
 
 p_g24_put_data_in_buff:
-04ff 6008cc13 storet 1 ,mem_24g_datalen 
-0500 18427200 copy temp ,loopcnt 
-0501 d8a04baf arg mem_24g_txbuf ,contw 
-0502 1a220c00 copy rega ,contr 
-0503 20207f01 branch memcpy 
+0500 6008cc13 storet 1 ,mem_24g_datalen 
+0501 18427200 copy temp ,loopcnt 
+0502 d8a04baf arg mem_24g_txbuf ,contw 
+0503 1a220c00 copy rega ,contr 
+0504 20207f01 branch memcpy 
 
 p_g24_read_len_pid_crc:
-0504 6800cb8e fetch 1 ,mem_24g_rxbuf + 1 
-0505 1fe97e00 rshift3 pdata ,pdata 
-0506 6000cc11 store 1 ,mem_24g_rxdata_length 
-0507 1fe0fe01 increase 1 ,pdata 
-0508 d8c04b8e arg mem_24g_rxbuf + 1 ,contr 
-0509 98c08c00 iadd contr ,contr 
-050a e8c18000 ifetch 3 ,contr 
-050b 6001cc50 store 3 ,mem_24g_sta_crc 
-050c 6800cb8e fetch 1 ,mem_24g_rxbuf + 1 
-050d 1fe37e00 rshift pdata ,pdata 
-050e 1fe17e03 and pdata ,0x03 ,pdata 
-050f 6000cc56 store 1 ,mem_24g_sta_pid 
-0510 20600000 rtn 
+0505 6800cb8e fetch 1 ,mem_24g_rxbuf + 1 
+0506 1fe97e00 rshift3 pdata ,pdata 
+0507 6000cc11 store 1 ,mem_24g_rxdata_length 
+0508 1fe0fe01 increase 1 ,pdata 
+0509 d8c04b8e arg mem_24g_rxbuf + 1 ,contr 
+050a 98c08c00 iadd contr ,contr 
+050b e8c18000 ifetch 3 ,contr 
+050c 6001cc50 store 3 ,mem_24g_sta_crc 
+050d 6800cb8e fetch 1 ,mem_24g_rxbuf + 1 
+050e 1fe37e00 rshift pdata ,pdata 
+050f 1fe17e03 and pdata ,0x03 ,pdata 
+0510 6000cc56 store 1 ,mem_24g_sta_pid 
+0511 20600000 rtn 
 
 p_set_freq_tx:
-0511 60088017 storet 1 ,mem_last_freq 
-0512 1840a200 add temp ,0 ,rega 
-0513 20402981 call rf_write_freq 
-0514 58000500 setarg param_pll_setup 
-0515 20402a8f call sleep 
+0512 60088017 storet 1 ,mem_last_freq 
+0513 1840a200 add temp ,0 ,rega 
+0514 20402981 call rf_write_freq 
+0515 58000500 setarg param_pll_setup 
+0516 20402a8f call sleep 
 
 p_rf_tx_enable:
-0516 70890601 jam 0x1 ,rfen_adc 
-0517 7089003c jam 0x3c ,rfen_rx 
-0518 708901e0 jam 0xe0 ,rfen_tx 
-0519 2000000a nop 10 
-051a 70890201 jam 0x01 ,rfen_mdm 
-051b 7089023d jam 0x3d ,rfen_mdm 
-051c 2000000a nop 10 
-051d 708903b7 jam 0xb7 ,rfen_sn 
-051e 2000000a nop 10 
-051f 7089027d jam 0x7d ,rfen_mdm 
-0520 6800c1de fetch 1 ,mem_tx_power 
-0521 c0000527 beq tx_power_0db ,p_set_tx_power_0db 
-0522 c000852f beq tx_power_3db ,p_set_tx_power_3db 
-0523 c0010537 beq tx_power_5db ,p_set_tx_power_5db 
-0524 c002053f beq tx_power_f5db ,p_set_tx_power_f5db 
-0525 c0100551 beq tx_power_pair ,p_set_tx_power_pair 
-0526 20200527 branch p_set_tx_power_0db 
+0517 70890601 jam 0x1 ,rfen_adc 
+0518 7089003c jam 0x3c ,rfen_rx 
+0519 708901e0 jam 0xe0 ,rfen_tx 
+051a 2000000a nop 10 
+051b 70890201 jam 0x01 ,rfen_mdm 
+051c 7089023d jam 0x3d ,rfen_mdm 
+051d 2000000a nop 10 
+051e 708903b7 jam 0xb7 ,rfen_sn 
+051f 2000000a nop 10 
+0520 7089027d jam 0x7d ,rfen_mdm 
+0521 6800c1de fetch 1 ,mem_tx_power 
+0522 c0000528 beq tx_power_0db ,p_set_tx_power_0db 
+0523 c0008530 beq tx_power_3db ,p_set_tx_power_3db 
+0524 c0010538 beq tx_power_5db ,p_set_tx_power_5db 
+0525 c0020540 beq tx_power_f5db ,p_set_tx_power_f5db 
+0526 c0100552 beq tx_power_pair ,p_set_tx_power_pair 
+0527 20200528 branch p_set_tx_power_0db 
 
 p_set_tx_power_0db:
-0527 20400547 call p_rx_low_sens 
-0528 70894bba jam 0xba ,0x894b 
-0529 708955d0 jam 0xd0 ,0x8955 
-052a 708956e0 jam 0xe0 ,0x8956 
-052b 70895788 jam 0x88 ,0x8957 
-052c 7089586c jam 0x6c ,0x8958 
-052d 70895910 jam 0x10 ,0x8959 
-052e 2020294b branch set_tx_power_0db 
+0528 20400548 call p_rx_low_sens 
+0529 70894bba jam 0xba ,0x894b 
+052a 708955d0 jam 0xd0 ,0x8955 
+052b 708956e0 jam 0xe0 ,0x8956 
+052c 70895788 jam 0x88 ,0x8957 
+052d 7089586c jam 0x6c ,0x8958 
+052e 70895910 jam 0x10 ,0x8959 
+052f 2020294b branch set_tx_power_0db 
 
 p_set_tx_power_3db:
-052f 2040054c call p_rx_high_sens 
-0530 70894bba jam 0xba ,0x894b 
-0531 708955d0 jam 0xd0 ,0x8955 
-0532 708956e0 jam 0xe0 ,0x8956 
-0533 70895788 jam 0x88 ,0x8957 
-0534 7089583c jam 0x3c ,0x8958 
-0535 70895910 jam 0x10 ,0x8959 
-0536 2020294f branch set_tx_power_3db 
+0530 2040054d call p_rx_high_sens 
+0531 70894bba jam 0xba ,0x894b 
+0532 708955d0 jam 0xd0 ,0x8955 
+0533 708956e0 jam 0xe0 ,0x8956 
+0534 70895788 jam 0x88 ,0x8957 
+0535 7089583c jam 0x3c ,0x8958 
+0536 70895910 jam 0x10 ,0x8959 
+0537 2020294f branch set_tx_power_3db 
 
 p_set_tx_power_5db:
-0537 2040054c call p_rx_high_sens 
-0538 70894bba jam 0xba ,0x894b 
-0539 708955d0 jam 0xd0 ,0x8955 
-053a 708956e0 jam 0xe0 ,0x8956 
-053b 70895788 jam 0x88 ,0x8957 
-053c 7089583c jam 0x3c ,0x8958 
-053d 70895910 jam 0x10 ,0x8959 
-053e 20202953 branch set_tx_power_5db 
+0538 2040054d call p_rx_high_sens 
+0539 70894bba jam 0xba ,0x894b 
+053a 708955d0 jam 0xd0 ,0x8955 
+053b 708956e0 jam 0xe0 ,0x8956 
+053c 70895788 jam 0x88 ,0x8957 
+053d 7089583c jam 0x3c ,0x8958 
+053e 70895910 jam 0x10 ,0x8959 
+053f 20202953 branch set_tx_power_5db 
 
 p_set_tx_power_f5db:
-053f 20400547 call p_rx_low_sens 
-0540 70894bba jam 0xba ,0x894b 
-0541 708955d0 jam 0xd0 ,0x8955 
-0542 708956c0 jam 0xc0 ,0x8956 
-0543 70895788 jam 0x88 ,0x8957 
-0544 7089586c jam 0x6c ,0x8958 
-0545 70895910 jam 0x10 ,0x8959 
-0546 2020295b branch set_tx_power_f5db 
+0540 20400548 call p_rx_low_sens 
+0541 70894bba jam 0xba ,0x894b 
+0542 708955d0 jam 0xd0 ,0x8955 
+0543 708956c0 jam 0xc0 ,0x8956 
+0544 70895788 jam 0x88 ,0x8957 
+0545 7089586c jam 0x6c ,0x8958 
+0546 70895910 jam 0x10 ,0x8959 
+0547 2020295b branch set_tx_power_f5db 
 
 p_rx_low_sens:
-0547 70894c5b jam 0x5b ,0x894c 
-0548 70894d96 jam 0x96 ,0x894d 
-0549 70894e2c jam 0x2c ,0x894e 
-054a 70894f46 jam 0x46 ,0x894f 
-054b 20600000 rtn 
+0548 70894c5b jam 0x5b ,0x894c 
+0549 70894d96 jam 0x96 ,0x894d 
+054a 70894e2c jam 0x2c ,0x894e 
+054b 70894f46 jam 0x46 ,0x894f 
+054c 20600000 rtn 
 
 p_rx_high_sens:
-054c 70894cfb jam 0xfb ,0x894c 
-054d 70894def jam 0xef ,0x894d 
-054e 70894eec jam 0xec ,0x894e 
-054f 70894f5e jam 0x5e ,0x894f 
-0550 20600000 rtn 
+054d 70894cfb jam 0xfb ,0x894c 
+054e 70894def jam 0xef ,0x894d 
+054f 70894eec jam 0xec ,0x894e 
+0550 70894f5e jam 0x5e ,0x894f 
+0551 20600000 rtn 
 
 p_set_tx_power_pair:
-0551 708956c2 jam 0xc2 ,0x8956 
-0552 708955d0 jam 0xd0 ,0x8955 
-0553 20600000 rtn 
+0552 708956c2 jam 0xc2 ,0x8956 
+0553 708955d0 jam 0xd0 ,0x8955 
+0554 20600000 rtn 
 
 p_shutdown_radio:
-0554 18002a08 force 8 ,radio_ctrl 
-0555 202028fa branch shutdown_radio + 1 
+0555 18002a08 force 8 ,radio_ctrl 
+0556 202028fa branch shutdown_radio + 1 
 
 p_initialize_radio_cont:
-0556 20402978 call initialize_radio_cont + 1 
-0557 70804205 jam clksel_dpll ,core_clksel 
-0558 20600000 rtn 
+0557 20402978 call initialize_radio_cont + 1 
+0558 70804205 jam clksel_dpll ,core_clksel 
+0559 20600000 rtn 
 
 p_g24_timer_check:
-0559 20407fe9 call disable_user 
-055a 680a4c34 fetcht 4 ,mem_24g_tx_btclk 
-055b 1c427e00 copy clkn_bt ,pdata 
-055c 98467c00 isub temp ,null 
-055d 24412d18 ncall g24_timer_timeout ,positive 
-055e 1fe22400 copy pdata ,regb 
-055f 68024c34 fetch 4 ,mem_24g_tx_btclk 
-0560 6808cc38 fetcht 1 ,mem_24g_interval 
-0561 98408400 iadd temp ,temp 
-0562 1a427e00 copy regb ,pdata 
-0563 98467c00 isub temp ,null 
-0564 24610000 nrtn positive 
-0565 793ffe1c set0 28 ,pdata 
-0566 60024c34 store 4 ,mem_24g_tx_btclk 
-0567 20207fe7 branch enable_user 
+055a 20407fe9 call disable_user 
+055b 680a4c34 fetcht 4 ,mem_24g_tx_btclk 
+055c 1c427e00 copy clkn_bt ,pdata 
+055d 98467c00 isub temp ,null 
+055e 24412d18 ncall g24_timer_timeout ,positive 
+055f 1fe22400 copy pdata ,regb 
+0560 68024c34 fetch 4 ,mem_24g_tx_btclk 
+0561 6808cc38 fetcht 1 ,mem_24g_interval 
+0562 98408400 iadd temp ,temp 
+0563 1a427e00 copy regb ,pdata 
+0564 98467c00 isub temp ,null 
+0565 24610000 nrtn positive 
+0566 793ffe1c set0 28 ,pdata 
+0567 60024c34 store 4 ,mem_24g_tx_btclk 
+0568 20207fe7 branch enable_user 
 
 p_rssi_noise:
-0568 204029bb call save_rssi 
-0569 207a0000 rtn blank 
-056a 6808cccd fetcht 1 ,mem_rssi_noise_index 
-056b da200d9e arg mem_rssi_noise_buffer ,rega 
-056c 2040056f call p_rssi_store 
-056d 6008cccd storet 1 ,mem_rssi_noise_index 
-056e 20600000 rtn 
+0569 204029bb call save_rssi 
+056a 207a0000 rtn blank 
+056b 6808cccd fetcht 1 ,mem_rssi_noise_index 
+056c da200d9e arg mem_rssi_noise_buffer ,rega 
+056d 20400570 call p_rssi_store 
+056e 6008cccd storet 1 ,mem_rssi_noise_index 
+056f 20600000 rtn 
 
 p_rssi_store:
-056f 1a227e00 copy rega ,pdata 
-0570 98408a00 iadd temp ,contw 
-0571 68008018 fetch 1 ,mem_rssi 
-0572 e0a08000 istore 1 ,contw 
-0573 18408401 increase 1 ,temp 
-0574 18410407 and_into rssi_buf_len_signal ,temp 
-0575 20600000 rtn 
+0570 1a227e00 copy rega ,pdata 
+0571 98408a00 iadd temp ,contw 
+0572 68008018 fetch 1 ,mem_rssi 
+0573 e0a08000 istore 1 ,contw 
+0574 18408401 increase 1 ,temp 
+0575 18410407 and_into rssi_buf_len_signal ,temp 
+0576 20600000 rtn 
 
 p_rssi_average:
-0576 d8400000 arg 0 ,temp 
-0577 df200008 arg rssi_buf_len_signal + 1 ,loopcnt 
-0578 1a220c00 copy rega ,contr 
+0577 d8400000 arg 0 ,temp 
+0578 df200008 arg rssi_buf_len_signal + 1 ,loopcnt 
+0579 1a220c00 copy rega ,contr 
 
 p_rssi_average_loop:
-0579 e8c08000 ifetch 1 ,contr 
-057a 98408400 iadd temp ,temp 
-057b c2000579 loop p_rssi_average_loop 
-057c 18497e00 rshift3 temp ,pdata 
-057d 1fe20400 copy pdata ,temp 
-057e c6930000 rtnmark0 mark_24g 
-057f 1fe6fc0a div pdata ,10 
-0580 20407f86 call wait_div_end 
-0581 1807fe00 quotient pdata 
-0582 1ff27e00 lshift4 pdata ,pdata 
-0583 18070400 remainder temp 
-0584 98418400 ior temp ,temp 
-0585 20600000 rtn 
+057a e8c08000 ifetch 1 ,contr 
+057b 98408400 iadd temp ,temp 
+057c c200057a loop p_rssi_average_loop 
+057d 18497e00 rshift3 temp ,pdata 
+057e 1fe20400 copy pdata ,temp 
+057f c6930000 rtnmark0 mark_24g 
+0580 1fe6fc0a div pdata ,10 
+0581 20407f86 call wait_div_end 
+0582 1807fe00 quotient pdata 
+0583 1ff27e00 lshift4 pdata ,pdata 
+0584 18070400 remainder temp 
+0585 98418400 ior temp ,temp 
 0586 20600000 rtn 
+0587 20600000 rtn 
 
 p_g24_update_addr_and_synccrc8:
-0587 60024c3b store 4 ,mem_24g_addr 
+0588 60024c3b store 4 ,mem_24g_addr 
 
 p_g24_syncword_crc8:
-0588 da200000 arg 0 ,rega 
-0589 df200004 arg 4 ,loopcnt 
-058a d8c04c3b arg mem_24g_addr ,contr 
+0589 da200000 arg 0 ,rega 
+058a df200004 arg 4 ,loopcnt 
+058b d8c04c3b arg mem_24g_addr ,contr 
 
 p_g24_syncword_crc8_loop:
-058b e8c08000 ifetch 1 ,contr 
-058c 9a20a200 iadd rega ,rega 
-058d c200058b loop p_g24_syncword_crc8_loop 
-058e 1a227e00 copy rega ,pdata 
-058f 60014cc4 store 2 ,mem_24g_syncword 
-0590 6800ccc4 fetch 1 ,mem_24g_syncword 
-0591 6808ccc5 fetcht 1 ,mem_24g_syncword + 1 
-0592 9840fe00 iadd temp ,pdata 
-0593 6000ccc6 store 1 ,mem_24g_syncword_crc8 
-0594 20600000 rtn 
+058c e8c08000 ifetch 1 ,contr 
+058d 9a20a200 iadd rega ,rega 
+058e c200058c loop p_g24_syncword_crc8_loop 
+058f 1a227e00 copy rega ,pdata 
+0590 60014cc4 store 2 ,mem_24g_syncword 
+0591 6800ccc4 fetch 1 ,mem_24g_syncword 
+0592 6808ccc5 fetcht 1 ,mem_24g_syncword + 1 
+0593 9840fe00 iadd temp ,pdata 
+0594 6000ccc6 store 1 ,mem_24g_syncword_crc8 
+0595 20600000 rtn 
 
 p_g24_transmit_prep:
-0595 6800cc13 fetch 1 ,mem_24g_datalen 
-0596 1fe0fe02 increase 2 ,pdata 
-0597 6000cc15 store 1 ,mem_24g_txlen 
-0598 6800cc14 fetch 1 ,mem_24g_data_type 
-0599 6000cbcf store 1 ,mem_24g_txpayload 
-059a 6800cc13 fetch 1 ,mem_24g_datalen 
-059b 1fe9fe00 lshift3 pdata ,pdata 
-059c 6808cc12 fetcht 1 ,mem_24g_pid 
-059d 18410403 and temp ,0x03 ,temp 
-059e 18438400 lshift temp ,temp 
-059f 9841fe00 ior temp ,pdata 
-05a0 6808cc4f fetcht 1 ,mem_24g_no_ack 
-05a1 9840fe00 iadd temp ,pdata 
-05a2 e0a08000 istore 1 ,contw 
-05a3 6800cc13 fetch 1 ,mem_24g_datalen 
-05a4 98007200 iforce loopcnt 
-05a5 d8c04baf arg mem_24g_txbuf ,contr 
-05a6 20207f01 branch memcpy 
+0596 6800cc13 fetch 1 ,mem_24g_datalen 
+0597 1fe0fe02 increase 2 ,pdata 
+0598 6000cc15 store 1 ,mem_24g_txlen 
+0599 6800cc14 fetch 1 ,mem_24g_data_type 
+059a 6000cbcf store 1 ,mem_24g_txpayload 
+059b 6800cc13 fetch 1 ,mem_24g_datalen 
+059c 1fe9fe00 lshift3 pdata ,pdata 
+059d 6808cc12 fetcht 1 ,mem_24g_pid 
+059e 18410403 and temp ,0x03 ,temp 
+059f 18438400 lshift temp ,temp 
+05a0 9841fe00 ior temp ,pdata 
+05a1 6808cc4f fetcht 1 ,mem_24g_no_ack 
+05a2 9840fe00 iadd temp ,pdata 
+05a3 e0a08000 istore 1 ,contw 
+05a4 6800cc13 fetch 1 ,mem_24g_datalen 
+05a5 98007200 iforce loopcnt 
+05a6 d8c04baf arg mem_24g_txbuf ,contr 
+05a7 20207f01 branch memcpy 
 
 p_g24_ch:
-05a7 6808cc1e fetcht 1 ,mem_24g_current_ch_number 
-05a8 204005ab call p_g24_ch_map_size 
-05a9 6008cc1e storet 1 ,mem_24g_current_ch_number 
-05aa 20600000 rtn 
+05a8 6808cc1e fetcht 1 ,mem_24g_current_ch_number 
+05a9 204005ac call p_g24_ch_map_size 
+05aa 6008cc1e storet 1 ,mem_24g_current_ch_number 
+05ab 20600000 rtn 
 
 p_g24_ch_map_size:
-05ab 204005af call p_g24_ch_calc 
-05ac 18408401 increase 1 ,temp 
-05ad 18410403 and_into 3 ,temp 
-05ae 20600000 rtn 
+05ac 204005b0 call p_g24_ch_calc 
+05ad 18408401 increase 1 ,temp 
+05ae 18410403 and_into 3 ,temp 
+05af 20600000 rtn 
 
 p_g24_ch_calc:
-05af 6800cc3b fetch 1 ,mem_24g_addr 
-05b0 1fe17e03 and_into 0x03 ,pdata 
-05b1 1fefa204 mul32 pdata ,4 ,rega 
-05b2 58004c24 setarg mem_24g_ch_map1 
-05b3 9a20fe00 iadd rega ,pdata 
-05b4 98408c00 iadd temp ,contr 
-05b5 e8c08000 ifetch 1 ,contr 
-05b6 6000cc1d store 1 ,mem_24g_ch 
-05b7 20600000 rtn 
+05b0 6800cc3b fetch 1 ,mem_24g_addr 
+05b1 1fe17e03 and_into 0x03 ,pdata 
+05b2 1fefa204 mul32 pdata ,4 ,rega 
+05b3 58004c24 setarg mem_24g_ch_map1 
+05b4 9a20fe00 iadd rega ,pdata 
+05b5 98408c00 iadd temp ,contr 
+05b6 e8c08000 ifetch 1 ,contr 
+05b7 6000cc1d store 1 ,mem_24g_ch 
+05b8 20600000 rtn 
 
 p_g24_prep:
-05b8 7844fc00 disable enable_crc 
-05b9 7843fc00 disable enable_white 
-05ba 58555555 setarg 0x555555 
-05bb 98001e00 iforce crc24_init 
-05bc 6800cc1d fetch 1 ,mem_24g_ch 
-05bd 1fed8400 reverse pdata ,temp 
-05be 79200401 set1 1 ,temp 
-05bf 18431c00 rshift temp ,white_init 
-05c0 20600000 rtn 
+05b9 7844fc00 disable enable_crc 
+05ba 7843fc00 disable enable_white 
+05bb 58555555 setarg 0x555555 
+05bc 98001e00 iforce crc24_init 
+05bd 6800cc1d fetch 1 ,mem_24g_ch 
+05be 1fed8400 reverse pdata ,temp 
+05bf 79200401 set1 1 ,temp 
+05c0 18431c00 rshift temp ,white_init 
+05c1 20600000 rtn 
 
 p_g24_receive_rxon:
-05c1 204005b8 call p_g24_prep 
-05c2 7857fc00 disable user3 
-05c3 7826fc00 enable decode_fec0 
-05c4 7830fc00 enable is_rx 
-05c5 78507c00 disable is_tx 
-05c6 78287c00 enable swfine 
-05c7 68014c16 fetch 2 ,mem_24g_rx_window 
-05c8 98003600 iforce stop_watch 
-05c9 37c18400 correlate null ,timeout 
-05ca 242c05fd nbranch p_g24_sync_timeout ,sync 
-05cb 7846fc00 disable decode_fec0 
-05cc 7825fc00 enable decode_fec1 
-05cd 7823fc00 enable enable_white 
-05ce 7824fc00 enable enable_crc 
-05cf 204005fa call p_g24_receive_byte 
-05d0 6000ccc7 store 1 ,mem_24g_get_syncword_crc8 
-05d1 6808ccc6 fetcht 1 ,mem_24g_syncword_crc8 
-05d2 98467c00 isub temp ,null 
-05d3 242285fd nbranch p_g24_end_of_packet ,zero 
-05d4 204005fa call p_g24_receive_byte 
-05d5 6000cb8d store 1 ,mem_24g_rxbuf 
-05d6 6800cc59 fetch 1 ,mem_24g_mode 
-05d7 1fe67c02 sub pdata ,rx_24g ,null 
-05d8 202285dd branch p_g24_receive_skip ,zero 
-05d9 6800cb8d fetch 1 ,mem_24g_rxbuf 
-05da 6808cc14 fetcht 1 ,mem_24g_data_type 
-05db a8400e00 icompare bits_data ,temp 
-05dc 242085fd nbranch p_g24_end_of_packet ,true 
+05c2 204005b9 call p_g24_prep 
+05c3 7857fc00 disable user3 
+05c4 7826fc00 enable decode_fec0 
+05c5 7830fc00 enable is_rx 
+05c6 78507c00 disable is_tx 
+05c7 78287c00 enable swfine 
+05c8 68014c16 fetch 2 ,mem_24g_rx_window 
+05c9 98003600 iforce stop_watch 
+05ca 37c18400 correlate null ,timeout 
+05cb 242c05fe nbranch p_g24_sync_timeout ,sync 
+05cc 7846fc00 disable decode_fec0 
+05cd 7825fc00 enable decode_fec1 
+05ce 7823fc00 enable enable_white 
+05cf 7824fc00 enable enable_crc 
+05d0 204005fb call p_g24_receive_byte 
+05d1 6000ccc7 store 1 ,mem_24g_get_syncword_crc8 
+05d2 6808ccc6 fetcht 1 ,mem_24g_syncword_crc8 
+05d3 98467c00 isub temp ,null 
+05d4 242285fe nbranch p_g24_end_of_packet ,zero 
+05d5 204005fb call p_g24_receive_byte 
+05d6 6000cb8d store 1 ,mem_24g_rxbuf 
+05d7 6800cc59 fetch 1 ,mem_24g_mode 
+05d8 1fe67c02 sub pdata ,rx_24g ,null 
+05d9 202285de branch p_g24_receive_skip ,zero 
+05da 6800cb8d fetch 1 ,mem_24g_rxbuf 
+05db 6808cc14 fetcht 1 ,mem_24g_data_type 
+05dc a8400e00 icompare bits_data ,temp 
+05dd 242085fe nbranch p_g24_end_of_packet ,true 
 
 p_g24_receive_skip:
-05dd 204005fa call p_g24_receive_byte 
-05de e0a08000 istore 1 ,contw 
-05df 1fe97e00 rshift3 pdata ,pdata 
-05e0 1fe1721f and pdata ,0x1f ,loopcnt 
-05e1 202285e5 branch p_g24rx_nopayload ,zero 
+05de 204005fb call p_g24_receive_byte 
+05df e0a08000 istore 1 ,contw 
+05e0 1fe97e00 rshift3 pdata ,pdata 
+05e1 1fe1721f and pdata ,0x1f ,loopcnt 
+05e2 202285e6 branch p_g24rx_nopayload ,zero 
 
 p_g24rx_loop:
-05e2 204005fa call p_g24_receive_byte 
-05e3 e0a08000 istore 1 ,contw 
-05e4 c20005e2 loop p_g24rx_loop 
+05e3 204005fb call p_g24_receive_byte 
+05e4 e0a08000 istore 1 ,contw 
+05e5 c20005e3 loop p_g24rx_loop 
 
 p_g24rx_nopayload:
-05e5 18a22200 copy contw ,rega 
-05e6 204005fa call p_g24_receive_byte 
-05e7 6000cd4e store 1 ,mem_rssi_hex_received 
-05e8 1a220a00 copy rega ,contw 
-05e9 09800018 parse demod ,bucket ,24 
-05ea 78287c00 enable swfine 
-05eb db600664 arg param_sifs ,stop_watch 
-05ec 1fef7e00 rshift32 pdata ,pdata 
-05ed 1ff17e00 rshift16 pdata ,pdata 
-05ee e0a18000 istore 3 ,contw 
-05ef 7845fc00 disable decode_fec1 
-05f0 202305fd branch p_g24_end_of_packet ,crc_failed 
-05f1 7837fc00 enable user3 
-05f2 68008017 fetch 1 ,mem_last_freq 
-05f3 1fe0a200 add pdata ,0 ,rega 
-05f4 20402981 call rf_write_freq 
-05f5 7846fc00 disable decode_fec0 
-05f6 20402918 call set_sync_on 
-05f7 6800cd4e fetch 1 ,mem_rssi_hex_received 
-05f8 20400014 call p_rssi_signal 
-05f9 20600000 rtn 
+05e6 18a22200 copy contw ,rega 
+05e7 204005fb call p_g24_receive_byte 
+05e8 6000cd4e store 1 ,mem_rssi_hex_received 
+05e9 1a220a00 copy rega ,contw 
+05ea 09800018 parse demod ,bucket ,24 
+05eb 78287c00 enable swfine 
+05ec db600664 arg param_sifs ,stop_watch 
+05ed 1fef7e00 rshift32 pdata ,pdata 
+05ee 1ff17e00 rshift16 pdata ,pdata 
+05ef e0a18000 istore 3 ,contw 
+05f0 7845fc00 disable decode_fec1 
+05f1 202305fe branch p_g24_end_of_packet ,crc_failed 
+05f2 7837fc00 enable user3 
+05f3 68008017 fetch 1 ,mem_last_freq 
+05f4 1fe0a200 add pdata ,0 ,rega 
+05f5 20402981 call rf_write_freq 
+05f6 7846fc00 disable decode_fec0 
+05f7 20402918 call set_sync_on 
+05f8 6800cd4e fetch 1 ,mem_rssi_hex_received 
+05f9 20400014 call p_rssi_signal 
+05fa 20600000 rtn 
 
 p_g24_receive_byte:
-05fa 09800008 parse demod ,bucket ,8 
-05fb 19897e00 rshift3 pwindow ,pdata 
-05fc 20600000 rtn 
+05fb 09800008 parse demod ,bucket ,8 
+05fc 19897e00 rshift3 pwindow ,pdata 
+05fd 20600000 rtn 
 
 p_g24_sync_timeout:
 
 p_g24_end_of_packet:
-05fd 784dfc00 disable encode_fec1 
-05fe 7845fc00 disable decode_fec1 
-05ff 2040264d call end_of_packet 
-0600 20600000 rtn 
+05fe 784dfc00 disable encode_fec1 
+05ff 7845fc00 disable decode_fec1 
+0600 2040264d call end_of_packet 
+0601 20600000 rtn 
 
 p_g24_set_freq_tx:
-0601 20402918 call set_sync_on 
-0602 6808cc1d fetcht 1 ,mem_24g_ch 
-0603 20202933 branch set_freq_tx 
+0602 20402918 call set_sync_on 
+0603 6808cc1d fetcht 1 ,mem_24g_ch 
+0604 20202933 branch set_freq_tx 
 
 p_g24_transmit:
-0604 204053c4 call le_enable 
-0605 68024c3b fetch 4 ,mem_24g_addr 
-0606 98001200 iforce access 
-0607 204005b8 call p_g24_prep 
-0608 20400601 call p_g24_set_freq_tx 
-0609 79202a00 set1 txgfsk ,radio_ctrl 
-060a 782efc00 enable encode_fec0 
-060b 78307c00 enable is_tx 
-060c 7850fc00 disable is_rx 
-060d 19317e00 rshift16 access ,pdata 
-060e 1fecfe00 rshift8 pdata ,pdata 
-060f 1ff1fe00 rshift4 pdata ,pdata 
-0610 08008628 inject mod ,40 
-0611 784efc00 disable encode_fec0 
-0612 782dfc00 enable encode_fec1 
-0613 7823fc00 enable enable_white 
-0614 7824fc00 enable enable_crc 
-0615 6800ccc6 fetch 1 ,mem_24g_syncword_crc8 
-0616 08008608 inject mod ,8 
-0617 6800cc15 fetch 1 ,mem_24g_txlen 
-0618 98007200 iforce loopcnt 
-0619 d8c04bcf arg mem_24g_txpayload ,contr 
+0605 204053c4 call le_enable 
+0606 68024c3b fetch 4 ,mem_24g_addr 
+0607 98001200 iforce access 
+0608 204005b9 call p_g24_prep 
+0609 20400602 call p_g24_set_freq_tx 
+060a 79202a00 set1 txgfsk ,radio_ctrl 
+060b 782efc00 enable encode_fec0 
+060c 78307c00 enable is_tx 
+060d 7850fc00 disable is_rx 
+060e 19317e00 rshift16 access ,pdata 
+060f 1fecfe00 rshift8 pdata ,pdata 
+0610 1ff1fe00 rshift4 pdata ,pdata 
+0611 08008628 inject mod ,40 
+0612 784efc00 disable encode_fec0 
+0613 782dfc00 enable encode_fec1 
+0614 7823fc00 enable enable_white 
+0615 7824fc00 enable enable_crc 
+0616 6800ccc6 fetch 1 ,mem_24g_syncword_crc8 
+0617 08008608 inject mod ,8 
+0618 6800cc15 fetch 1 ,mem_24g_txlen 
+0619 98007200 iforce loopcnt 
+061a d8c04bcf arg mem_24g_txpayload ,contr 
 
 p_g24tr_loop:
-061a e8c08000 ifetch 1 ,contr 
-061b 08008608 inject mod ,8 
-061c c200061a loop p_g24tr_loop 
-061d 78247c00 enable enable_parity 
-061e 08008618 inject mod ,24 
-061f 78447c00 disable enable_parity 
-0620 37d38200 until null ,tx_clear 
-0621 20000064 nop 100 
-0622 784efc00 disable encode_fec0 
-0623 784dfc00 disable encode_fec1 
-0624 20600000 rtn 
+061b e8c08000 ifetch 1 ,contr 
+061c 08008608 inject mod ,8 
+061d c200061b loop p_g24tr_loop 
+061e 78247c00 enable enable_parity 
+061f 08008618 inject mod ,24 
+0620 78447c00 disable enable_parity 
+0621 37d38200 until null ,tx_clear 
+0622 20000064 nop 100 
+0623 784efc00 disable encode_fec0 
+0624 784dfc00 disable encode_fec1 
+0625 20600000 rtn 
 
 p_drawing_optima:
-0625 6802469b fetch 4 ,mem_mouse_x 
-0626 207a0000 rtn blank 
-0627 204006c3 call p_data_abs_check 
-0628 58000003 setarg 0x03 
-0629 204006b9 call p_pdata_greater_than_check 
-062a 205a06b5 call p_disable_asm ,blank 
-062b 245a06b7 ncall p_enable_asm ,blank 
-062c 58000002 setarg 0x02 
-062d 204006be call p_data_less_than_check 
-062e 205a06b5 call p_disable_asm ,blank 
-062f 6800cb27 fetch 1 ,mem_mouse_asm_flag 
-0630 c0008634 beq 1 ,p_drawing_optima_modify 
+0626 6802469b fetch 4 ,mem_mouse_x 
+0627 207a0000 rtn blank 
+0628 204006c4 call p_data_abs_check 
+0629 58000003 setarg 0x03 
+062a 204006ba call p_pdata_greater_than_check 
+062b 205a06b6 call p_disable_asm ,blank 
+062c 245a06b8 ncall p_enable_asm ,blank 
+062d 58000002 setarg 0x02 
+062e 204006bf call p_data_less_than_check 
+062f 205a06b6 call p_disable_asm ,blank 
+0630 6800cb27 fetch 1 ,mem_mouse_asm_flag 
+0631 c0008635 beq 1 ,p_drawing_optima_modify 
 
 p_drawing_optima_init:
-0631 df200005 arg 5 ,loopcnt 
-0632 d8a04b27 arg mem_mouse_asm_flag ,contw 
-0633 20207ed4 branch clear_mem 
+0632 df200005 arg 5 ,loopcnt 
+0633 d8a04b27 arg mem_mouse_asm_flag ,contw 
+0634 20207ed4 branch clear_mem 
 
 p_drawing_optima_modify:
-0634 68014b28 fetch 2 ,mem_mouse_x_pre 
-0635 600111c5 store 2 ,mem_data_value 
-0636 20400667 call pre_xy_data_judge 
-0637 60014b28 store 2 ,mem_mouse_x_pre 
-0638 6801469b fetch 2 ,mem_mouse_x 
-0639 600111c5 store 2 ,mem_data_value 
-063a 20400675 call current_xy_data_judge 
-063b 6001469b store 2 ,mem_mouse_x 
-063c 68014b2a fetch 2 ,mem_mouse_y_pre 
-063d 600111c5 store 2 ,mem_data_value 
-063e 20400667 call pre_xy_data_judge 
-063f 60014b2a store 2 ,mem_mouse_y_pre 
-0640 6801469d fetch 2 ,mem_mouse_y 
-0641 600111c5 store 2 ,mem_data_value 
-0642 20400675 call current_xy_data_judge 
-0643 6001469d store 2 ,mem_mouse_y 
-0644 68014b28 fetch 2 ,mem_mouse_x_pre 
-0645 600111be store 2 ,mem_data_pre 
-0646 6801469b fetch 2 ,mem_mouse_x 
-0647 600111c0 store 2 ,mem_data_current 
-0648 20400657 call p_drawing_optima_data_x 
-0649 680111be fetch 2 ,mem_data_pre 
-064a 60014b28 store 2 ,mem_mouse_x_pre 
-064b 680111c0 fetch 2 ,mem_data_current 
-064c 6001469b store 2 ,mem_mouse_x 
-064d 68014b2a fetch 2 ,mem_mouse_y_pre 
-064e 600111be store 2 ,mem_data_pre 
-064f 6801469d fetch 2 ,mem_mouse_y 
-0650 600111c0 store 2 ,mem_data_current 
-0651 2040065f call p_drawing_optima_data_y 
-0652 680111be fetch 2 ,mem_data_pre 
-0653 60014b2a store 2 ,mem_mouse_y_pre 
-0654 680111c0 fetch 2 ,mem_data_current 
-0655 6001469d store 2 ,mem_mouse_y 
-0656 20600000 rtn 
+0635 68014b28 fetch 2 ,mem_mouse_x_pre 
+0636 600111c5 store 2 ,mem_data_value 
+0637 20400668 call pre_xy_data_judge 
+0638 60014b28 store 2 ,mem_mouse_x_pre 
+0639 6801469b fetch 2 ,mem_mouse_x 
+063a 600111c5 store 2 ,mem_data_value 
+063b 20400676 call current_xy_data_judge 
+063c 6001469b store 2 ,mem_mouse_x 
+063d 68014b2a fetch 2 ,mem_mouse_y_pre 
+063e 600111c5 store 2 ,mem_data_value 
+063f 20400668 call pre_xy_data_judge 
+0640 60014b2a store 2 ,mem_mouse_y_pre 
+0641 6801469d fetch 2 ,mem_mouse_y 
+0642 600111c5 store 2 ,mem_data_value 
+0643 20400676 call current_xy_data_judge 
+0644 6001469d store 2 ,mem_mouse_y 
+0645 68014b28 fetch 2 ,mem_mouse_x_pre 
+0646 600111be store 2 ,mem_data_pre 
+0647 6801469b fetch 2 ,mem_mouse_x 
+0648 600111c0 store 2 ,mem_data_current 
+0649 20400658 call p_drawing_optima_data_x 
+064a 680111be fetch 2 ,mem_data_pre 
+064b 60014b28 store 2 ,mem_mouse_x_pre 
+064c 680111c0 fetch 2 ,mem_data_current 
+064d 6001469b store 2 ,mem_mouse_x 
+064e 68014b2a fetch 2 ,mem_mouse_y_pre 
+064f 600111be store 2 ,mem_data_pre 
+0650 6801469d fetch 2 ,mem_mouse_y 
+0651 600111c0 store 2 ,mem_data_current 
+0652 20400660 call p_drawing_optima_data_y 
+0653 680111be fetch 2 ,mem_data_pre 
+0654 60014b2a store 2 ,mem_mouse_y_pre 
+0655 680111c0 fetch 2 ,mem_data_current 
+0656 6001469d store 2 ,mem_mouse_y 
+0657 20600000 rtn 
 
 p_drawing_optima_data_x:
-0657 680111be fetch 2 ,mem_data_pre 
-0658 680911c0 fetcht 2 ,mem_data_current 
-0659 9840fe00 iadd temp ,pdata 
-065a 6808cb8b fetcht 1 ,mem_mouse_data_xtemp 
-065b 9840fe00 iadd temp ,pdata 
-065c 1fe10401 and pdata ,0x01 ,temp 
-065d 6008cb8b storet 1 ,mem_mouse_data_xtemp 
-065e 2020068c branch p_drawing_optima_data 
+0658 680111be fetch 2 ,mem_data_pre 
+0659 680911c0 fetcht 2 ,mem_data_current 
+065a 9840fe00 iadd temp ,pdata 
+065b 6808cb8b fetcht 1 ,mem_mouse_data_xtemp 
+065c 9840fe00 iadd temp ,pdata 
+065d 1fe10401 and pdata ,0x01 ,temp 
+065e 6008cb8b storet 1 ,mem_mouse_data_xtemp 
+065f 2020068d branch p_drawing_optima_data 
 
 p_drawing_optima_data_y:
-065f 680111be fetch 2 ,mem_data_pre 
-0660 680911c0 fetcht 2 ,mem_data_current 
-0661 9840fe00 iadd temp ,pdata 
-0662 6808cb8c fetcht 1 ,mem_mouse_data_ytemp 
-0663 9840fe00 iadd temp ,pdata 
-0664 1fe10401 and pdata ,0x01 ,temp 
-0665 6008cb8c storet 1 ,mem_mouse_data_ytemp 
-0666 2020068c branch p_drawing_optima_data 
+0660 680111be fetch 2 ,mem_data_pre 
+0661 680911c0 fetcht 2 ,mem_data_current 
+0662 9840fe00 iadd temp ,pdata 
+0663 6808cb8c fetcht 1 ,mem_mouse_data_ytemp 
+0664 9840fe00 iadd temp ,pdata 
+0665 1fe10401 and pdata ,0x01 ,temp 
+0666 6008cb8c storet 1 ,mem_mouse_data_ytemp 
+0667 2020068d branch p_drawing_optima_data 
 
 pre_xy_data_judge:
-0667 680091c6 fetch 1 ,mem_data_value + 1 
-0668 203a066a branch pre_xy_pdata_offset ,blank 
-0669 2020066f branch pre_xy_ndata_offset 
+0668 680091c6 fetch 1 ,mem_data_value + 1 
+0669 203a066b branch pre_xy_pdata_offset ,blank 
+066a 20200670 branch pre_xy_ndata_offset 
 
 pre_xy_pdata_offset:
-066a 680091c5 fetch 1 ,mem_data_value 
-066b 20400682 call pre_xy_get_0_4_times 
-066c 600091c5 store 1 ,mem_data_value 
+066b 680091c5 fetch 1 ,mem_data_value 
+066c 20400683 call pre_xy_get_0_4_times 
+066d 600091c5 store 1 ,mem_data_value 
 
 xy_data_offset_new:
-066d 680111c5 fetch 2 ,mem_data_value 
-066e 20600000 rtn 
+066e 680111c5 fetch 2 ,mem_data_value 
+066f 20600000 rtn 
 
 pre_xy_ndata_offset:
-066f 680091c5 fetch 1 ,mem_data_value 
-0670 204006b1 call p_pdata_invert 
-0671 20400682 call pre_xy_get_0_4_times 
-0672 205a7fef call disable_blank ,blank 
-0673 204006ad call p_pdata_get_new_value 
-0674 2020066d branch xy_data_offset_new 
+0670 680091c5 fetch 1 ,mem_data_value 
+0671 204006b2 call p_pdata_invert 
+0672 20400683 call pre_xy_get_0_4_times 
+0673 205a7fef call disable_blank ,blank 
+0674 204006ae call p_pdata_get_new_value 
+0675 2020066e branch xy_data_offset_new 
 
 current_xy_data_judge:
-0675 680091c6 fetch 1 ,mem_data_value + 1 
-0676 203a0678 branch current_xy_pdata_offset ,blank 
-0677 2020067c branch current_xy_ndata_offset 
+0676 680091c6 fetch 1 ,mem_data_value + 1 
+0677 203a0679 branch current_xy_pdata_offset ,blank 
+0678 2020067d branch current_xy_ndata_offset 
 
 current_xy_pdata_offset:
-0678 680091c5 fetch 1 ,mem_data_value 
-0679 20400687 call current_xy_get_0_6_times 
-067a 600091c5 store 1 ,mem_data_value 
-067b 2020066d branch xy_data_offset_new 
+0679 680091c5 fetch 1 ,mem_data_value 
+067a 20400688 call current_xy_get_0_6_times 
+067b 600091c5 store 1 ,mem_data_value 
+067c 2020066e branch xy_data_offset_new 
 
 current_xy_ndata_offset:
-067c 680091c5 fetch 1 ,mem_data_value 
-067d 204006b1 call p_pdata_invert 
-067e 20400687 call current_xy_get_0_6_times 
-067f 205a7fef call disable_blank ,blank 
-0680 204006ad call p_pdata_get_new_value 
-0681 2020066d branch xy_data_offset_new 
+067d 680091c5 fetch 1 ,mem_data_value 
+067e 204006b2 call p_pdata_invert 
+067f 20400688 call current_xy_get_0_6_times 
+0680 205a7fef call disable_blank ,blank 
+0681 204006ae call p_pdata_get_new_value 
+0682 2020066e branch xy_data_offset_new 
 
 pre_xy_get_0_4_times:
-0682 1feffe04 mul32 pdata ,4 ,pdata 
-0683 1fe6fc05 div pdata ,5 
-0684 20407f86 call wait_div_end 
-0685 1807fe00 quotient pdata 
-0686 20600000 rtn 
+0683 1feffe04 mul32 pdata ,4 ,pdata 
+0684 1fe6fc05 div pdata ,5 
+0685 20407f86 call wait_div_end 
+0686 1807fe00 quotient pdata 
+0687 20600000 rtn 
 
 current_xy_get_0_6_times:
-0687 1feffe0c mul32 pdata ,12 ,pdata 
-0688 1fe6fc0a div pdata ,10 
-0689 20407f86 call wait_div_end 
-068a 1807fe00 quotient pdata 
-068b 20600000 rtn 
+0688 1feffe0c mul32 pdata ,12 ,pdata 
+0689 1fe6fc0a div pdata ,10 
+068a 20407f86 call wait_div_end 
+068b 1807fe00 quotient pdata 
+068c 20600000 rtn 
 
 p_drawing_optima_data:
-068c 680111be fetch 2 ,mem_data_pre 
-068d 680911c0 fetcht 2 ,mem_data_current 
-068e 9840fe00 iadd temp ,pdata 
-068f 600191c2 store 3 ,mem_data_sum 
-0690 2feffe10 isolate1 16 ,pdata 
-0691 20208699 branch p_data_sum_overflow ,true 
-0692 680091c3 fetch 1 ,mem_data_sum + 1 
-0693 c07f86a0 beq 0xff ,p_data_sum_n 
-0694 680091c2 fetch 1 ,mem_data_sum 
+068d 680111be fetch 2 ,mem_data_pre 
+068e 680911c0 fetcht 2 ,mem_data_current 
+068f 9840fe00 iadd temp ,pdata 
+0690 600191c2 store 3 ,mem_data_sum 
+0691 2feffe10 isolate1 16 ,pdata 
+0692 2020869a branch p_data_sum_overflow ,true 
+0693 680091c3 fetch 1 ,mem_data_sum + 1 
+0694 c07f86a1 beq 0xff ,p_data_sum_n 
+0695 680091c2 fetch 1 ,mem_data_sum 
 
 p_data_store_pre:
-0695 1fe37e00 rshift pdata ,pdata 
-0696 600111be store 2 ,mem_data_pre 
-0697 600111c0 store 2 ,mem_data_current 
-0698 20600000 rtn 
+0696 1fe37e00 rshift pdata ,pdata 
+0697 600111be store 2 ,mem_data_pre 
+0698 600111c0 store 2 ,mem_data_current 
+0699 20600000 rtn 
 
 p_data_sum_overflow:
-0699 680091c3 fetch 1 ,mem_data_sum + 1 
-069a c000069d beq 0 ,p_data_sum_overflow_p 
-069b 680191c2 fetch 3 ,mem_data_sum 
-069c 20200695 branch p_data_store_pre 
+069a 680091c3 fetch 1 ,mem_data_sum + 1 
+069b c000069e beq 0 ,p_data_sum_overflow_p 
+069c 680191c2 fetch 3 ,mem_data_sum 
+069d 20200696 branch p_data_store_pre 
 
 p_data_sum_overflow_p:
-069d 7011c400 jam 0 ,mem_data_sum + 2 
-069e 680091c2 fetch 1 ,mem_data_sum 
-069f 20200695 branch p_data_store_pre 
+069e 7011c400 jam 0 ,mem_data_sum + 2 
+069f 680091c2 fetch 1 ,mem_data_sum 
+06a0 20200696 branch p_data_store_pre 
 
 p_data_sum_n:
-06a0 680091c2 fetch 1 ,mem_data_sum 
-06a1 204006ab call p_pdata_get_half 
-06a2 600091be store 1 ,mem_data_pre 
-06a3 600091c0 store 1 ,mem_data_current 
-06a4 203a06a9 branch p_data_zero ,blank 
-06a5 580000ff setarg 0xff 
+06a1 680091c2 fetch 1 ,mem_data_sum 
+06a2 204006ac call p_pdata_get_half 
+06a3 600091be store 1 ,mem_data_pre 
+06a4 600091c0 store 1 ,mem_data_current 
+06a5 203a06aa branch p_data_zero ,blank 
+06a6 580000ff setarg 0xff 
 
 p_data_set_direction:
-06a6 600091bf store 1 ,mem_data_pre + 1 
-06a7 600091c1 store 1 ,mem_data_current + 1 
-06a8 20600000 rtn 
+06a7 600091bf store 1 ,mem_data_pre + 1 
+06a8 600091c1 store 1 ,mem_data_current + 1 
+06a9 20600000 rtn 
 
 p_data_zero:
-06a9 58000000 setarg 0 
-06aa 202006a6 branch p_data_set_direction 
+06aa 58000000 setarg 0 
+06ab 202006a7 branch p_data_set_direction 
 
 p_pdata_get_half:
-06ab 204006b1 call p_pdata_invert 
-06ac 1fe37e00 rshift pdata ,pdata 
+06ac 204006b2 call p_pdata_invert 
+06ad 1fe37e00 rshift pdata ,pdata 
 
 p_pdata_get_new_value:
-06ad 204006b2 call p_rega_in_out 
-06ae 1fe67e00 sub pdata ,0 ,pdata 
-06af 600091c5 store 1 ,mem_data_value 
-06b0 20600000 rtn 
+06ae 204006b3 call p_rega_in_out 
+06af 1fe67e00 sub pdata ,0 ,pdata 
+06b0 600091c5 store 1 ,mem_data_value 
+06b1 20600000 rtn 
 
 p_pdata_invert:
-06b1 1fe67e00 sub pdata ,0 ,pdata 
+06b2 1fe67e00 sub pdata ,0 ,pdata 
 
 p_rega_in_out:
-06b2 60008aae store 1 ,mem_rega 
-06b3 68008aae fetch 1 ,mem_rega 
-06b4 20600000 rtn 
+06b3 60008aae store 1 ,mem_rega 
+06b4 68008aae fetch 1 ,mem_rega 
+06b5 20600000 rtn 
 
 p_disable_asm:
-06b5 704b2700 jam 0 ,mem_mouse_asm_flag 
-06b6 20600000 rtn 
+06b6 704b2700 jam 0 ,mem_mouse_asm_flag 
+06b7 20600000 rtn 
 
 p_enable_asm:
-06b7 704b2701 jam 1 ,mem_mouse_asm_flag 
-06b8 20600000 rtn 
+06b8 704b2701 jam 1 ,mem_mouse_asm_flag 
+06b9 20600000 rtn 
 
 p_pdata_greater_than_check:
-06b9 9a267c00 isub rega ,null 
-06ba 24217fef nbranch disable_blank ,positive 
-06bb 9a467c00 isub regb ,null 
-06bc 24217fef nbranch disable_blank ,positive 
-06bd 20207ff1 branch enable_blank 
+06ba 9a267c00 isub rega ,null 
+06bb 24217fef nbranch disable_blank ,positive 
+06bc 9a467c00 isub regb ,null 
+06bd 24217fef nbranch disable_blank ,positive 
+06be 20207ff1 branch enable_blank 
 
 p_data_less_than_check:
-06be 9a267c00 isub rega ,null 
-06bf 24610000 nrtn positive 
-06c0 9a467c00 isub regb ,null 
-06c1 24610000 nrtn positive 
-06c2 20207ff1 branch enable_blank 
+06bf 9a267c00 isub rega ,null 
+06c0 24610000 nrtn positive 
+06c1 9a467c00 isub regb ,null 
+06c2 24610000 nrtn positive 
+06c3 20207ff1 branch enable_blank 
 
 p_data_abs_check:
-06c3 6801469b fetch 2 ,mem_mouse_x 
-06c4 204006ca call p_data_abs 
-06c5 1fe22200 copy pdata ,rega 
-06c6 6801469d fetch 2 ,mem_mouse_y 
-06c7 204006ca call p_data_abs 
-06c8 1fe22400 copy pdata ,regb 
-06c9 20600000 rtn 
+06c4 6801469b fetch 2 ,mem_mouse_x 
+06c5 204006cb call p_data_abs 
+06c6 1fe22200 copy pdata ,rega 
+06c7 6801469d fetch 2 ,mem_mouse_y 
+06c8 204006cb call p_data_abs 
+06c9 1fe22400 copy pdata ,regb 
+06ca 20600000 rtn 
 
 p_data_abs:
-06ca 600111c0 store 2 ,mem_data_current 
-06cb 680091c1 fetch 1 ,mem_data_current + 1 
-06cc c07f86d0 beq 0xff ,p_data_reversal 
-06cd 680091c0 fetch 1 ,mem_data_current 
+06cb 600111c0 store 2 ,mem_data_current 
+06cc 680091c1 fetch 1 ,mem_data_current + 1 
+06cd c07f86d1 beq 0xff ,p_data_reversal 
+06ce 680091c0 fetch 1 ,mem_data_current 
 
 p_data_abs_store:
-06ce 1fe17eff and_into 0xff ,pdata 
-06cf 20600000 rtn 
+06cf 1fe17eff and_into 0xff ,pdata 
+06d0 20600000 rtn 
 
 p_data_reversal:
-06d0 680111c0 fetch 2 ,mem_data_current 
-06d1 1fe67e00 sub pdata ,0 ,pdata 
-06d2 202006ce branch p_data_abs_store 
+06d1 680111c0 fetch 2 ,mem_data_current 
+06d2 1fe67e00 sub pdata ,0 ,pdata 
+06d3 202006cf branch p_data_abs_store 
 
 p_mouse_data_init:
-06d3 7047a607 jam 7 ,mem_mouse_data_queue 
-06d4 7047a704 jam 4 ,mem_mouse_data_queue + 1 
-06d5 580047a6 setarg mem_mouse_data_queue 
-06d6 60014218 store 2 ,mem_queue_ptr 
-06d7 20207e38 branch queue_init 
+06d4 7047a607 jam 7 ,mem_mouse_data_queue 
+06d5 7047a704 jam 4 ,mem_mouse_data_queue + 1 
+06d6 580047a6 setarg mem_mouse_data_queue 
+06d7 60014218 store 2 ,mem_queue_ptr 
+06d8 20207e38 branch queue_init 
 
 p_mouse_data_push:
-06d8 da20469a arg mem_mouse_key ,rega 
-06d9 20407e3d call queue_push 
-06da 205406dc call p_mouse_queue_increase ,user 
-06db 20600000 rtn 
+06d9 da20469a arg mem_mouse_key ,rega 
+06da 20407e3d call queue_push 
+06db 205406dd call p_mouse_queue_increase ,user 
+06dc 20600000 rtn 
 
 p_mouse_queue_increase:
-06dc 6800c7c7 fetch 1 ,mem_mouse_data_queue_num 
-06dd 1fe0fe01 increase 1 ,pdata 
-06de 6000c7c7 store 1 ,mem_mouse_data_queue_num 
-06df 20600000 rtn 
+06dd 6800c7c7 fetch 1 ,mem_mouse_data_queue_num 
+06de 1fe0fe01 increase 1 ,pdata 
+06df 6000c7c7 store 1 ,mem_mouse_data_queue_num 
+06e0 20600000 rtn 
 
 p_mouse_data_pull:
-06e0 da20469a arg mem_mouse_key ,rega 
-06e1 20407e54 call queue_pop 
-06e2 203406e4 branch p_mouse_fill_data_le ,user 
-06e3 20600000 rtn 
+06e1 da20469a arg mem_mouse_key ,rega 
+06e2 20407e54 call queue_pop 
+06e3 203406e5 branch p_mouse_fill_data_le ,user 
+06e4 20600000 rtn 
 
 p_mouse_fill_data_le:
-06e4 20405652 call le_clear_md 
-06e5 6800c7c7 fetch 1 ,mem_mouse_data_queue_num 
-06e6 1fe67c01 sub pdata ,1 ,null 
-06e7 24415650 ncall le_set_md ,positive 
-06e8 6800c7c7 fetch 1 ,mem_mouse_data_queue_num 
-06e9 207a0000 rtn blank 
-06ea 1fe0ffff increase -1 ,pdata 
-06eb 6000c7c7 store 1 ,mem_mouse_data_queue_num 
-06ec 20203f90 branch mouse_fill_data_le 
+06e5 20405652 call le_clear_md 
+06e6 6800c7c7 fetch 1 ,mem_mouse_data_queue_num 
+06e7 1fe67c01 sub pdata ,1 ,null 
+06e8 24415650 ncall le_set_md ,positive 
+06e9 6800c7c7 fetch 1 ,mem_mouse_data_queue_num 
+06ea 207a0000 rtn blank 
+06eb 1fe0ffff increase -1 ,pdata 
+06ec 6000c7c7 store 1 ,mem_mouse_data_queue_num 
+06ed 20203f90 branch mouse_fill_data_le 
               org 0x2000
 
 start:
Index: program/patch.prog
===================================================================
--- /branch/mouse_project/XZR/XZR_1062/XZR_24GOnly_Project/XZR_Only24g_AutoPair_1.5V/program/patch.prog	(revision 3429)
+++ /branch/mouse_project/XZR/XZR_1062/XZR_24GOnly_Project/XZR_Only24g_AutoPair_1.5V/program/patch.prog	(working copy)
@@ -2822,15 +2822,18 @@
 p_g24_auto_pair_start:
 	set1 mark_24g,mark
 	fetch 1,mem_g24_conn_sm
+	set0 STATE_24G_RECONN,pdata
 	set1 STATE_24G_PAIR,pdata
 	store 1,mem_g24_conn_sm
 p_g24_auto_fail_timeout_init:
 	call p_mouse_sensor_powerdown
+//	setarg 0x001e
 	setarg G24_DISCONN_NODATA_TIMER
 	store 2,mem_24g_stop_g24_pair_mode_timerout
 	jam 0,mem_g24_stop_g24_mode
 	rtn	
 p_g24_auto_pair_timeout_init:
+//	setarg 0x001e
 	setarg G24_FIRST_DISCONN_NODATA_TIMER
 	store 2,mem_g24_stop_g24_mode_timeout
 	jam 0,mem_g24_stop_g24_mode
