Index: output/eeprom.dat
===================================================================
--- /branch/mouse_project/YJX_Project/YJX_Only24g/main/output/eeprom.dat	(revision 1205)
+++ /branch/mouse_project/YJX_Project/YJX_Only24g/main/output/eeprom.dat	(working copy)
@@ -2,7 +2,7 @@
 02
 aa
 55
-22
+2a
 1b
 c2
 84
@@ -23,15 +23,15 @@
 c0
 42
 85
-6d
+6f
 c0
 44
 85
-2a
+2c
 c0
 45
 05
-6f
+71
 c0
 50
 80
@@ -358,8 +358,8 @@
 b1
 58
 00
-f6
-18
+fb
+f4
 20
 20
 2b
@@ -391,7 +391,7 @@
 20
 40
 05
-72
+74
 24
 74
 00
@@ -647,7 +647,7 @@
 20
 40
 05
-ae
+b0
 20
 40
 03
@@ -679,7 +679,7 @@
 20
 40
 05
-c0
+c2
 20
 20
 00
@@ -891,7 +891,7 @@
 20
 40
 06
-ae
+b0
 68
 00
 c1
@@ -939,7 +939,7 @@
 20
 40
 06
-49
+4b
 20
 40
 01
@@ -1563,7 +1563,7 @@
 20
 20
 04
-d7
+d9
 df
 20
 00
@@ -1923,7 +1923,7 @@
 20
 40
 05
-14
+16
 68
 00
 c8
@@ -2547,11 +2547,11 @@
 24
 34
 06
-49
+4b
 20
 40
 06
-4c
+4e
 20
 20
 3f
@@ -3203,7 +3203,7 @@
 20
 40
 05
-14
+16
 20
 20
 42
@@ -3687,7 +3687,7 @@
 20
 40
 05
-c0
+c2
 70
 4c
 0c
@@ -3835,7 +3835,7 @@
 20
 40
 05
-c0
+c2
 70
 4c
 0c
@@ -3859,7 +3859,7 @@
 20
 40
 05
-c0
+c2
 70
 4c
 0c
@@ -3883,7 +3883,7 @@
 20
 40
 05
-ae
+b0
 70
 4b
 cc
@@ -4167,7 +4167,7 @@
 20
 40
 06
-28
+2a
 68
 00
 cc
@@ -4203,11 +4203,11 @@
 20
 40
 05
-e3
+e5
 20
 57
 86
-20
+22
 20
 60
 00
@@ -4215,7 +4215,7 @@
 20
 40
 06
-20
+22
 20
 20
 03
@@ -4335,7 +4335,7 @@
 20
 40
 05
-1d
+1f
 68
 00
 cb
@@ -4451,7 +4451,7 @@
 20
 40
 05
-8f
+91
 60
 08
 cd
@@ -4639,7 +4639,7 @@
 20
 20
 05
-a0
+a2
 68
 00
 cb
@@ -4735,11 +4735,11 @@
 20
 40
 05
-18
+1a
 20
 40
 05
-ae
+b0
 20
 40
 03
@@ -4807,11 +4807,19 @@
 20
 40
 05
-a0
+a2
 20
 20
 04
 04
+20
+40
+01
+86
+20
+34
+04
+d9
 79
 3f
 80
@@ -4823,7 +4831,7 @@
 20
 40
 05
-03
+05
 68
 00
 cb
@@ -4835,7 +4843,7 @@
 20
 40
 04
-c9
+cb
 58
 00
 00
@@ -4867,11 +4875,11 @@
 24
 2c
 04
-d2
+d4
 24
 37
 84
-d2
+d4
 79
 20
 00
@@ -4935,11 +4943,11 @@
 20
 40
 05
-18
+1a
 20
 20
 05
-ae
+b0
 68
 01
 4b
@@ -4955,11 +4963,11 @@
 20
 40
 05
-c0
+c2
 20
 20
 04
-ba
+bc
 58
 00
 00
@@ -4979,11 +4987,11 @@
 20
 40
 04
-fb
+fd
 20
 40
 04
-c9
+cb
 58
 00
 00
@@ -5023,11 +5031,11 @@
 24
 2c
 04
-ef
+f1
 24
 37
 84
-ef
+f1
 20
 40
 04
@@ -5055,7 +5063,7 @@
 20
 20
 04
-c1
+c3
 68
 01
 4b
@@ -5087,19 +5095,19 @@
 c0
 00
 05
-0e
+10
 c0
 00
 85
-10
+12
 c0
 01
 05
-12
+14
 c0
 01
 85
-10
+12
 20
 60
 00
@@ -5127,7 +5135,7 @@
 20
 40
 05
-03
+05
 60
 08
 91
@@ -5139,11 +5147,11 @@
 20
 40
 05
-a1
+a3
 20
 20
 05
-c0
+c2
 70
 41
 de
@@ -5171,7 +5179,7 @@
 20
 40
 05
-03
+05
 60
 08
 91
@@ -5183,11 +5191,11 @@
 20
 40
 04
-fb
+fd
 20
 20
 04
-df
+e1
 20
 40
 04
@@ -5195,15 +5203,15 @@
 20
 20
 04
-df
+e1
 20
 40
 05
-05
+07
 20
 20
 04
-df
+e1
 79
 3f
 80
@@ -5359,31 +5367,31 @@
 c0
 00
 05
-40
+42
 c0
 00
 85
-48
+4a
 c0
 01
 05
-50
+52
 c0
 02
 05
-58
+5a
 c0
 10
 05
-6a
+6c
 20
 20
 05
-40
+42
 20
 40
 05
-60
+62
 70
 89
 4b
@@ -5415,7 +5423,7 @@
 20
 40
 05
-65
+67
 70
 89
 4b
@@ -5447,7 +5455,7 @@
 20
 40
 05
-65
+67
 70
 89
 4b
@@ -5479,7 +5487,7 @@
 20
 40
 05
-60
+62
 70
 89
 4b
@@ -5659,7 +5667,7 @@
 20
 40
 05
-88
+8a
 60
 08
 cc
@@ -5719,7 +5727,7 @@
 c2
 00
 05
-92
+94
 18
 49
 7e
@@ -5791,7 +5799,7 @@
 c2
 00
 05
-a4
+a6
 1a
 22
 7e
@@ -5899,7 +5907,7 @@
 20
 40
 05
-c4
+c6
 60
 08
 cb
@@ -5911,7 +5919,7 @@
 20
 40
 05
-c8
+ca
 18
 40
 84
@@ -6035,7 +6043,7 @@
 20
 40
 05
-d1
+d3
 78
 57
 fc
@@ -6071,7 +6079,7 @@
 24
 2c
 06
-24
+26
 78
 46
 fc
@@ -6091,7 +6099,7 @@
 20
 40
 06
-1d
+1f
 60
 00
 cc
@@ -6107,11 +6115,11 @@
 24
 22
 86
-20
+22
 20
 40
 06
-1d
+1f
 60
 00
 cb
@@ -6126,8 +6134,8 @@
 02
 20
 22
-85
-ff
+86
+01
 68
 00
 cb
@@ -6143,11 +6151,11 @@
 24
 20
 86
-20
+22
 20
 40
 06
-1d
+1f
 e0
 a0
 80
@@ -6163,11 +6171,11 @@
 20
 22
 86
-07
+09
 20
 40
 06
-1d
+1f
 e0
 a0
 80
@@ -6175,7 +6183,7 @@
 c2
 00
 06
-04
+06
 18
 a2
 22
@@ -6183,7 +6191,7 @@
 20
 40
 06
-1d
+1f
 60
 00
 cd
@@ -6223,7 +6231,7 @@
 20
 23
 06
-20
+22
 78
 37
 fc
@@ -6295,7 +6303,7 @@
 20
 20
 06
-20
+22
 20
 40
 29
@@ -6323,11 +6331,11 @@
 20
 40
 05
-d1
+d3
 20
 40
 06
-25
+27
 79
 20
 2a
@@ -6407,7 +6415,7 @@
 c2
 00
 06
-3e
+40
 78
 24
 7c
@@ -6463,7 +6471,7 @@
 20
 40
 06
-9d
+9f
 58
 00
 00
@@ -6471,7 +6479,7 @@
 20
 40
 06
-90
+92
 58
 00
 00
@@ -6479,7 +6487,7 @@
 20
 40
 06
-96
+98
 68
 00
 cb
@@ -6487,11 +6495,11 @@
 c0
 00
 86
-56
+58
 20
 20
 06
-49
+4b
 68
 01
 4b
@@ -6511,7 +6519,7 @@
 20
 40
 06
-69
+6b
 68
 01
 11
@@ -6547,7 +6555,7 @@
 20
 40
 06
-69
+6b
 68
 01
 11
@@ -6591,7 +6599,7 @@
 20
 20
 86
-76
+78
 68
 00
 91
@@ -6599,7 +6607,7 @@
 c0
 7f
 86
-7d
+7f
 68
 00
 91
@@ -6627,7 +6635,7 @@
 c0
 00
 06
-7a
+7c
 68
 01
 91
@@ -6635,7 +6643,7 @@
 20
 20
 06
-72
+74
 70
 11
 c6
@@ -6647,7 +6655,7 @@
 20
 20
 06
-72
+74
 68
 00
 91
@@ -6655,7 +6663,7 @@
 20
 40
 06
-88
+8a
 60
 00
 91
@@ -6667,7 +6675,7 @@
 20
 3a
 06
-86
+88
 58
 00
 00
@@ -6691,7 +6699,7 @@
 20
 20
 06
-83
+85
 1f
 e6
 7e
@@ -6731,7 +6739,7 @@
 24
 21
 06
-9b
+9d
 9a
 46
 7c
@@ -6739,7 +6747,7 @@
 24
 21
 06
-9b
+9d
 70
 4b
 26
@@ -6767,7 +6775,7 @@
 20
 20
 06
-94
+96
 70
 4b
 26
@@ -6787,7 +6795,7 @@
 20
 40
 06
-a6
+a8
 1f
 e2
 22
@@ -6803,7 +6811,7 @@
 20
 40
 06
-a6
+a8
 1f
 e2
 24
@@ -6819,7 +6827,7 @@
 c0
 7f
 86
-ab
+ad
 68
 00
 91
@@ -6843,7 +6851,7 @@
 20
 20
 06
-a9
+ab
 70
 47
 a6
@@ -6875,7 +6883,7 @@
 20
 54
 06
-b7
+b9
 20
 60
 00
@@ -6907,7 +6915,7 @@
 20
 34
 06
-bf
+c1
 20
 60
 00
@@ -6948,8 +6956,8 @@
 20
 3f
 90
-23
-0e
+90
+f3
 aa
 55
 08
@@ -7623,5 +7631,5 @@
 4c
 04
 01
-ba
-a4
+27
+d6
Index: output/program.lis
===================================================================
--- /branch/mouse_project/YJX_Project/YJX_Only24g/main/output/program.lis	(revision 1205)
+++ /branch/mouse_project/YJX_Project/YJX_Only24g/main/output/program.lis	(working copy)
@@ -4,9 +4,9 @@
 0001 c0000020 beq patch00_0 ,p_soft_reset 
 0002 c0008023 beq patch00_1 ,p_soft_reset_1 
 0003 c001002b beq patch00_2 ,p_soft_reset_2 
-0004 c042856d beq patch10_5 ,p_shutdown_radio 
-0005 c044852a beq patch11_1 ,p_set_freq_tx 
-0006 c045056f beq patch11_2 ,p_initialize_radio_cont 
+0004 c042856f beq patch10_5 ,p_shutdown_radio 
+0005 c044852c beq patch11_1 ,p_set_freq_tx 
+0006 c0450571 beq patch11_2 ,p_initialize_radio_cont 
 0007 c0508034 beq patch14_1 ,p_init_param 
 0008 c0588039 beq patch16_1 ,p_lpm_check_wake_lock 
 0009 c0590047 beq patch16_2 ,p_g24_dispatch 
@@ -112,7 +112,7 @@
 0055 2040008b call p_g24_lpm_wait 
 0056 24740000 nrtn user 
 0057 204000b1 call p_clear_wake 
-0058 5800f618 setarg 63000 
+0058 5800fbf4 setarg 64500 
 0059 20202b93 branch lpm_dispatch_sleep 
 
 g24_long_sleep_shorter_param_update:
@@ -124,7 +124,7 @@
 005f 20600000 rtn 
 
 p_g24_transmit_by_interrupt:
-0060 20400572 call p_g24_timer_check 
+0060 20400574 call p_g24_timer_check 
 0061 24740000 nrtn user 
 0062 20400076 call p_g24_interval_calibrate 
 0063 68014d08 fetch 2 ,mem_24g_transmit_by_interrupt_exit_count 
@@ -206,7 +206,7 @@
 009d 6800cbc8 fetch 1 ,mem_24g_data_type 
 009e 79207e03 set1 bit_abort ,pdata 
 009f 6000cbc8 store 1 ,mem_24g_data_type 
-00a0 204005ae call p_g24_transmit_prep 
+00a0 204005b0 call p_g24_transmit_prep 
 00a1 204003ca call p_g24_txdata_enable_tx 
 00a2 2020004e branch p_g24_transmit_start 
 
@@ -216,7 +216,7 @@
 00a5 6800c80e fetch 1 ,mem_mouse_long_mult_flag 
 00a6 207a0000 rtn blank 
 00a7 704c0301 jam no_ack_24g ,mem_24g_no_ack 
-00a8 204005c0 call p_g24_ch 
+00a8 204005c2 call p_g24_ch 
 00a9 20200095 branch p_g24_send_abort_packet + 1 
 
 p_mouse_before_lpm:
@@ -287,7 +287,7 @@
 00da 20403416 call app_lpm_mult_enable 
 00db 203580e4 branch p_device_init_common ,wake 
 00dc 70807820 jam 0x20 ,core_gpio_pu0 
-00dd 204006ae call p_mouse_data_init 
+00dd 204006b0 call p_mouse_data_init 
 00de 6800c1de fetch 1 ,mem_tx_power 
 00df 6000cc7e store 1 ,mem_tx_power_temp 
 00e0 20400441 call power_ctrl_pac_succ_cnt_init 
@@ -303,7 +303,7 @@
 00e6 2455813a ncall p_mouse_setting_config ,wake 
 00e7 20400115 call p_mouse_spi_init 
 00e8 20758000 rtn wake 
-00e9 20400649 call p_drawing_optima_init 
+00e9 2040064b call p_drawing_optima_init 
 00ea 2040018f call p_mouse_cb_fuction 
 00eb 20200175 branch p_mouse_wakeup_from_power 
 
@@ -517,7 +517,7 @@
 0182 e0a10000 istore 2 ,contw 
 0183 204001d5 call p_mouse_set_24g_addr_eeprom 
 0184 204065d1 call iicd_write_protect_eep_data 
-0185 202004d7 branch p_g24_auto_pair_start 
+0185 202004d9 branch p_g24_auto_pair_start 
 
 p_g24_factory_check:
 0186 df200002 arg 2 ,loopcnt 
@@ -641,7 +641,7 @@
 01dc 20400200 call p_mouse_sensor_powerdown_check 
 01dd 704d0700 jam g24_tx_timer_int_disable ,mem_24g_transmit_by_interrupt 
 01de 204001d9 call p_mouse_tx_power_init 
-01df 20400514 call p_g24_check_51cmd_stop_24g 
+01df 20400516 call p_g24_check_51cmd_stop_24g 
 01e0 6800c87f fetch 1 ,mem_mouse_mode_config 
 01e1 c280340a bbit1 mouse_24g_only ,app_enter_hibernate 
 01e2 7041bd00 jam 0 ,mem_link_key_exists 
@@ -861,8 +861,8 @@
 0278 20404079 call mouse_zwheel 
 0279 2040407e call mouse_t_zwheel 
 027a 2040027e call p_mouse_key 
-027b 24340649 nbranch p_drawing_optima_init ,user 
-027c 2040064c call p_drawing_optima 
+027b 2434064b nbranch p_drawing_optima_init ,user 
+027c 2040064e call p_drawing_optima 
 027d 20203fa0 branch mouse_motion + 9 
 
 p_mouse_key:
@@ -1095,7 +1095,7 @@
 031e 2020426d branch mouse_bb_event_discovery_btn + 1 
 
 p_mouse_switch_to_bt:
-031f 20400514 call p_g24_check_51cmd_stop_24g 
+031f 20400516 call p_g24_check_51cmd_stop_24g 
 0320 2020426d branch mouse_bb_event_discovery_btn + 1 
 
 p_le_addr_random_config:
@@ -1266,7 +1266,7 @@
 0395 1fe0fe01 increase 1 ,pdata 
 0396 6000ccfa store 1 ,mem_24g_hop_fastly_cnt 
 0397 c002039b beq 4 ,p_g24_rf_hop_fastly_exit 
-0398 204005c0 call p_g24_ch 
+0398 204005c2 call p_g24_ch 
 0399 704c0c02 jam 2 ,mem_24g_max_retry 
 039a 202003f3 branch p_g24_transmit_packet 
 
@@ -1317,7 +1317,7 @@
 03ba 1fe0ffff increase -1 ,pdata 
 03bb 6000ccff store 1 ,mem_24g_sync_cnt 
 03bc 704cfe02 jam 2 ,mem_24g_rf_work_stage 
-03bd 204005c0 call p_g24_ch 
+03bd 204005c2 call p_g24_ch 
 03be 704c0c04 jam 4 ,mem_24g_max_retry 
 03bf 20600000 rtn 
 
@@ -1325,7 +1325,7 @@
 03c0 704cfe03 jam 3 ,mem_24g_rf_work_stage 
 03c1 6800ccfc fetch 1 ,mem_24g_rf_hop_ch 
 03c2 243a0392 nbranch p_g24_rf_hop_attemp_again ,blank 
-03c3 204005c0 call p_g24_ch 
+03c3 204005c2 call p_g24_ch 
 03c4 704c0c02 jam 2 ,mem_24g_max_retry 
 03c5 20600000 rtn 
 
@@ -1335,7 +1335,7 @@
 
 p_g24_txdata_prep_packeage_data:
 03c8 204003cc call p_g24_package_data 
-03c9 204005ae call p_g24_transmit_prep 
+03c9 204005b0 call p_g24_transmit_prep 
 
 p_g24_txdata_enable_tx:
 03ca 704bcc01 jam ensure_on_24g ,mem_24g_ensure 
@@ -1432,7 +1432,7 @@
 
 p_g24_transmit_receive_ack:
 040f 7857fc00 disable user3 
-0410 20400628 call p_g24_transmit 
+0410 2040062a call p_g24_transmit 
 0411 6800cc03 fetch 1 ,mem_24g_no_ack 
 0412 c000841c beq no_ack_24g ,p_g24_transmit_no_ack 
 0413 18002a00 force 0 ,radio_ctrl 
@@ -1441,12 +1441,12 @@
 0416 68088017 fetcht 1 ,mem_last_freq 
 0417 2040291f call set_freq_rx 
 0418 20402924 call rf_rx_enable 
-0419 204005e3 call p_g24_receive_rxon 
-041a 20578620 call p_g24_end_of_packet ,user3 
+0419 204005e5 call p_g24_receive_rxon 
+041a 20578622 call p_g24_end_of_packet ,user3 
 041b 20600000 rtn 
 
 p_g24_transmit_no_ack:
-041c 20400620 call p_g24_end_of_packet 
+041c 20400622 call p_g24_end_of_packet 
 041d 202003fe branch p_g24_transmit_next_packet 
 
 p_g24_retransmit:
@@ -1486,7 +1486,7 @@
 0439 20207d86 branch ui_ipc_send_event 
 
 p_g24_ackpayload_parse:
-043a 2040051d call p_g24_read_len_pid_crc 
+043a 2040051f call p_g24_read_len_pid_crc 
 043b 6800cbc5 fetch 1 ,mem_24g_rxdata_length 
 043c 207a0000 rtn blank 
 043d 98007200 iforce loopcnt 
@@ -1525,7 +1525,7 @@
 0454 c3838000 rtnbit1 ui_state_bt_reconnect 
 0455 c3830000 rtnbit1 ui_state_bt_discovery 
 0456 da204c89 arg mem_rssi_signal_buf ,rega 
-0457 2040058f call p_rssi_average 
+0457 20400591 call p_rssi_average 
 0458 6008cd01 storet 1 ,mem_rssi_avg_received 
 0459 58000082 setarg rssi_dis_max_24g 
 045a c513045c bmark1 mark_24g ,power_ctrl_start_next 
@@ -1598,7 +1598,7 @@
 0483 704bc600 jam 0 ,mem_24g_pid 
 0484 704bd14e jam g24_pair_ch ,mem_24g_ch 
 0485 68024bd3 fetch 4 ,mem_24g_paring_addr 
-0486 202005a0 branch p_g24_update_addr_and_synccrc8 
+0486 202005a2 branch p_g24_update_addr_and_synccrc8 
 
 p_g24_pairing_sm:
 0487 6800cbcc fetch 1 ,mem_24g_ensure 
@@ -1634,8 +1634,8 @@
 049b 7011a400 jam 0 ,mem_24g_common_temp + 6 
 049c da20119e arg mem_24g_common_temp ,rega 
 049d d8400007 arg 7 ,temp 
-049e 20400518 call p_g24_put_data_in_buff 
-049f 204005ae call p_g24_transmit_prep 
+049e 2040051a call p_g24_put_data_in_buff 
+049f 204005b0 call p_g24_transmit_prep 
 04a0 204003ca call p_g24_txdata_enable_tx 
 04a1 20207fe7 branch enable_user 
 
@@ -1660,700 +1660,702 @@
 04ad 700a9939 jam bt_evt_24g_pairing_complete ,mem_fifo_temp 
 04ae 20407d86 call ui_ipc_send_event 
 04af 68024ba7 fetch 4 ,mem_24g_rxpayload + 2 
-04b0 204005a0 call p_g24_update_addr_and_synccrc8 
+04b0 204005a2 call p_g24_update_addr_and_synccrc8 
 04b1 20200404 branch p_g24_transmit_abandon 
 
 p_g24_start_24g_mode:
-04b2 793f8026 set0 mark_24g ,mark 
-04b3 704c0300 jam with_ack_24g ,mem_24g_no_ack 
-04b4 20400503 call p_g24_ch_syncword_crc8_init 
-04b5 6800cbd7 fetch 1 ,mem_24g_pairing_sm 
-04b6 c1ff8000 rtnne state_24g_pairing_success 
-04b7 204004c9 call p_g24_tx_attemp_data_prep 
+04b2 20400186 call p_g24_factory_check 
+04b3 203404d9 branch p_g24_auto_pair_start ,user 
+04b4 793f8026 set0 mark_24g ,mark 
+04b5 704c0300 jam with_ack_24g ,mem_24g_no_ack 
+04b6 20400505 call p_g24_ch_syncword_crc8_init 
+04b7 6800cbd7 fetch 1 ,mem_24g_pairing_sm 
+04b8 c1ff8000 rtnne state_24g_pairing_success 
+04b9 204004cb call p_g24_tx_attemp_data_prep 
 
 p_g24_tx_attemp_dongle:
-04b8 58000000 setarg 0 
-04b9 60014bf4 store 2 ,mem_24g_check_dongle_times 
+04ba 58000000 setarg 0 
+04bb 60014bf4 store 2 ,mem_24g_check_dongle_times 
 
 p_g24_tx_attemp_dongle_loop:
-04ba 20402afa call lpo_calibration 
-04bb 200007d0 nop 2000 
-04bc 6800cbf4 fetch 1 ,mem_24g_check_dongle_times 
-04bd c07f8438 beq 0xff ,p_g24_stop_g24_mode 
-04be 2040040f call p_g24_transmit_receive_ack 
-04bf 242c04d2 nbranch p_g24_attemp_txdata_retry ,sync 
-04c0 243784d2 nbranch p_g24_attemp_txdata_retry ,user3 
+04bc 20402afa call lpo_calibration 
+04bd 200007d0 nop 2000 
+04be 6800cbf4 fetch 1 ,mem_24g_check_dongle_times 
+04bf c07f8438 beq 0xff ,p_g24_stop_g24_mode 
+04c0 2040040f call p_g24_transmit_receive_ack 
+04c1 242c04d4 nbranch p_g24_attemp_txdata_retry ,sync 
+04c2 243784d4 nbranch p_g24_attemp_txdata_retry ,user3 
 
 p_g24_tx_attemp_dongle_succ:
-04c1 79200026 set1 mark_24g ,mark 
-04c2 58000000 setarg 0 
-04c3 60014bf4 store 2 ,mem_24g_check_dongle_times 
-04c4 70480e00 jam 0 ,mem_mouse_long_mult_flag 
-04c5 700a993c jam bt_evt_24g_attempt_success ,mem_fifo_temp 
-04c6 20407d86 call ui_ipc_send_event 
-04c7 2040040a call p_g24_txbuf_clear 
-04c8 2020007c branch p_g24_transmit_by_interrupt_enable 
+04c3 79200026 set1 mark_24g ,mark 
+04c4 58000000 setarg 0 
+04c5 60014bf4 store 2 ,mem_24g_check_dongle_times 
+04c6 70480e00 jam 0 ,mem_mouse_long_mult_flag 
+04c7 700a993c jam bt_evt_24g_attempt_success ,mem_fifo_temp 
+04c8 20407d86 call ui_ipc_send_event 
+04c9 2040040a call p_g24_txbuf_clear 
+04ca 2020007c branch p_g24_transmit_by_interrupt_enable 
 
 p_g24_tx_attemp_data_prep:
-04c9 70119eff jam 0xff ,mem_24g_common_temp 
-04ca 6800cbc8 fetch 1 ,mem_24g_data_type 
-04cb 6000919f store 1 ,mem_24g_common_temp + 1 
-04cc 68024bfe fetch 4 ,mem_24g_device_addr 
-04cd 600211a0 store 4 ,mem_24g_common_temp + 2 
-04ce d8400006 arg 6 ,temp 
-04cf da20119e arg mem_24g_common_temp ,rega 
-04d0 20400518 call p_g24_put_data_in_buff 
-04d1 202005ae branch p_g24_transmit_prep 
+04cb 70119eff jam 0xff ,mem_24g_common_temp 
+04cc 6800cbc8 fetch 1 ,mem_24g_data_type 
+04cd 6000919f store 1 ,mem_24g_common_temp + 1 
+04ce 68024bfe fetch 4 ,mem_24g_device_addr 
+04cf 600211a0 store 4 ,mem_24g_common_temp + 2 
+04d0 d8400006 arg 6 ,temp 
+04d1 da20119e arg mem_24g_common_temp ,rega 
+04d2 2040051a call p_g24_put_data_in_buff 
+04d3 202005b0 branch p_g24_transmit_prep 
 
 p_g24_attemp_txdata_retry:
-04d2 68014bf4 fetch 2 ,mem_24g_check_dongle_times 
-04d3 1fe0fe01 increase 1 ,pdata 
-04d4 60014bf4 store 2 ,mem_24g_check_dongle_times 
-04d5 204005c0 call p_g24_ch 
-04d6 202004ba branch p_g24_tx_attemp_dongle_loop 
+04d4 68014bf4 fetch 2 ,mem_24g_check_dongle_times 
+04d5 1fe0fe01 increase 1 ,pdata 
+04d6 60014bf4 store 2 ,mem_24g_check_dongle_times 
+04d7 204005c2 call p_g24_ch 
+04d8 202004bc branch p_g24_tx_attemp_dongle_loop 
 
 p_g24_auto_pair_start:
-04d7 58000000 setarg 0 
-04d8 600111be store 2 ,mem_24g_pair_current_ch_num 
-04d9 793f8026 set0 mark_24g ,mark 
-04da 704c0300 jam with_ack_24g ,mem_24g_no_ack 
-04db 204004fb call p_g24_auto_pair_first_attemp 
-04dc 204004c9 call p_g24_tx_attemp_data_prep 
+04d9 58000000 setarg 0 
+04da 600111be store 2 ,mem_24g_pair_current_ch_num 
+04db 793f8026 set0 mark_24g ,mark 
+04dc 704c0300 jam with_ack_24g ,mem_24g_no_ack 
+04dd 204004fd call p_g24_auto_pair_first_attemp 
+04de 204004cb call p_g24_tx_attemp_data_prep 
 
 p_g24_auto_pair_restart:
-04dd 58000000 setarg 0 
-04de 60014bf4 store 2 ,mem_24g_check_dongle_times 
+04df 58000000 setarg 0 
+04e0 60014bf4 store 2 ,mem_24g_check_dongle_times 
 
 p_g24_auto_pair_start_loop:
-04df 20402afa call lpo_calibration 
-04e0 200007d0 nop 2000 
-04e1 68014bf4 fetch 2 ,mem_24g_check_dongle_times 
-04e2 d8403bc4 arg 0x3bc4 ,temp 
-04e3 98467c00 isub temp ,null 
-04e4 20228438 branch p_g24_stop_g24_mode ,zero 
-04e5 2040040f call p_g24_transmit_receive_ack 
-04e6 242c04ef nbranch p_g24_auto_pair_retry ,sync 
-04e7 243784ef nbranch p_g24_auto_pair_retry ,user3 
-04e8 2040043a call p_g24_ackpayload_parse 
-04e9 204001d9 call p_mouse_tx_power_init 
-04ea 68024bef fetch 4 ,mem_24g_addr 
-04eb 680a4bd3 fetcht 4 ,mem_24g_paring_addr 
-04ec 98467c00 isub temp ,null 
-04ed 2022847e branch p_g24_start_pairing_sm1 ,zero 
-04ee 202004c1 branch p_g24_tx_attemp_dongle_succ 
+04e1 20402afa call lpo_calibration 
+04e2 200007d0 nop 2000 
+04e3 68014bf4 fetch 2 ,mem_24g_check_dongle_times 
+04e4 d8403bc4 arg 0x3bc4 ,temp 
+04e5 98467c00 isub temp ,null 
+04e6 20228438 branch p_g24_stop_g24_mode ,zero 
+04e7 2040040f call p_g24_transmit_receive_ack 
+04e8 242c04f1 nbranch p_g24_auto_pair_retry ,sync 
+04e9 243784f1 nbranch p_g24_auto_pair_retry ,user3 
+04ea 2040043a call p_g24_ackpayload_parse 
+04eb 204001d9 call p_mouse_tx_power_init 
+04ec 68024bef fetch 4 ,mem_24g_addr 
+04ed 680a4bd3 fetcht 4 ,mem_24g_paring_addr 
+04ee 98467c00 isub temp ,null 
+04ef 2022847e branch p_g24_start_pairing_sm1 ,zero 
+04f0 202004c3 branch p_g24_tx_attemp_dongle_succ 
 
 p_g24_auto_pair_retry:
-04ef 68014bf4 fetch 2 ,mem_24g_check_dongle_times 
-04f0 1fe0fe01 increase 1 ,pdata 
-04f1 60014bf4 store 2 ,mem_24g_check_dongle_times 
-04f2 6800cd05 fetch 1 ,mem_24g_auto_paring_switch 
-04f3 1fe0fe01 increase 1 ,pdata 
-04f4 1fe17e03 and_into 3 ,pdata 
-04f5 6000cd05 store 1 ,mem_24g_auto_paring_switch 
-04f6 c000050e beq 0 ,p_g24_auto_pair_device_attemp 
-04f7 c0008510 beq 1 ,p_g24_auto_pair_pair_attemp 
-04f8 c0010512 beq 2 ,p_g24_auto_pair_all_powerful_attemp 
-04f9 c0018510 beq 3 ,p_g24_auto_pair_pair_attemp 
-04fa 20600000 rtn 
+04f1 68014bf4 fetch 2 ,mem_24g_check_dongle_times 
+04f2 1fe0fe01 increase 1 ,pdata 
+04f3 60014bf4 store 2 ,mem_24g_check_dongle_times 
+04f4 6800cd05 fetch 1 ,mem_24g_auto_paring_switch 
+04f5 1fe0fe01 increase 1 ,pdata 
+04f6 1fe17e03 and_into 3 ,pdata 
+04f7 6000cd05 store 1 ,mem_24g_auto_paring_switch 
+04f8 c0000510 beq 0 ,p_g24_auto_pair_device_attemp 
+04f9 c0008512 beq 1 ,p_g24_auto_pair_pair_attemp 
+04fa c0010514 beq 2 ,p_g24_auto_pair_all_powerful_attemp 
+04fb c0018512 beq 3 ,p_g24_auto_pair_pair_attemp 
+04fc 20600000 rtn 
 
 p_g24_auto_pair_first_attemp:
-04fb 204001d9 call p_mouse_tx_power_init 
-04fc 68024bfe fetch 4 ,mem_24g_device_addr 
-04fd 60024bef store 4 ,mem_24g_addr 
-04fe 680091be fetch 1 ,mem_24g_pair_current_ch_num 
-04ff 6000cbd2 store 1 ,mem_24g_current_ch_number 
-0500 20400503 call p_g24_ch_syncword_crc8_init 
-0501 600891be storet 1 ,mem_24g_pair_current_ch_num 
-0502 20600000 rtn 
+04fd 204001d9 call p_mouse_tx_power_init 
+04fe 68024bfe fetch 4 ,mem_24g_device_addr 
+04ff 60024bef store 4 ,mem_24g_addr 
+0500 680091be fetch 1 ,mem_24g_pair_current_ch_num 
+0501 6000cbd2 store 1 ,mem_24g_current_ch_number 
+0502 20400505 call p_g24_ch_syncword_crc8_init 
+0503 600891be storet 1 ,mem_24g_pair_current_ch_num 
+0504 20600000 rtn 
 
 p_g24_ch_syncword_crc8_init:
-0503 204005a1 call p_g24_syncword_crc8 
-0504 202005c0 branch p_g24_ch 
+0505 204005a3 call p_g24_syncword_crc8 
+0506 202005c2 branch p_g24_ch 
 
 p_g24_auto_pair_all_powerful:
-0505 7041de20 jam tx_power_pair ,mem_tx_power 
-0506 58000f0f setarg 0x0f0f 
-0507 60014bef store 2 ,mem_24g_addr 
-0508 e0a10000 istore 2 ,contw 
-0509 680091bf fetch 1 ,mem_24g_powerful_current_ch_num 
-050a 6000cbd2 store 1 ,mem_24g_current_ch_number 
-050b 20400503 call p_g24_ch_syncword_crc8_init 
-050c 600891bf storet 1 ,mem_24g_powerful_current_ch_num 
-050d 20600000 rtn 
+0507 7041de20 jam tx_power_pair ,mem_tx_power 
+0508 58000f0f setarg 0x0f0f 
+0509 60014bef store 2 ,mem_24g_addr 
+050a e0a10000 istore 2 ,contw 
+050b 680091bf fetch 1 ,mem_24g_powerful_current_ch_num 
+050c 6000cbd2 store 1 ,mem_24g_current_ch_number 
+050d 20400505 call p_g24_ch_syncword_crc8_init 
+050e 600891bf storet 1 ,mem_24g_powerful_current_ch_num 
+050f 20600000 rtn 
 
 p_g24_auto_pair_device_attemp:
-050e 204004fb call p_g24_auto_pair_first_attemp 
-050f 202004df branch p_g24_auto_pair_start_loop 
+0510 204004fd call p_g24_auto_pair_first_attemp 
+0511 202004e1 branch p_g24_auto_pair_start_loop 
 
 p_g24_auto_pair_pair_attemp:
-0510 20400482 call p_g24_pair_init 
-0511 202004df branch p_g24_auto_pair_start_loop 
+0512 20400482 call p_g24_pair_init 
+0513 202004e1 branch p_g24_auto_pair_start_loop 
 
 p_g24_auto_pair_all_powerful_attemp:
-0512 20400505 call p_g24_auto_pair_all_powerful 
-0513 202004df branch p_g24_auto_pair_start_loop 
+0514 20400507 call p_g24_auto_pair_all_powerful 
+0515 202004e1 branch p_g24_auto_pair_start_loop 
 
 p_g24_check_51cmd_stop_24g:
-0514 793f8026 set0 mark_24g ,mark 
-0515 204053ce call le_disable 
+0516 793f8026 set0 mark_24g ,mark 
+0517 204053ce call le_disable 
 
 p_mouse_disable_g24_pairing_flag:
-0516 d8e00003 arg mosue_24g_pairing_flag ,queue 
-0517 202043d2 branch mouse_disable_function_flag 
+0518 d8e00003 arg mosue_24g_pairing_flag ,queue 
+0519 202043d2 branch mouse_disable_function_flag 
 
 p_g24_put_data_in_buff:
-0518 6008cbc7 storet 1 ,mem_24g_datalen 
-0519 18427200 copy temp ,loopcnt 
-051a d8a04b63 arg mem_24g_txbuf ,contw 
-051b 1a220c00 copy rega ,contr 
-051c 20207f01 branch memcpy 
+051a 6008cbc7 storet 1 ,mem_24g_datalen 
+051b 18427200 copy temp ,loopcnt 
+051c d8a04b63 arg mem_24g_txbuf ,contw 
+051d 1a220c00 copy rega ,contr 
+051e 20207f01 branch memcpy 
 
 p_g24_read_len_pid_crc:
-051d 6800cb42 fetch 1 ,mem_24g_rxbuf + 1 
-051e 1fe97e00 rshift3 pdata ,pdata 
-051f 6000cbc5 store 1 ,mem_24g_rxdata_length 
-0520 1fe0fe01 increase 1 ,pdata 
-0521 d8c04b42 arg mem_24g_rxbuf + 1 ,contr 
-0522 98c08c00 iadd contr ,contr 
-0523 e8c18000 ifetch 3 ,contr 
-0524 6001cc04 store 3 ,mem_24g_sta_crc 
-0525 6800cb42 fetch 1 ,mem_24g_rxbuf + 1 
-0526 1fe37e00 rshift pdata ,pdata 
-0527 1fe17e03 and pdata ,0x03 ,pdata 
-0528 6000cc0a store 1 ,mem_24g_sta_pid 
-0529 20600000 rtn 
+051f 6800cb42 fetch 1 ,mem_24g_rxbuf + 1 
+0520 1fe97e00 rshift3 pdata ,pdata 
+0521 6000cbc5 store 1 ,mem_24g_rxdata_length 
+0522 1fe0fe01 increase 1 ,pdata 
+0523 d8c04b42 arg mem_24g_rxbuf + 1 ,contr 
+0524 98c08c00 iadd contr ,contr 
+0525 e8c18000 ifetch 3 ,contr 
+0526 6001cc04 store 3 ,mem_24g_sta_crc 
+0527 6800cb42 fetch 1 ,mem_24g_rxbuf + 1 
+0528 1fe37e00 rshift pdata ,pdata 
+0529 1fe17e03 and pdata ,0x03 ,pdata 
+052a 6000cc0a store 1 ,mem_24g_sta_pid 
+052b 20600000 rtn 
 
 p_set_freq_tx:
-052a 60088017 storet 1 ,mem_last_freq 
-052b 1840a200 add temp ,0 ,rega 
-052c 20402981 call rf_write_freq 
-052d 58000500 setarg param_pll_setup 
-052e 20402a8f call sleep 
+052c 60088017 storet 1 ,mem_last_freq 
+052d 1840a200 add temp ,0 ,rega 
+052e 20402981 call rf_write_freq 
+052f 58000500 setarg param_pll_setup 
+0530 20402a8f call sleep 
 
 p_rf_tx_enable:
-052f 70890601 jam 0x1 ,rfen_adc 
-0530 7089003c jam 0x3c ,rfen_rx 
-0531 708901e0 jam 0xe0 ,rfen_tx 
-0532 2000000a nop 10 
-0533 70890201 jam 0x01 ,rfen_mdm 
-0534 7089023d jam 0x3d ,rfen_mdm 
-0535 2000000a nop 10 
-0536 708903b7 jam 0xb7 ,rfen_sn 
+0531 70890601 jam 0x1 ,rfen_adc 
+0532 7089003c jam 0x3c ,rfen_rx 
+0533 708901e0 jam 0xe0 ,rfen_tx 
+0534 2000000a nop 10 
+0535 70890201 jam 0x01 ,rfen_mdm 
+0536 7089023d jam 0x3d ,rfen_mdm 
 0537 2000000a nop 10 
-0538 7089027d jam 0x7d ,rfen_mdm 
-0539 6800c1de fetch 1 ,mem_tx_power 
-053a c0000540 beq tx_power_0db ,p_set_tx_power_0db 
-053b c0008548 beq tx_power_3db ,p_set_tx_power_3db 
-053c c0010550 beq tx_power_5db ,p_set_tx_power_5db 
-053d c0020558 beq tx_power_f5db ,p_set_tx_power_f5db 
-053e c010056a beq tx_power_pair ,p_set_tx_power_pair 
-053f 20200540 branch p_set_tx_power_0db 
+0538 708903b7 jam 0xb7 ,rfen_sn 
+0539 2000000a nop 10 
+053a 7089027d jam 0x7d ,rfen_mdm 
+053b 6800c1de fetch 1 ,mem_tx_power 
+053c c0000542 beq tx_power_0db ,p_set_tx_power_0db 
+053d c000854a beq tx_power_3db ,p_set_tx_power_3db 
+053e c0010552 beq tx_power_5db ,p_set_tx_power_5db 
+053f c002055a beq tx_power_f5db ,p_set_tx_power_f5db 
+0540 c010056c beq tx_power_pair ,p_set_tx_power_pair 
+0541 20200542 branch p_set_tx_power_0db 
 
 p_set_tx_power_0db:
-0540 20400560 call p_rx_low_sens 
-0541 70894bba jam 0xba ,0x894b 
-0542 708955d0 jam 0xd0 ,0x8955 
-0543 708956e0 jam 0xe0 ,0x8956 
-0544 70895788 jam 0x88 ,0x8957 
-0545 7089586c jam 0x6c ,0x8958 
-0546 70895910 jam 0x10 ,0x8959 
-0547 2020294b branch set_tx_power_0db 
+0542 20400562 call p_rx_low_sens 
+0543 70894bba jam 0xba ,0x894b 
+0544 708955d0 jam 0xd0 ,0x8955 
+0545 708956e0 jam 0xe0 ,0x8956 
+0546 70895788 jam 0x88 ,0x8957 
+0547 7089586c jam 0x6c ,0x8958 
+0548 70895910 jam 0x10 ,0x8959 
+0549 2020294b branch set_tx_power_0db 
 
 p_set_tx_power_3db:
-0548 20400565 call p_rx_high_sens 
-0549 70894bba jam 0xba ,0x894b 
-054a 708955d0 jam 0xd0 ,0x8955 
-054b 708956e0 jam 0xe0 ,0x8956 
-054c 70895788 jam 0x88 ,0x8957 
-054d 7089583c jam 0x3c ,0x8958 
-054e 70895910 jam 0x10 ,0x8959 
-054f 2020294f branch set_tx_power_3db 
+054a 20400567 call p_rx_high_sens 
+054b 70894bba jam 0xba ,0x894b 
+054c 708955d0 jam 0xd0 ,0x8955 
+054d 708956e0 jam 0xe0 ,0x8956 
+054e 70895788 jam 0x88 ,0x8957 
+054f 7089583c jam 0x3c ,0x8958 
+0550 70895910 jam 0x10 ,0x8959 
+0551 2020294f branch set_tx_power_3db 
 
 p_set_tx_power_5db:
-0550 20400565 call p_rx_high_sens 
-0551 70894bba jam 0xba ,0x894b 
-0552 708955d0 jam 0xd0 ,0x8955 
-0553 708956e0 jam 0xe0 ,0x8956 
-0554 70895788 jam 0x88 ,0x8957 
-0555 7089583c jam 0x3c ,0x8958 
-0556 70895910 jam 0x10 ,0x8959 
-0557 20202953 branch set_tx_power_5db 
+0552 20400567 call p_rx_high_sens 
+0553 70894bba jam 0xba ,0x894b 
+0554 708955d0 jam 0xd0 ,0x8955 
+0555 708956e0 jam 0xe0 ,0x8956 
+0556 70895788 jam 0x88 ,0x8957 
+0557 7089583c jam 0x3c ,0x8958 
+0558 70895910 jam 0x10 ,0x8959 
+0559 20202953 branch set_tx_power_5db 
 
 p_set_tx_power_f5db:
-0558 20400560 call p_rx_low_sens 
-0559 70894bba jam 0xba ,0x894b 
-055a 708955d0 jam 0xd0 ,0x8955 
-055b 708956c0 jam 0xc0 ,0x8956 
-055c 70895788 jam 0x88 ,0x8957 
-055d 7089586c jam 0x6c ,0x8958 
-055e 70895910 jam 0x10 ,0x8959 
-055f 2020295b branch set_tx_power_f5db 
+055a 20400562 call p_rx_low_sens 
+055b 70894bba jam 0xba ,0x894b 
+055c 708955d0 jam 0xd0 ,0x8955 
+055d 708956c0 jam 0xc0 ,0x8956 
+055e 70895788 jam 0x88 ,0x8957 
+055f 7089586c jam 0x6c ,0x8958 
+0560 70895910 jam 0x10 ,0x8959 
+0561 2020295b branch set_tx_power_f5db 
 
 p_rx_low_sens:
-0560 70894c5b jam 0x5b ,0x894c 
-0561 70894d96 jam 0x96 ,0x894d 
-0562 70894e2c jam 0x2c ,0x894e 
-0563 70894f46 jam 0x46 ,0x894f 
-0564 20600000 rtn 
+0562 70894c5b jam 0x5b ,0x894c 
+0563 70894d96 jam 0x96 ,0x894d 
+0564 70894e2c jam 0x2c ,0x894e 
+0565 70894f46 jam 0x46 ,0x894f 
+0566 20600000 rtn 
 
 p_rx_high_sens:
-0565 70894cfb jam 0xfb ,0x894c 
-0566 70894def jam 0xef ,0x894d 
-0567 70894eec jam 0xec ,0x894e 
-0568 70894f5e jam 0x5e ,0x894f 
-0569 20600000 rtn 
+0567 70894cfb jam 0xfb ,0x894c 
+0568 70894def jam 0xef ,0x894d 
+0569 70894eec jam 0xec ,0x894e 
+056a 70894f5e jam 0x5e ,0x894f 
+056b 20600000 rtn 
 
 p_set_tx_power_pair:
-056a 708956c2 jam 0xc2 ,0x8956 
-056b 708955d0 jam 0xd0 ,0x8955 
-056c 20600000 rtn 
+056c 708956c2 jam 0xc2 ,0x8956 
+056d 708955d0 jam 0xd0 ,0x8955 
+056e 20600000 rtn 
 
 p_shutdown_radio:
-056d 18002a08 force 8 ,radio_ctrl 
-056e 202028fa branch shutdown_radio + 1 
+056f 18002a08 force 8 ,radio_ctrl 
+0570 202028fa branch shutdown_radio + 1 
 
 p_initialize_radio_cont:
-056f 20402978 call initialize_radio_cont + 1 
-0570 70804205 jam clksel_dpll ,core_clksel 
-0571 20600000 rtn 
+0571 20402978 call initialize_radio_cont + 1 
+0572 70804205 jam clksel_dpll ,core_clksel 
+0573 20600000 rtn 
 
 p_g24_timer_check:
-0572 20407fe9 call disable_user 
-0573 680a4be8 fetcht 4 ,mem_24g_tx_btclk 
-0574 1c427e00 copy clkn_bt ,pdata 
-0575 98467c00 isub temp ,null 
-0576 24412d18 ncall g24_timer_timeout ,positive 
-0577 1fe22400 copy pdata ,regb 
-0578 68024be8 fetch 4 ,mem_24g_tx_btclk 
-0579 6808cbec fetcht 1 ,mem_24g_interval 
-057a 98408400 iadd temp ,temp 
-057b 1a427e00 copy regb ,pdata 
-057c 98467c00 isub temp ,null 
-057d 24610000 nrtn positive 
-057e 793ffe1c set0 28 ,pdata 
-057f 60024be8 store 4 ,mem_24g_tx_btclk 
-0580 20207fe7 branch enable_user 
+0574 20407fe9 call disable_user 
+0575 680a4be8 fetcht 4 ,mem_24g_tx_btclk 
+0576 1c427e00 copy clkn_bt ,pdata 
+0577 98467c00 isub temp ,null 
+0578 24412d18 ncall g24_timer_timeout ,positive 
+0579 1fe22400 copy pdata ,regb 
+057a 68024be8 fetch 4 ,mem_24g_tx_btclk 
+057b 6808cbec fetcht 1 ,mem_24g_interval 
+057c 98408400 iadd temp ,temp 
+057d 1a427e00 copy regb ,pdata 
+057e 98467c00 isub temp ,null 
+057f 24610000 nrtn positive 
+0580 793ffe1c set0 28 ,pdata 
+0581 60024be8 store 4 ,mem_24g_tx_btclk 
+0582 20207fe7 branch enable_user 
 
 p_rssi_noise:
-0581 204029bb call save_rssi 
-0582 207a0000 rtn blank 
-0583 6808cc81 fetcht 1 ,mem_rssi_noise_index 
-0584 da200d9e arg mem_rssi_noise_buffer ,rega 
-0585 20400588 call p_rssi_store 
-0586 6008cc81 storet 1 ,mem_rssi_noise_index 
-0587 20600000 rtn 
+0583 204029bb call save_rssi 
+0584 207a0000 rtn blank 
+0585 6808cc81 fetcht 1 ,mem_rssi_noise_index 
+0586 da200d9e arg mem_rssi_noise_buffer ,rega 
+0587 2040058a call p_rssi_store 
+0588 6008cc81 storet 1 ,mem_rssi_noise_index 
+0589 20600000 rtn 
 
 p_rssi_store:
-0588 1a227e00 copy rega ,pdata 
-0589 98408a00 iadd temp ,contw 
-058a 68008018 fetch 1 ,mem_rssi 
-058b e0a08000 istore 1 ,contw 
-058c 18408401 increase 1 ,temp 
-058d 18410407 and_into rssi_buf_len_signal ,temp 
-058e 20600000 rtn 
+058a 1a227e00 copy rega ,pdata 
+058b 98408a00 iadd temp ,contw 
+058c 68008018 fetch 1 ,mem_rssi 
+058d e0a08000 istore 1 ,contw 
+058e 18408401 increase 1 ,temp 
+058f 18410407 and_into rssi_buf_len_signal ,temp 
+0590 20600000 rtn 
 
 p_rssi_average:
-058f d8400000 arg 0 ,temp 
-0590 df200008 arg rssi_buf_len_signal + 1 ,loopcnt 
-0591 1a220c00 copy rega ,contr 
+0591 d8400000 arg 0 ,temp 
+0592 df200008 arg rssi_buf_len_signal + 1 ,loopcnt 
+0593 1a220c00 copy rega ,contr 
 
 p_rssi_average_loop:
-0592 e8c08000 ifetch 1 ,contr 
-0593 98408400 iadd temp ,temp 
-0594 c2000592 loop p_rssi_average_loop 
-0595 18497e00 rshift3 temp ,pdata 
-0596 1fe20400 copy pdata ,temp 
-0597 c6930000 rtnmark0 mark_24g 
-0598 1fe6fc0a div pdata ,10 
-0599 20407f86 call wait_div_end 
-059a 1807fe00 quotient pdata 
-059b 1ff27e00 lshift4 pdata ,pdata 
-059c 18070400 remainder temp 
-059d 98418400 ior temp ,temp 
-059e 20600000 rtn 
-059f 20600000 rtn 
+0594 e8c08000 ifetch 1 ,contr 
+0595 98408400 iadd temp ,temp 
+0596 c2000594 loop p_rssi_average_loop 
+0597 18497e00 rshift3 temp ,pdata 
+0598 1fe20400 copy pdata ,temp 
+0599 c6930000 rtnmark0 mark_24g 
+059a 1fe6fc0a div pdata ,10 
+059b 20407f86 call wait_div_end 
+059c 1807fe00 quotient pdata 
+059d 1ff27e00 lshift4 pdata ,pdata 
+059e 18070400 remainder temp 
+059f 98418400 ior temp ,temp 
+05a0 20600000 rtn 
+05a1 20600000 rtn 
 
 p_g24_update_addr_and_synccrc8:
-05a0 60024bef store 4 ,mem_24g_addr 
+05a2 60024bef store 4 ,mem_24g_addr 
 
 p_g24_syncword_crc8:
-05a1 da200000 arg 0 ,rega 
-05a2 df200004 arg 4 ,loopcnt 
-05a3 d8c04bef arg mem_24g_addr ,contr 
+05a3 da200000 arg 0 ,rega 
+05a4 df200004 arg 4 ,loopcnt 
+05a5 d8c04bef arg mem_24g_addr ,contr 
 
 p_g24_syncword_crc8_loop:
-05a4 e8c08000 ifetch 1 ,contr 
-05a5 9a20a200 iadd rega ,rega 
-05a6 c20005a4 loop p_g24_syncword_crc8_loop 
-05a7 1a227e00 copy rega ,pdata 
-05a8 60014c78 store 2 ,mem_24g_syncword 
-05a9 6800cc78 fetch 1 ,mem_24g_syncword 
-05aa 6808cc79 fetcht 1 ,mem_24g_syncword + 1 
-05ab 9840fe00 iadd temp ,pdata 
-05ac 6000cc7a store 1 ,mem_24g_syncword_crc8 
-05ad 20600000 rtn 
+05a6 e8c08000 ifetch 1 ,contr 
+05a7 9a20a200 iadd rega ,rega 
+05a8 c20005a6 loop p_g24_syncword_crc8_loop 
+05a9 1a227e00 copy rega ,pdata 
+05aa 60014c78 store 2 ,mem_24g_syncword 
+05ab 6800cc78 fetch 1 ,mem_24g_syncword 
+05ac 6808cc79 fetcht 1 ,mem_24g_syncword + 1 
+05ad 9840fe00 iadd temp ,pdata 
+05ae 6000cc7a store 1 ,mem_24g_syncword_crc8 
+05af 20600000 rtn 
 
 p_g24_transmit_prep:
-05ae 6800cbc7 fetch 1 ,mem_24g_datalen 
-05af 1fe0fe02 increase 2 ,pdata 
-05b0 6000cbc9 store 1 ,mem_24g_txlen 
-05b1 6800cbc8 fetch 1 ,mem_24g_data_type 
-05b2 6000cb83 store 1 ,mem_24g_txpayload 
-05b3 6800cbc7 fetch 1 ,mem_24g_datalen 
-05b4 1fe9fe00 lshift3 pdata ,pdata 
-05b5 6808cbc6 fetcht 1 ,mem_24g_pid 
-05b6 18410403 and temp ,0x03 ,temp 
-05b7 18438400 lshift temp ,temp 
-05b8 9841fe00 ior temp ,pdata 
-05b9 6808cc03 fetcht 1 ,mem_24g_no_ack 
-05ba 9840fe00 iadd temp ,pdata 
-05bb e0a08000 istore 1 ,contw 
-05bc 6800cbc7 fetch 1 ,mem_24g_datalen 
-05bd 98007200 iforce loopcnt 
-05be d8c04b63 arg mem_24g_txbuf ,contr 
-05bf 20207f01 branch memcpy 
+05b0 6800cbc7 fetch 1 ,mem_24g_datalen 
+05b1 1fe0fe02 increase 2 ,pdata 
+05b2 6000cbc9 store 1 ,mem_24g_txlen 
+05b3 6800cbc8 fetch 1 ,mem_24g_data_type 
+05b4 6000cb83 store 1 ,mem_24g_txpayload 
+05b5 6800cbc7 fetch 1 ,mem_24g_datalen 
+05b6 1fe9fe00 lshift3 pdata ,pdata 
+05b7 6808cbc6 fetcht 1 ,mem_24g_pid 
+05b8 18410403 and temp ,0x03 ,temp 
+05b9 18438400 lshift temp ,temp 
+05ba 9841fe00 ior temp ,pdata 
+05bb 6808cc03 fetcht 1 ,mem_24g_no_ack 
+05bc 9840fe00 iadd temp ,pdata 
+05bd e0a08000 istore 1 ,contw 
+05be 6800cbc7 fetch 1 ,mem_24g_datalen 
+05bf 98007200 iforce loopcnt 
+05c0 d8c04b63 arg mem_24g_txbuf ,contr 
+05c1 20207f01 branch memcpy 
 
 p_g24_ch:
-05c0 6808cbd2 fetcht 1 ,mem_24g_current_ch_number 
-05c1 204005c4 call p_g24_ch_map_size 
-05c2 6008cbd2 storet 1 ,mem_24g_current_ch_number 
-05c3 20600000 rtn 
+05c2 6808cbd2 fetcht 1 ,mem_24g_current_ch_number 
+05c3 204005c6 call p_g24_ch_map_size 
+05c4 6008cbd2 storet 1 ,mem_24g_current_ch_number 
+05c5 20600000 rtn 
 
 p_g24_ch_map_size:
-05c4 204005c8 call p_g24_ch_calc 
-05c5 18408401 increase 1 ,temp 
-05c6 18410403 and_into 3 ,temp 
-05c7 20600000 rtn 
+05c6 204005ca call p_g24_ch_calc 
+05c7 18408401 increase 1 ,temp 
+05c8 18410403 and_into 3 ,temp 
+05c9 20600000 rtn 
 
 p_g24_ch_calc:
-05c8 6800cbef fetch 1 ,mem_24g_addr 
-05c9 1fe17e03 and_into 0x03 ,pdata 
-05ca 1fefa204 mul32 pdata ,4 ,rega 
-05cb 58004bd8 setarg mem_24g_ch_map1 
-05cc 9a20fe00 iadd rega ,pdata 
-05cd 98408c00 iadd temp ,contr 
-05ce e8c08000 ifetch 1 ,contr 
-05cf 6000cbd1 store 1 ,mem_24g_ch 
-05d0 20600000 rtn 
+05ca 6800cbef fetch 1 ,mem_24g_addr 
+05cb 1fe17e03 and_into 0x03 ,pdata 
+05cc 1fefa204 mul32 pdata ,4 ,rega 
+05cd 58004bd8 setarg mem_24g_ch_map1 
+05ce 9a20fe00 iadd rega ,pdata 
+05cf 98408c00 iadd temp ,contr 
+05d0 e8c08000 ifetch 1 ,contr 
+05d1 6000cbd1 store 1 ,mem_24g_ch 
+05d2 20600000 rtn 
 
 p_g24_prep:
-05d1 7844fc00 disable enable_crc 
-05d2 7843fc00 disable enable_white 
-05d3 58555555 setarg 0x555555 
-05d4 98001e00 iforce crc24_init 
-05d5 6800cbd1 fetch 1 ,mem_24g_ch 
-05d6 1fed8400 reverse pdata ,temp 
-05d7 79200401 set1 1 ,temp 
-05d8 18431c00 rshift temp ,white_init 
-05d9 20600000 rtn 
+05d3 7844fc00 disable enable_crc 
+05d4 7843fc00 disable enable_white 
+05d5 58555555 setarg 0x555555 
+05d6 98001e00 iforce crc24_init 
+05d7 6800cbd1 fetch 1 ,mem_24g_ch 
+05d8 1fed8400 reverse pdata ,temp 
+05d9 79200401 set1 1 ,temp 
+05da 18431c00 rshift temp ,white_init 
+05db 20600000 rtn 
 
 p_g24_receive_packet:
-05da 204053c4 call le_enable 
-05db 68024bef fetch 4 ,mem_24g_addr 
-05dc 98001200 iforce access 
-05dd 20402918 call set_sync_on 
-05de 6808cbd1 fetcht 1 ,mem_24g_ch 
-05df 2040291f call set_freq_rx 
-05e0 58000500 setarg param_pll_setup 
-05e1 20402a8f call sleep 
-05e2 20402924 call rf_rx_enable 
+05dc 204053c4 call le_enable 
+05dd 68024bef fetch 4 ,mem_24g_addr 
+05de 98001200 iforce access 
+05df 20402918 call set_sync_on 
+05e0 6808cbd1 fetcht 1 ,mem_24g_ch 
+05e1 2040291f call set_freq_rx 
+05e2 58000500 setarg param_pll_setup 
+05e3 20402a8f call sleep 
+05e4 20402924 call rf_rx_enable 
 
 p_g24_receive_rxon:
-05e3 204005d1 call p_g24_prep 
-05e4 7857fc00 disable user3 
-05e5 7826fc00 enable decode_fec0 
-05e6 7830fc00 enable is_rx 
-05e7 78507c00 disable is_tx 
-05e8 78287c00 enable swfine 
-05e9 68014bca fetch 2 ,mem_24g_rx_window 
-05ea 98003600 iforce stop_watch 
-05eb 37c18400 correlate null ,timeout 
-05ec 242c0624 nbranch p_g24_sync_timeout ,sync 
-05ed 7846fc00 disable decode_fec0 
-05ee 7825fc00 enable decode_fec1 
-05ef 7823fc00 enable enable_white 
-05f0 7824fc00 enable enable_crc 
-05f1 2040061d call p_g24_receive_byte 
-05f2 6000cc7b store 1 ,mem_24g_get_syncword_crc8 
-05f3 6808cc7a fetcht 1 ,mem_24g_syncword_crc8 
-05f4 98467c00 isub temp ,null 
-05f5 24228620 nbranch p_g24_end_of_packet ,zero 
-05f6 2040061d call p_g24_receive_byte 
-05f7 6000cb41 store 1 ,mem_24g_rxbuf 
-05f8 6800cc0d fetch 1 ,mem_24g_mode 
-05f9 1fe67c02 sub pdata ,rx_24g ,null 
-05fa 202285ff branch p_g24_receive_skip ,zero 
-05fb 6800cb41 fetch 1 ,mem_24g_rxbuf 
-05fc 6808cbc8 fetcht 1 ,mem_24g_data_type 
-05fd a8400e00 icompare bits_data ,temp 
-05fe 24208620 nbranch p_g24_end_of_packet ,true 
+05e5 204005d3 call p_g24_prep 
+05e6 7857fc00 disable user3 
+05e7 7826fc00 enable decode_fec0 
+05e8 7830fc00 enable is_rx 
+05e9 78507c00 disable is_tx 
+05ea 78287c00 enable swfine 
+05eb 68014bca fetch 2 ,mem_24g_rx_window 
+05ec 98003600 iforce stop_watch 
+05ed 37c18400 correlate null ,timeout 
+05ee 242c0626 nbranch p_g24_sync_timeout ,sync 
+05ef 7846fc00 disable decode_fec0 
+05f0 7825fc00 enable decode_fec1 
+05f1 7823fc00 enable enable_white 
+05f2 7824fc00 enable enable_crc 
+05f3 2040061f call p_g24_receive_byte 
+05f4 6000cc7b store 1 ,mem_24g_get_syncword_crc8 
+05f5 6808cc7a fetcht 1 ,mem_24g_syncword_crc8 
+05f6 98467c00 isub temp ,null 
+05f7 24228622 nbranch p_g24_end_of_packet ,zero 
+05f8 2040061f call p_g24_receive_byte 
+05f9 6000cb41 store 1 ,mem_24g_rxbuf 
+05fa 6800cc0d fetch 1 ,mem_24g_mode 
+05fb 1fe67c02 sub pdata ,rx_24g ,null 
+05fc 20228601 branch p_g24_receive_skip ,zero 
+05fd 6800cb41 fetch 1 ,mem_24g_rxbuf 
+05fe 6808cbc8 fetcht 1 ,mem_24g_data_type 
+05ff a8400e00 icompare bits_data ,temp 
+0600 24208622 nbranch p_g24_end_of_packet ,true 
 
 p_g24_receive_skip:
-05ff 2040061d call p_g24_receive_byte 
-0600 e0a08000 istore 1 ,contw 
-0601 1fe97e00 rshift3 pdata ,pdata 
-0602 1fe1721f and pdata ,0x1f ,loopcnt 
-0603 20228607 branch p_g24rx_nopayload ,zero 
+0601 2040061f call p_g24_receive_byte 
+0602 e0a08000 istore 1 ,contw 
+0603 1fe97e00 rshift3 pdata ,pdata 
+0604 1fe1721f and pdata ,0x1f ,loopcnt 
+0605 20228609 branch p_g24rx_nopayload ,zero 
 
 p_g24rx_loop:
-0604 2040061d call p_g24_receive_byte 
-0605 e0a08000 istore 1 ,contw 
-0606 c2000604 loop p_g24rx_loop 
+0606 2040061f call p_g24_receive_byte 
+0607 e0a08000 istore 1 ,contw 
+0608 c2000606 loop p_g24rx_loop 
 
 p_g24rx_nopayload:
-0607 18a22200 copy contw ,rega 
-0608 2040061d call p_g24_receive_byte 
-0609 6000cd02 store 1 ,mem_rssi_hex_received 
-060a 1a220a00 copy rega ,contw 
-060b 09800018 parse demod ,bucket ,24 
-060c 78287c00 enable swfine 
-060d db600664 arg param_sifs ,stop_watch 
-060e 1fef7e00 rshift32 pdata ,pdata 
-060f 1ff17e00 rshift16 pdata ,pdata 
-0610 e0a18000 istore 3 ,contw 
-0611 7845fc00 disable decode_fec1 
-0612 20230620 branch p_g24_end_of_packet ,crc_failed 
-0613 7837fc00 enable user3 
-0614 68008017 fetch 1 ,mem_last_freq 
-0615 1fe0a200 add pdata ,0 ,rega 
-0616 20402981 call rf_write_freq 
-0617 7846fc00 disable decode_fec0 
-0618 20402918 call set_sync_on 
-0619 6800cd02 fetch 1 ,mem_rssi_hex_received 
-061a 1fe22200 copy pdata ,rega 
-061b 20400016 call p_rssi_signal 
-061c 20600000 rtn 
+0609 18a22200 copy contw ,rega 
+060a 2040061f call p_g24_receive_byte 
+060b 6000cd02 store 1 ,mem_rssi_hex_received 
+060c 1a220a00 copy rega ,contw 
+060d 09800018 parse demod ,bucket ,24 
+060e 78287c00 enable swfine 
+060f db600664 arg param_sifs ,stop_watch 
+0610 1fef7e00 rshift32 pdata ,pdata 
+0611 1ff17e00 rshift16 pdata ,pdata 
+0612 e0a18000 istore 3 ,contw 
+0613 7845fc00 disable decode_fec1 
+0614 20230622 branch p_g24_end_of_packet ,crc_failed 
+0615 7837fc00 enable user3 
+0616 68008017 fetch 1 ,mem_last_freq 
+0617 1fe0a200 add pdata ,0 ,rega 
+0618 20402981 call rf_write_freq 
+0619 7846fc00 disable decode_fec0 
+061a 20402918 call set_sync_on 
+061b 6800cd02 fetch 1 ,mem_rssi_hex_received 
+061c 1fe22200 copy pdata ,rega 
+061d 20400016 call p_rssi_signal 
+061e 20600000 rtn 
 
 p_g24_receive_byte:
-061d 09800008 parse demod ,bucket ,8 
-061e 19897e00 rshift3 pwindow ,pdata 
-061f 20600000 rtn 
+061f 09800008 parse demod ,bucket ,8 
+0620 19897e00 rshift3 pwindow ,pdata 
+0621 20600000 rtn 
 
 p_g24_end_of_packet:
-0620 784dfc00 disable encode_fec1 
-0621 7845fc00 disable decode_fec1 
-0622 2040264d call end_of_packet 
-0623 20600000 rtn 
+0622 784dfc00 disable encode_fec1 
+0623 7845fc00 disable decode_fec1 
+0624 2040264d call end_of_packet 
+0625 20600000 rtn 
 
 p_g24_sync_timeout:
-0624 20200620 branch p_g24_end_of_packet 
+0626 20200622 branch p_g24_end_of_packet 
 
 p_g24_set_freq_tx:
-0625 20402918 call set_sync_on 
-0626 6808cbd1 fetcht 1 ,mem_24g_ch 
-0627 20202933 branch set_freq_tx 
+0627 20402918 call set_sync_on 
+0628 6808cbd1 fetcht 1 ,mem_24g_ch 
+0629 20202933 branch set_freq_tx 
 
 p_g24_transmit:
-0628 204053c4 call le_enable 
-0629 68024bef fetch 4 ,mem_24g_addr 
-062a 98001200 iforce access 
-062b 204005d1 call p_g24_prep 
-062c 20400625 call p_g24_set_freq_tx 
-062d 79202a00 set1 txgfsk ,radio_ctrl 
-062e 782efc00 enable encode_fec0 
-062f 78307c00 enable is_tx 
-0630 7850fc00 disable is_rx 
-0631 19317e00 rshift16 access ,pdata 
-0632 1fecfe00 rshift8 pdata ,pdata 
-0633 1ff1fe00 rshift4 pdata ,pdata 
-0634 08008628 inject mod ,40 
-0635 784efc00 disable encode_fec0 
-0636 782dfc00 enable encode_fec1 
-0637 7823fc00 enable enable_white 
-0638 7824fc00 enable enable_crc 
-0639 6800cc7a fetch 1 ,mem_24g_syncword_crc8 
-063a 08008608 inject mod ,8 
-063b 6800cbc9 fetch 1 ,mem_24g_txlen 
-063c 98007200 iforce loopcnt 
-063d d8c04b83 arg mem_24g_txpayload ,contr 
+062a 204053c4 call le_enable 
+062b 68024bef fetch 4 ,mem_24g_addr 
+062c 98001200 iforce access 
+062d 204005d3 call p_g24_prep 
+062e 20400627 call p_g24_set_freq_tx 
+062f 79202a00 set1 txgfsk ,radio_ctrl 
+0630 782efc00 enable encode_fec0 
+0631 78307c00 enable is_tx 
+0632 7850fc00 disable is_rx 
+0633 19317e00 rshift16 access ,pdata 
+0634 1fecfe00 rshift8 pdata ,pdata 
+0635 1ff1fe00 rshift4 pdata ,pdata 
+0636 08008628 inject mod ,40 
+0637 784efc00 disable encode_fec0 
+0638 782dfc00 enable encode_fec1 
+0639 7823fc00 enable enable_white 
+063a 7824fc00 enable enable_crc 
+063b 6800cc7a fetch 1 ,mem_24g_syncword_crc8 
+063c 08008608 inject mod ,8 
+063d 6800cbc9 fetch 1 ,mem_24g_txlen 
+063e 98007200 iforce loopcnt 
+063f d8c04b83 arg mem_24g_txpayload ,contr 
 
 p_g24tr_loop:
-063e e8c08000 ifetch 1 ,contr 
-063f 08008608 inject mod ,8 
-0640 c200063e loop p_g24tr_loop 
-0641 78247c00 enable enable_parity 
-0642 08008618 inject mod ,24 
-0643 78447c00 disable enable_parity 
-0644 37d38200 until null ,tx_clear 
-0645 20000064 nop 100 
-0646 784efc00 disable encode_fec0 
-0647 784dfc00 disable encode_fec1 
-0648 20600000 rtn 
+0640 e8c08000 ifetch 1 ,contr 
+0641 08008608 inject mod ,8 
+0642 c2000640 loop p_g24tr_loop 
+0643 78247c00 enable enable_parity 
+0644 08008618 inject mod ,24 
+0645 78447c00 disable enable_parity 
+0646 37d38200 until null ,tx_clear 
+0647 20000064 nop 100 
+0648 784efc00 disable encode_fec0 
+0649 784dfc00 disable encode_fec1 
+064a 20600000 rtn 
 
 p_drawing_optima_init:
-0649 df200005 arg 5 ,loopcnt 
-064a d8a04b26 arg mem_mouse_asm_flag ,contw 
-064b 20207ed4 branch clear_mem 
+064b df200005 arg 5 ,loopcnt 
+064c d8a04b26 arg mem_mouse_asm_flag ,contw 
+064d 20207ed4 branch clear_mem 
 
 p_drawing_optima:
-064c 6802469b fetch 4 ,mem_mouse_x 
-064d 207a0000 rtn blank 
-064e 2040069d call p_data_abs_check 
-064f 58000006 setarg 0x06 
-0650 20400690 call p_data_greater_than_check 
-0651 58000003 setarg 0x03 
-0652 20400696 call p_data_less_than_check 
-0653 6800cb26 fetch 1 ,mem_mouse_asm_flag 
-0654 c0008656 beq 1 ,p_drawing_optima_modify 
-0655 20200649 branch p_drawing_optima_init 
+064e 6802469b fetch 4 ,mem_mouse_x 
+064f 207a0000 rtn blank 
+0650 2040069f call p_data_abs_check 
+0651 58000006 setarg 0x06 
+0652 20400692 call p_data_greater_than_check 
+0653 58000003 setarg 0x03 
+0654 20400698 call p_data_less_than_check 
+0655 6800cb26 fetch 1 ,mem_mouse_asm_flag 
+0656 c0008658 beq 1 ,p_drawing_optima_modify 
+0657 2020064b branch p_drawing_optima_init 
 
 p_drawing_optima_modify:
-0656 68014b27 fetch 2 ,mem_mouse_x_pre 
-0657 600111c0 store 2 ,mem_data_pre 
-0658 6801469b fetch 2 ,mem_mouse_x 
-0659 600111c2 store 2 ,mem_data_current 
-065a 20400669 call p_drawing_optima_data 
-065b 680111c0 fetch 2 ,mem_data_pre 
-065c 60014b27 store 2 ,mem_mouse_x_pre 
-065d 680111c2 fetch 2 ,mem_data_current 
-065e 6001469b store 2 ,mem_mouse_x 
-065f 68014b29 fetch 2 ,mem_mouse_y_pre 
-0660 600111c0 store 2 ,mem_data_pre 
-0661 6801469d fetch 2 ,mem_mouse_y 
-0662 600111c2 store 2 ,mem_data_current 
-0663 20400669 call p_drawing_optima_data 
-0664 680111c0 fetch 2 ,mem_data_pre 
-0665 60014b29 store 2 ,mem_mouse_y_pre 
-0666 680111c2 fetch 2 ,mem_data_current 
-0667 6001469d store 2 ,mem_mouse_y 
-0668 20600000 rtn 
+0658 68014b27 fetch 2 ,mem_mouse_x_pre 
+0659 600111c0 store 2 ,mem_data_pre 
+065a 6801469b fetch 2 ,mem_mouse_x 
+065b 600111c2 store 2 ,mem_data_current 
+065c 2040066b call p_drawing_optima_data 
+065d 680111c0 fetch 2 ,mem_data_pre 
+065e 60014b27 store 2 ,mem_mouse_x_pre 
+065f 680111c2 fetch 2 ,mem_data_current 
+0660 6001469b store 2 ,mem_mouse_x 
+0661 68014b29 fetch 2 ,mem_mouse_y_pre 
+0662 600111c0 store 2 ,mem_data_pre 
+0663 6801469d fetch 2 ,mem_mouse_y 
+0664 600111c2 store 2 ,mem_data_current 
+0665 2040066b call p_drawing_optima_data 
+0666 680111c0 fetch 2 ,mem_data_pre 
+0667 60014b29 store 2 ,mem_mouse_y_pre 
+0668 680111c2 fetch 2 ,mem_data_current 
+0669 6001469d store 2 ,mem_mouse_y 
+066a 20600000 rtn 
 
 p_drawing_optima_data:
-0669 680111c0 fetch 2 ,mem_data_pre 
-066a 680911c2 fetcht 2 ,mem_data_current 
-066b 9840fe00 iadd temp ,pdata 
-066c 600191c4 store 3 ,mem_data_sum 
-066d 2feffe10 isolate1 16 ,pdata 
-066e 20208676 branch p_data_sum_overflow ,true 
-066f 680091c5 fetch 1 ,mem_data_sum + 1 
-0670 c07f867d beq 0xff ,p_data_sum_n 
-0671 680091c4 fetch 1 ,mem_data_sum 
+066b 680111c0 fetch 2 ,mem_data_pre 
+066c 680911c2 fetcht 2 ,mem_data_current 
+066d 9840fe00 iadd temp ,pdata 
+066e 600191c4 store 3 ,mem_data_sum 
+066f 2feffe10 isolate1 16 ,pdata 
+0670 20208678 branch p_data_sum_overflow ,true 
+0671 680091c5 fetch 1 ,mem_data_sum + 1 
+0672 c07f867f beq 0xff ,p_data_sum_n 
+0673 680091c4 fetch 1 ,mem_data_sum 
 
 p_data_store_pre:
-0672 1fe37e00 rshift pdata ,pdata 
-0673 600111c0 store 2 ,mem_data_pre 
-0674 600111c2 store 2 ,mem_data_current 
-0675 20600000 rtn 
+0674 1fe37e00 rshift pdata ,pdata 
+0675 600111c0 store 2 ,mem_data_pre 
+0676 600111c2 store 2 ,mem_data_current 
+0677 20600000 rtn 
 
 p_data_sum_overflow:
-0676 680091c5 fetch 1 ,mem_data_sum + 1 
-0677 c000067a beq 0 ,p_data_sum_overflow_p 
-0678 680191c4 fetch 3 ,mem_data_sum 
-0679 20200672 branch p_data_store_pre 
+0678 680091c5 fetch 1 ,mem_data_sum + 1 
+0679 c000067c beq 0 ,p_data_sum_overflow_p 
+067a 680191c4 fetch 3 ,mem_data_sum 
+067b 20200674 branch p_data_store_pre 
 
 p_data_sum_overflow_p:
-067a 7011c600 jam 0 ,mem_data_sum + 2 
-067b 680091c4 fetch 1 ,mem_data_sum 
-067c 20200672 branch p_data_store_pre 
+067c 7011c600 jam 0 ,mem_data_sum + 2 
+067d 680091c4 fetch 1 ,mem_data_sum 
+067e 20200674 branch p_data_store_pre 
 
 p_data_sum_n:
-067d 680091c4 fetch 1 ,mem_data_sum 
-067e 20400688 call p_pdata_get_half 
-067f 600091c0 store 1 ,mem_data_pre 
-0680 600091c2 store 1 ,mem_data_current 
-0681 203a0686 branch p_data_zero ,blank 
-0682 580000ff setarg 0xff 
+067f 680091c4 fetch 1 ,mem_data_sum 
+0680 2040068a call p_pdata_get_half 
+0681 600091c0 store 1 ,mem_data_pre 
+0682 600091c2 store 1 ,mem_data_current 
+0683 203a0688 branch p_data_zero ,blank 
+0684 580000ff setarg 0xff 
 
 p_data_set_direction:
-0683 600091c1 store 1 ,mem_data_pre + 1 
-0684 600091c3 store 1 ,mem_data_current + 1 
-0685 20600000 rtn 
+0685 600091c1 store 1 ,mem_data_pre + 1 
+0686 600091c3 store 1 ,mem_data_current + 1 
+0687 20600000 rtn 
 
 p_data_zero:
-0686 58000000 setarg 0 
-0687 20200683 branch p_data_set_direction 
+0688 58000000 setarg 0 
+0689 20200685 branch p_data_set_direction 
 
 p_pdata_get_half:
-0688 1fe67e00 sub pdata ,0 ,pdata 
-0689 60008aae store 1 ,mem_rega 
-068a 68008aae fetch 1 ,mem_rega 
-068b 1fe37e00 rshift pdata ,pdata 
-068c 60008aae store 1 ,mem_rega 
-068d 68008aae fetch 1 ,mem_rega 
-068e 1fe67e00 sub pdata ,0 ,pdata 
-068f 20600000 rtn 
+068a 1fe67e00 sub pdata ,0 ,pdata 
+068b 60008aae store 1 ,mem_rega 
+068c 68008aae fetch 1 ,mem_rega 
+068d 1fe37e00 rshift pdata ,pdata 
+068e 60008aae store 1 ,mem_rega 
+068f 68008aae fetch 1 ,mem_rega 
+0690 1fe67e00 sub pdata ,0 ,pdata 
+0691 20600000 rtn 
 
 p_data_greater_than_check:
-0690 9a267c00 isub rega ,null 
-0691 2421069b nbranch p_enable_asm ,positive 
-0692 9a467c00 isub regb ,null 
-0693 2421069b nbranch p_enable_asm ,positive 
+0692 9a267c00 isub rega ,null 
+0693 2421069d nbranch p_enable_asm ,positive 
+0694 9a467c00 isub regb ,null 
+0695 2421069d nbranch p_enable_asm ,positive 
 
 p_disable_asm:
-0694 704b2600 jam 0 ,mem_mouse_asm_flag 
-0695 20600000 rtn 
+0696 704b2600 jam 0 ,mem_mouse_asm_flag 
+0697 20600000 rtn 
 
 p_data_less_than_check:
-0696 9a267c00 isub rega ,null 
-0697 24610000 nrtn positive 
-0698 9a467c00 isub regb ,null 
+0698 9a267c00 isub rega ,null 
 0699 24610000 nrtn positive 
-069a 20200694 branch p_disable_asm 
+069a 9a467c00 isub regb ,null 
+069b 24610000 nrtn positive 
+069c 20200696 branch p_disable_asm 
 
 p_enable_asm:
-069b 704b2601 jam 1 ,mem_mouse_asm_flag 
-069c 20600000 rtn 
+069d 704b2601 jam 1 ,mem_mouse_asm_flag 
+069e 20600000 rtn 
 
 p_data_abs_check:
-069d 6801469b fetch 2 ,mem_mouse_x 
-069e 600111c2 store 2 ,mem_data_current 
-069f 204006a6 call p_data_abs 
-06a0 1fe22200 copy pdata ,rega 
-06a1 6801469d fetch 2 ,mem_mouse_y 
-06a2 600111c2 store 2 ,mem_data_current 
-06a3 204006a6 call p_data_abs 
-06a4 1fe22400 copy pdata ,regb 
-06a5 20600000 rtn 
+069f 6801469b fetch 2 ,mem_mouse_x 
+06a0 600111c2 store 2 ,mem_data_current 
+06a1 204006a8 call p_data_abs 
+06a2 1fe22200 copy pdata ,rega 
+06a3 6801469d fetch 2 ,mem_mouse_y 
+06a4 600111c2 store 2 ,mem_data_current 
+06a5 204006a8 call p_data_abs 
+06a6 1fe22400 copy pdata ,regb 
+06a7 20600000 rtn 
 
 p_data_abs:
-06a6 680091c3 fetch 1 ,mem_data_current + 1 
-06a7 c07f86ab beq 0xff ,p_data_reversal 
-06a8 680091c2 fetch 1 ,mem_data_current 
+06a8 680091c3 fetch 1 ,mem_data_current + 1 
+06a9 c07f86ad beq 0xff ,p_data_reversal 
+06aa 680091c2 fetch 1 ,mem_data_current 
 
 p_data_abs_store:
-06a9 1fe17eff and_into 0xff ,pdata 
-06aa 20600000 rtn 
+06ab 1fe17eff and_into 0xff ,pdata 
+06ac 20600000 rtn 
 
 p_data_reversal:
-06ab 680111c2 fetch 2 ,mem_data_current 
-06ac 1fe67e00 sub pdata ,0 ,pdata 
-06ad 202006a9 branch p_data_abs_store 
+06ad 680111c2 fetch 2 ,mem_data_current 
+06ae 1fe67e00 sub pdata ,0 ,pdata 
+06af 202006ab branch p_data_abs_store 
 
 p_mouse_data_init:
-06ae 7047a607 jam 7 ,mem_mouse_data_queue 
-06af 7047a704 jam 4 ,mem_mouse_data_queue + 1 
-06b0 580047a6 setarg mem_mouse_data_queue 
-06b1 60014218 store 2 ,mem_queue_ptr 
-06b2 20207e38 branch queue_init 
+06b0 7047a607 jam 7 ,mem_mouse_data_queue 
+06b1 7047a704 jam 4 ,mem_mouse_data_queue + 1 
+06b2 580047a6 setarg mem_mouse_data_queue 
+06b3 60014218 store 2 ,mem_queue_ptr 
+06b4 20207e38 branch queue_init 
 
 p_mouse_data_push:
-06b3 da20469a arg mem_mouse_key ,rega 
-06b4 20407e3d call queue_push 
-06b5 205406b7 call p_mouse_queue_increase ,user 
-06b6 20600000 rtn 
+06b5 da20469a arg mem_mouse_key ,rega 
+06b6 20407e3d call queue_push 
+06b7 205406b9 call p_mouse_queue_increase ,user 
+06b8 20600000 rtn 
 
 p_mouse_queue_increase:
-06b7 6800c7c7 fetch 1 ,mem_mouse_data_queue_num 
-06b8 1fe0fe01 increase 1 ,pdata 
-06b9 6000c7c7 store 1 ,mem_mouse_data_queue_num 
-06ba 20600000 rtn 
+06b9 6800c7c7 fetch 1 ,mem_mouse_data_queue_num 
+06ba 1fe0fe01 increase 1 ,pdata 
+06bb 6000c7c7 store 1 ,mem_mouse_data_queue_num 
+06bc 20600000 rtn 
 
 p_mouse_data_pull:
-06bb da20469a arg mem_mouse_key ,rega 
-06bc 20407e54 call queue_pop 
-06bd 203406bf branch p_mouse_fill_data_le ,user 
-06be 20600000 rtn 
+06bd da20469a arg mem_mouse_key ,rega 
+06be 20407e54 call queue_pop 
+06bf 203406c1 branch p_mouse_fill_data_le ,user 
+06c0 20600000 rtn 
 
 p_mouse_fill_data_le:
-06bf 20405652 call le_clear_md 
-06c0 6800c7c7 fetch 1 ,mem_mouse_data_queue_num 
-06c1 1fe67c01 sub pdata ,1 ,null 
-06c2 24415650 ncall le_set_md ,positive 
-06c3 6800c7c7 fetch 1 ,mem_mouse_data_queue_num 
-06c4 207a0000 rtn blank 
-06c5 1fe0ffff increase -1 ,pdata 
-06c6 6000c7c7 store 1 ,mem_mouse_data_queue_num 
-06c7 20203f90 branch mouse_fill_data_le 
+06c1 20405652 call le_clear_md 
+06c2 6800c7c7 fetch 1 ,mem_mouse_data_queue_num 
+06c3 1fe67c01 sub pdata ,1 ,null 
+06c4 24415650 ncall le_set_md ,positive 
+06c5 6800c7c7 fetch 1 ,mem_mouse_data_queue_num 
+06c6 207a0000 rtn blank 
+06c7 1fe0ffff increase -1 ,pdata 
+06c8 6000c7c7 store 1 ,mem_mouse_data_queue_num 
+06c9 20203f90 branch mouse_fill_data_le 
 org 0x2000
 
 start:
Index: program/patch.prog
===================================================================
--- /branch/mouse_project/YJX_Project/YJX_Only24g/main/program/patch.prog	(revision 1205)
+++ /branch/mouse_project/YJX_Project/YJX_Only24g/main/program/patch.prog	(working copy)
@@ -171,7 +171,7 @@
 	call p_g24_lpm_wait
 	nrtn user
 	call p_clear_wake
-	setarg 63000
+	setarg 64500
 	branch lpm_dispatch_sleep
 
 
@@ -2609,6 +2609,9 @@
 	branch p_g24_transmit_abandon
 
 p_g24_start_24g_mode:
+	call p_g24_factory_check
+	branch p_g24_auto_pair_start,user
+
 	set0 mark_24g,mark
 	jam with_ack_24g,mem_24g_no_ack	//tx ack	
 	call p_g24_ch_syncword_crc8_init
