Index: format/app_mouse.format
===================================================================
--- /YC1308AC/branch/mouse_project/AiTanSi_Project/Only2.4G_PBPair/format/app_mouse.format	(revision 1403)
+++ /YC1308AC/branch/mouse_project/AiTanSi_Project/Only2.4G_PBPair/format/app_mouse.format	(working copy)
@@ -370,6 +370,7 @@
 1 mem_24g_exit_retransmit
 1 mem_24g_low_power_led_off
 1 mem_mouse_pair_key_flag
+1 mem_mouse_power_on_led_flag
 )
 
 
Index: output/eeprom.dat
===================================================================
--- /YC1308AC/branch/mouse_project/AiTanSi_Project/Only2.4G_PBPair/output/eeprom.dat	(revision 1561)
+++ /YC1308AC/branch/mouse_project/AiTanSi_Project/Only2.4G_PBPair/output/eeprom.dat	(working copy)
@@ -2,7 +2,7 @@
 02
 aa
 55
-ce
+e2
 16
 c2
 84
@@ -63,11 +63,11 @@
 c0
 67
 03
-a5
+aa
 c0
 67
 84
-93
+98
 c0
 68
 02
@@ -75,11 +75,11 @@
 c0
 68
 83
-e3
+e8
 c0
 6a
 03
-c1
+c6
 c0
 6b
 01
@@ -91,19 +91,19 @@
 c0
 6d
 03
-40
+45
 c0
 6d
 83
-49
+4e
 c0
 6f
 04
-56
+5b
 c0
 74
 03
-57
+5c
 20
 20
 13
@@ -119,15 +119,15 @@
 c0
 43
 83
-53
+58
 c0
 50
 83
-6b
+70
 c0
 60
 03
-75
+7a
 c0
 6e
 82
@@ -147,7 +147,7 @@
 c0
 76
 03
-9c
+a1
 20
 20
 13
@@ -571,7 +571,7 @@
 20
 40
 03
-32
+37
 20
 75
 80
@@ -603,7 +603,7 @@
 20
 40
 03
-d3
+d8
 20
 20
 3b
@@ -843,7 +843,7 @@
 c0
 03
 84
-ae
+b3
 20
 40
 3d
@@ -1167,7 +1167,7 @@
 20
 20
 03
-d3
+d8
 20
 40
 26
@@ -1335,7 +1335,7 @@
 20
 40
 03
-2e
+33
 6f
 e0
 cc
@@ -1419,11 +1419,11 @@
 20
 40
 03
-cc
+d1
 20
 40
 03
-d3
+d8
 20
 20
 3e
@@ -1715,7 +1715,7 @@
 20
 40
 03
-d3
+d8
 20
 20
 01
@@ -2159,7 +2159,7 @@
 20
 40
 03
-49
+4e
 70
 48
 f9
@@ -2731,18 +2731,18 @@
 1f
 e6
 7c
-0b
+0a
 24
 41
 49
 6e
 c0
-01
-49
+00
+c9
 76
 c0
 03
-c9
+49
 70
 20
 60
@@ -2803,7 +2803,7 @@
 20
 40
 03
-27
+2c
 20
 40
 44
@@ -2819,7 +2819,7 @@
 20
 40
 03
-20
+23
 20
 40
 45
@@ -2831,7 +2831,7 @@
 20
 40
 03
-35
+3a
 20
 40
 45
@@ -2867,7 +2867,7 @@
 20
 40
 03
-38
+3d
 20
 20
 02
@@ -3079,7 +3079,7 @@
 20
 40
 03
-2a
+2f
 24
 20
 83
@@ -3194,20 +3194,32 @@
 8a
 70
 4c
-40
-01
-70
-4c
 44
-06
+0a
 20
-60
+20
+03
+1f
+6f
+e0
+cc
+46
+c1
+80
 00
 00
+70
+4c
+46
+01
+20
+20
+03
+26
 da
 40
 03
-23
+26
 da
 60
 4c
@@ -3216,6 +3228,14 @@
 20
 31
 8a
+70
+4c
+40
+01
+70
+48
+f8
+00
 6f
 e0
 c9
@@ -3235,7 +3255,7 @@
 20
 40
 03
-2a
+2f
 24
 20
 83
@@ -3275,7 +3295,7 @@
 20
 40
 03
-27
+2c
 d8
 e0
 00
@@ -3315,7 +3335,7 @@
 da
 40
 03
-3d
+42
 20
 20
 31
@@ -3451,7 +3471,7 @@
 c0
 04
 83
-5f
+64
 20
 20
 4d
@@ -3551,7 +3571,7 @@
 c0
 02
 03
-78
+7d
 20
 20
 19
@@ -3567,11 +3587,11 @@
 c0
 05
 03
-7d
+82
 c0
 09
 03
-8c
+91
 20
 20
 1c
@@ -3599,7 +3619,7 @@
 c2
 81
 83
-87
+8c
 6f
 e1
 44
@@ -3627,11 +3647,11 @@
 24
 22
 83
-83
+88
 24
 34
 03
-83
+88
 20
 20
 1e
@@ -3767,7 +3787,7 @@
 20
 40
 03
-dc
+e1
 6f
 e0
 c8
@@ -3783,15 +3803,15 @@
 24
 34
 03
-b7
+bc
 20
 40
 03
-b4
+b9
 20
 40
 03
-be
+c3
 20
 20
 45
@@ -3831,7 +3851,7 @@
 70
 4c
 42
-6a
+59
 20
 60
 00
@@ -3859,7 +3879,7 @@
 c0
 05
 83
-c8
+cd
 20
 40
 42
@@ -3879,7 +3899,7 @@
 20
 40
 03
-cf
+d4
 da
 60
 4b
@@ -3899,7 +3919,7 @@
 c0
 05
 83
-cf
+d4
 20
 20
 42
@@ -3939,7 +3959,7 @@
 c0
 05
 83
-da
+df
 58
 00
 08
@@ -3959,7 +3979,7 @@
 20
 40
 04
-1a
+1f
 6f
 e0
 cc
@@ -3967,7 +3987,7 @@
 24
 3a
 04
-31
+36
 6f
 e0
 cc
@@ -3975,11 +3995,11 @@
 24
 3a
 04
-30
+35
 20
 40
 03
-e3
+e8
 20
 20
 40
@@ -3999,10 +4019,6 @@
 20
 40
 03
-ed
-20
-40
-03
 f2
 20
 40
@@ -4015,11 +4031,15 @@
 20
 40
 04
-09
+01
 20
 40
 04
-1a
+0e
+20
+40
+04
+1f
 20
 20
 41
@@ -4031,7 +4051,7 @@
 20
 40
 04
-16
+1b
 20
 40
 41
@@ -4051,7 +4071,7 @@
 20
 40
 04
-16
+1b
 20
 40
 41
@@ -4071,7 +4091,7 @@
 20
 40
 04
-16
+1b
 20
 40
 41
@@ -4115,7 +4135,7 @@
 c0
 7f
 84
-05
+0a
 20
 20
 41
@@ -4127,7 +4147,7 @@
 20
 40
 04
-18
+1d
 68
 48
 c9
@@ -4167,7 +4187,7 @@
 c0
 7f
 84
-12
+17
 20
 20
 41
@@ -4179,7 +4199,7 @@
 20
 40
 04
-18
+1d
 68
 48
 c9
@@ -4223,7 +4243,7 @@
 24
 3a
 04
-27
+2c
 68
 48
 cc
@@ -4291,15 +4311,15 @@
 20
 20
 04
-24
+29
 c0
 02
 04
-4b
+50
 20
 40
 04
-4e
+53
 6f
 e2
 4c
@@ -4335,19 +4355,19 @@
 c0
 00
 04
-3f
+44
 c0
 00
 84
-42
+47
 c0
 01
 04
-45
+4a
 c0
 01
 84
-48
+4d
 20
 60
 00
@@ -4427,7 +4447,7 @@
 24
 41
 04
-53
+58
 20
 60
 00
@@ -4455,11 +4475,11 @@
 20
 40
 04
-5b
+60
 20
 40
 04
-6f
+74
 20
 20
 46
@@ -4495,7 +4515,7 @@
 20
 40
 04
-64
+69
 20
 20
 40
@@ -4523,7 +4543,7 @@
 c0
 7f
 84
-6b
+70
 20
 20
 40
@@ -4535,7 +4555,7 @@
 20
 40
 04
-18
+1d
 68
 48
 c9
@@ -4559,11 +4579,11 @@
 20
 40
 04
-16
+1b
 20
 40
 04
-76
+7b
 68
 48
 cc
@@ -4587,7 +4607,7 @@
 20
 40
 04
-85
+8a
 67
 e0
 cc
@@ -4599,7 +4619,7 @@
 20
 3a
 04
-81
+86
 6f
 e0
 cc
@@ -4663,11 +4683,11 @@
 c0
 03
 84
-8f
+94
 c0
 00
 04
-91
+96
 20
 60
 00
@@ -4711,7 +4731,7 @@
 c2
 9e
 84
-9f
+a4
 18
 42
 7e
@@ -4743,7 +4763,7 @@
 24
 3a
 04
-aa
+af
 6f
 e4
 4b
@@ -4751,7 +4771,7 @@
 c2
 8e
 04
-a7
+ac
 18
 42
 7e
@@ -4767,7 +4787,7 @@
 20
 20
 04
-9c
+a1
 18
 42
 7e
@@ -4779,7 +4799,7 @@
 20
 20
 04
-a5
+aa
 18
 42
 7e
@@ -4795,7 +4815,7 @@
 20
 20
 04
-9c
+a1
 20
 40
 12
@@ -4823,11 +4843,11 @@
 20
 40
 04
-b8
+bd
 20
 40
 05
-4e
+53
 70
 0a
 06
@@ -4835,7 +4855,7 @@
 20
 20
 04
-cb
+d0
 df
 20
 03
@@ -4899,7 +4919,7 @@
 24
 20
 84
-bc
+c1
 e0
 40
 80
@@ -4907,7 +4927,7 @@
 c2
 00
 04
-bc
+c1
 20
 60
 00
@@ -4927,11 +4947,11 @@
 c0
 00
 84
-d0
+d5
 c0
 01
 05
-11
+16
 20
 40
 11
@@ -4979,7 +4999,7 @@
 c0
 00
 04
-e7
+ec
 6f
 20
 8a
@@ -4999,11 +5019,11 @@
 c2
 00
 04
-de
+e3
 20
 40
 05
-1b
+20
 6f
 e3
 8a
@@ -5019,11 +5039,11 @@
 20
 22
 84
-dc
+e1
 20
 20
 04
-cb
+d0
 6f
 e0
 8a
@@ -5031,7 +5051,7 @@
 c0
 00
 84
-f5
+fa
 df
 20
 00
@@ -5051,11 +5071,11 @@
 c2
 00
 04
-eb
+f0
 20
 40
 05
-1b
+20
 6f
 e3
 8a
@@ -5071,7 +5091,7 @@
 20
 22
 84
-e9
+ee
 20
 40
 11
@@ -5079,7 +5099,7 @@
 20
 20
 04
-cb
+d0
 78
 48
 7c
@@ -5107,11 +5127,11 @@
 c2
 00
 04
-f9
+fe
 24
 21
 84
-f7
+fc
 20
 40
 11
@@ -5139,11 +5159,11 @@
 20
 3a
 05
-08
+0d
 20
 40
 05
-1b
+20
 6f
 e0
 8a
@@ -5151,19 +5171,19 @@
 c0
 00
 85
-01
+06
 20
 20
 04
-cb
+d0
 20
 40
 05
-0a
+0f
 20
 20
 04
-cb
+d0
 6f
 e0
 8a
@@ -5171,7 +5191,7 @@
 24
 3a
 05
-91
+96
 6f
 e0
 8a
@@ -5191,15 +5211,15 @@
 20
 20
 05
-91
+96
 20
 40
 05
-18
+1d
 20
 40
 05
-1b
+20
 6f
 e3
 8a
@@ -5215,11 +5235,11 @@
 20
 22
 85
-12
+17
 20
 20
 04
-cb
+d0
 20
 40
 11
@@ -5235,11 +5255,11 @@
 20
 40
 05
-1d
+22
 20
 20
 05
-9a
+9f
 78
 54
 7c
@@ -5259,15 +5279,15 @@
 c0
 00
 85
-28
+2d
 c0
 01
 05
-2d
+32
 c0
 02
 05
-84
+89
 70
 0a
 13
@@ -5319,11 +5339,11 @@
 20
 40
 05
-32
+37
 20
 20
 05
-38
+3d
 6f
 e0
 8a
@@ -5355,7 +5375,7 @@
 c0
 00
 85
-4e
+53
 70
 0a
 16
@@ -5363,75 +5383,75 @@
 c0
 01
 05
-56
+5b
 c0
 01
 85
-5b
+60
 c0
 02
 05
-5f
+64
 c0
 02
 85
-63
+68
 c0
 03
 05
-66
+6b
 c0
 03
 85
-69
+6e
 c0
 04
 05
-6c
+71
 c0
 04
 85
-70
+75
 c0
 05
 05
-74
+79
 c0
 05
 85
-78
+7d
 c0
 06
 05
-7c
+81
 c0
 06
 85
-80
+85
 c0
 07
 05
-6c
+71
 c0
 07
 85
-70
+75
 c0
 08
 05
-74
+79
 c0
 08
 85
-78
+7d
 c0
 09
 05
-7c
+81
 c0
 09
 85
-80
+85
 20
 60
 00
@@ -5671,19 +5691,19 @@
 c0
 00
 85
-97
+9c
 c0
 01
 05
-8d
+92
 c0
 01
 85
-8d
+92
 c0
 02
 05
-8d
+92
 20
 60
 00
@@ -5695,15 +5715,15 @@
 c0
 03
 05
-93
+98
 c0
 13
 05
-95
+9a
 c0
 24
 05
-91
+96
 70
 0a
 01
@@ -5759,15 +5779,15 @@
 c0
 01
 05
-a2
+a7
 c0
 01
 85
-a2
+a7
 c0
 02
 05
-a2
+a7
 20
 60
 00
@@ -5783,11 +5803,11 @@
 c0
 00
 85
-a7
+ac
 c0
 7f
 85
-ad
+b2
 20
 60
 00
@@ -5840,8 +5860,8 @@
 60
 00
 00
-52
-ac
+f7
+58
 aa
 55
 40
@@ -7101,30 +7121,10 @@
 02
 40
 00
-c4
+d8
 1b
-83
-b4
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
+61
+28
 ff
 ff
 ff
@@ -8188,5 +8188,5 @@
 ff
 ff
 ff
-8e
-0c
+58
+3d
Index: output/memmap.format
===================================================================
--- /YC1308AC/branch/mouse_project/AiTanSi_Project/Only2.4G_PBPair/output/memmap.format	(revision 1403)
+++ /YC1308AC/branch/mouse_project/AiTanSi_Project/Only2.4G_PBPair/output/memmap.format	(working copy)
@@ -2266,6 +2266,7 @@
 0x4c43 mem_24g_exit_retransmit
 0x4c44 mem_24g_low_power_led_off
 0x4c45 mem_mouse_pair_key_flag
+0x4c46 mem_mouse_power_on_led_flag
 0x48d0 mem_remote_car_hard_soft_switch
 0x48d1 mem_remote_car_queue_each_size
 0x48d2 mem_remote_car_queue_length
Index: output/program.lis
===================================================================
--- /YC1308AC/branch/mouse_project/AiTanSi_Project/Only2.4G_PBPair/output/program.lis	(revision 1561)
+++ /YC1308AC/branch/mouse_project/AiTanSi_Project/Only2.4G_PBPair/output/program.lis	(working copy)
@@ -14,30 +14,30 @@
 000b c0648167 beq patch19_1 ,p_mouse_setgpio_hibernate 
 000c c065019b beq patch19_2 ,p_mouse_lpm_before_common 
 000d c066006a beq patch19_4 ,p_mouse_adc_read_start 
-000e c06703a5 beq patch19_6 ,p_mouse_motion 
-000f c0678493 beq patch19_7 ,p_mouse_dpi_process 
+000e c06703aa beq patch19_6 ,p_mouse_motion 
+000f c0678498 beq patch19_7 ,p_mouse_dpi_process 
 0010 c0680283 beq patch1a_0 ,p_mouse_seting_dpi 
-0011 c06883e3 beq patch1a_1 ,p_mouse_check_key_gpio 
-0012 c06a03c1 beq patch1a_4 ,p_mouse_sensor_poweron 
+0011 c06883e8 beq patch1a_1 ,p_mouse_check_key_gpio 
+0012 c06a03c6 beq patch1a_4 ,p_mouse_sensor_poweron 
 0013 c06b01c6 beq patch1a_6 ,p_mouse_priority_bb_event 
 0014 c06c82b1 beq patch1b_1 ,p_mouse_bb_event_timer 
-0015 c06d0340 beq patch1b_2 ,p_mouse_start_discovery 
-0016 c06d8349 beq patch1b_3 ,p_mouse_stop_discovery 
-0017 c06f0456 beq patch1b_6 ,p_mouse_idle 
-0018 c0740357 beq patch1d_0 ,p_hid_rx_process 
+0015 c06d0345 beq patch1b_2 ,p_mouse_start_discovery 
+0016 c06d834e beq patch1b_3 ,p_mouse_stop_discovery 
+0017 c06f045b beq patch1b_6 ,p_mouse_idle 
+0018 c074035c beq patch1d_0 ,p_hid_rx_process 
 0019 2020137c branch loop 
 
 pf_patch_ext:
 001a c019804a beq patch26_3 ,p_adc_init_data 
 001b c01a004f beq patch26_4 ,p_enable_adc 
-001c c0438353 beq patch30_7 ,p_ui_timer_check 
-001d c050836b beq patch34_1 ,p_le_slave_match 
-001e c0600375 beq patch38_0 ,p_le_parse_l2cap 
+001c c0438358 beq patch30_7 ,p_ui_timer_check 
+001d c0508370 beq patch34_1 ,p_le_slave_match 
+001e c060037a beq patch38_0 ,p_le_parse_l2cap 
 001f c06e8264 beq patch3b_5 ,p_g24_dispatch 
 0020 c071022a beq patch3c_2 ,p_g24_pair_dispatch 
 0021 c0748232 beq patch3d_1 ,p_g24_reconn_dispatch 
 0022 c0750123 beq patch3d_2 ,p_g24_transmit_no_interrupt 
-0023 c076039c beq patch3d_4 ,p_g24_lpm_wait 
+0023 c07603a1 beq patch3d_4 ,p_g24_lpm_wait 
 0024 2020137c branch loop 
 
 p_soft_reset:
@@ -171,7 +171,7 @@
 008a 20406df3 call enable_authrom 
 008b 204000cb call p_mouse_setting_config 
 008c 204041a7 call mouse_init_sunt 
-008d 20400332 call p_g24_pb_check_100ms_timer_init 
+008d 20400337 call p_g24_pb_check_100ms_timer_init 
 008e 20758000 rtn wake 
 008f 20403e9b call mouse_adc_read 
 0090 20400097 call p_mouse_load_default_param 
@@ -179,7 +179,7 @@
 0092 20403d8a call mouse_usb_check_enable 
 0093 20404728 call mouse_drawing_optima_init 
 0094 204000de call p_mouse_cb_fuction 
-0095 204003d3 call p_mouse_sensor_powerdown 
+0095 204003d8 call p_mouse_sensor_powerdown 
 0096 20203bc9 branch mouse_init + 8 
 
 p_mouse_load_default_param:
@@ -255,7 +255,7 @@
 00ce 20403f1e call mouse_gpio_init 
 00cf 20404110 call mouse_key_check_once 
 00d0 1a217e07 and rega ,0x07 ,pdata 
-00d1 c00384ae beq mouse_lmr_button ,p_fcc_mode_start 
+00d1 c00384b3 beq mouse_lmr_button ,p_fcc_mode_start 
 00d2 20403d13 call mouse_param_init 
 00d3 204000d8 call p_g24_short_sleep_set_8ms 
 00d4 6fe44bab fetch mouse_flag_len ,mem_mouse_flag 
@@ -358,7 +358,7 @@
 011f 67e0cba4 store 1 ,mem_mouse_search_dongle_action 
 0120 6fe14bbc fetch 2 ,mem_mouse_24g_search_dongle_time_init 
 0121 67e14ab2 store 2 ,mem_mouse_no_data_timer 
-0122 202003d3 branch p_mouse_sensor_powerdown 
+0122 202003d8 branch p_mouse_sensor_powerdown 
 
 p_g24_transmit_no_interrupt:
 0123 20402631 call g24_txdata_prep 
@@ -420,7 +420,7 @@
 014b 20600000 rtn 
 
 p_g24_retransmit:
-014c 2040032e call p_g24_pb_check_timer 
+014c 20400333 call p_g24_pb_check_timer 
 014d 6fe0cc43 fetch 1 ,mem_24g_exit_retransmit 
 014e 243a014a nbranch p_g24_retransmit_exit ,blank 
 014f 6fe0c8a7 fetch 1 ,mem_24g_abort_pac 
@@ -445,8 +445,8 @@
 015e 58000006 setarg pan_reg_config 
 015f 20405b0d call twspi_read 
 0160 c281be23 bbit1 3 ,mouse_app_enter_hibernate + 3 
-0161 204003cc call p_mouse_sensor_reset 
-0162 204003d3 call p_mouse_sensor_powerdown 
+0161 204003d1 call p_mouse_sensor_reset 
+0162 204003d8 call p_mouse_sensor_powerdown 
 0163 20203e23 branch mouse_app_enter_hibernate + 3 
 
 p_mouse_before_hibernate:
@@ -537,7 +537,7 @@
 01a8 58000000 setarg 0 
 01a9 67e3c8d0 store 7 ,mem_mouse_key 
 01aa 704be101 jam 1 ,mem_sensor_shutdown_flag 
-01ab 204003d3 call p_mouse_sensor_powerdown 
+01ab 204003d8 call p_mouse_sensor_powerdown 
 01ac 202001b2 branch p_g24_long_sleep 
 
 p_g24_nodata_transmit:
@@ -680,7 +680,7 @@
 0217 204046f0 call mouse_enable_function_flag 
 0218 58000000 setarg 0 
 0219 67e14887 store 2 ,mem_24g_reconn_timeout 
-021a 20400349 call p_mouse_stop_discovery 
+021a 2040034e call p_mouse_stop_discovery 
 021b 7048f900 jam 0 ,mem_adc_low_volatage_led_blink_enable 
 021c 2020482e branch mouse_24g_start_pair_mode + 7 
 
@@ -859,10 +859,10 @@
 02a6 6fe0c8f8 fetch 1 ,mem_adc_low_volatage_led_timer_count 
 02a7 1fe0fe01 increase 1 ,pdata 
 02a8 67e0c8f8 store 1 ,mem_adc_low_volatage_led_timer_count 
-02a9 1fe67c0b sub pdata ,11 ,null 
+02a9 1fe67c0a sub pdata ,10 ,null 
 02aa 2441496e ncall mouse_adc_low_volatage_led_timer_count_clean ,positive 
-02ab c0014976 beq 2 ,mouse_low_voltage_led_off 
-02ac c003c970 beq 7 ,mouse_low_voltage_led_on 
+02ab c000c976 beq 1 ,mouse_low_voltage_led_off 
+02ac c0034970 beq 6 ,mouse_low_voltage_led_on 
 02ad 20600000 rtn 
 
 p_mouse_low_power_timer:
@@ -881,14 +881,14 @@
 02b8 2040407c call mouse_dpi_key_check_long_press 
 02b9 204044cc call mouse_bt_discovery_check 
 02ba 204002f6 call p_mouse_commbination_key_process 
-02bb 20400327 call p_mouse_24g_pair_key_timer 
+02bb 2040032c call p_mouse_24g_pair_key_timer 
 02bc 204044ff call mouse_check_discovery_timeout_timer 
 02bd 20400316 call p_mouse_24g_reconnect_blink_timer 
 02be 2040031a call p_mouse_24g_lowpower_stop_blink_timer 
-02bf 20400320 call p_mouse_24g_low_power_led_off_timer 
+02bf 20400323 call p_mouse_24g_low_power_led_off_timer 
 02c0 20404504 call mouse_check_direct_timeout_timer 
 02c1 20404512 call mouse_le_enable_att_list_timer 
-02c2 20400335 call p_mouse_le_battery_updata_timer 
+02c2 2040033a call p_mouse_le_battery_updata_timer 
 02c3 20404515 call mouse_le_send_smp_security_request_timer 
 02c4 2040452a call mouse_check_hid_handshake_timer 
 02c5 2040452d call mouse_bt_check_sniff_req_timeout_timer 
@@ -897,7 +897,7 @@
 02c8 20404022 call mouse_wheel_trigger_timer 
 02c9 20404547 call mouse_store_information_delay_timer 
 02ca 204002d0 call p_mouse_logo_led_on_timer 
-02cb 20400338 call p_mouse_check_no_data_timeout_timer 
+02cb 2040033d call p_mouse_check_no_data_timeout_timer 
 02cc 202002cd branch p_mouse_g24_ota_reset_timer 
 
 p_mouse_g24_ota_reset_timer:
@@ -972,7 +972,7 @@
 
 p_mouse_commbination_key_start:
 02ff 6048cb9d storet 1 ,mem_mouse_commbination_key 
-0300 2040032a call p_mouse_24g_pair_key_check 
+0300 2040032f call p_mouse_24g_pair_key_check 
 0301 2420830d nbranch p_mouse_24g_pair_key_down ,true 
 0302 20404115 call mouse_check_key_gpio 
 0303 1fe17e07 and pdata ,0x07 ,pdata 
@@ -1019,920 +1019,927 @@
 031c 2020318a branch timer_single_step 
 
 p_mouse_24g_lowpower_stop_blink_timeout:
-031d 704c4001 jam 0x01 ,mem_low_power_led_flag 
-031e 704c4406 jam 0x06 ,mem_24g_low_power_led_off 
-031f 20600000 rtn 
+031d 704c440a jam 0x0a ,mem_24g_low_power_led_off 
+031e 2020031f branch p_mouse_24g_low_power_led_off 
+
+p_mouse_24g_low_power_led_off:
+031f 6fe0cc46 fetch 1 ,mem_mouse_power_on_led_flag 
+0320 c1800000 rtnne 0 
+0321 704c4601 jam 1 ,mem_mouse_power_on_led_flag 
+0322 20200326 branch p_mouse_24g_low_power_led_off_timeout 
 
 p_mouse_24g_low_power_led_off_timer:
-0320 da400323 arg p_mouse_24g_low_power_led_off_timeout ,regb 
-0321 da604c44 arg mem_24g_low_power_led_off ,regc 
-0322 2020318a branch timer_single_step 
+0323 da400326 arg p_mouse_24g_low_power_led_off_timeout ,regb 
+0324 da604c44 arg mem_24g_low_power_led_off ,regc 
+0325 2020318a branch timer_single_step 
 
 p_mouse_24g_low_power_led_off_timeout:
-0323 6fe0c921 fetch 1 ,mem_config_low_voltage_alarm_gpio 
-0324 c17f8000 rtneq gpio_disable 
-0325 6848c921 fetcht 1 ,mem_config_low_voltage_alarm_gpio 
-0326 2020492b branch mouse_led_off 
+0326 704c4001 jam 0x01 ,mem_low_power_led_flag 
+0327 7048f800 jam 0 ,mem_adc_low_volatage_led_timer_count 
+0328 6fe0c921 fetch 1 ,mem_config_low_voltage_alarm_gpio 
+0329 c17f8000 rtneq gpio_disable 
+032a 6848c921 fetcht 1 ,mem_config_low_voltage_alarm_gpio 
+032b 2020492b branch mouse_led_off 
 
 p_mouse_24g_pair_key_timer:
-0327 2040032a call p_mouse_24g_pair_key_check 
-0328 2420830e nbranch p_mouse_combination_trigger ,true 
-0329 20203f56 branch mouse_gpio_config_input_pu 
+032c 2040032f call p_mouse_24g_pair_key_check 
+032d 2420830e nbranch p_mouse_combination_trigger ,true 
+032e 20203f56 branch mouse_gpio_config_input_pu 
 
 p_mouse_24g_pair_key_check:
-032a 6848cc3f fetcht 1 ,mem_24g_pair_button_gpio 
-032b 20403f54 call mouse_gpio_config_input_pd 
-032c 6848cc3f fetcht 1 ,mem_24g_pair_button_gpio 
-032d 20206059 branch gpio_get_bit 
+032f 6848cc3f fetcht 1 ,mem_24g_pair_button_gpio 
+0330 20403f54 call mouse_gpio_config_input_pd 
+0331 6848cc3f fetcht 1 ,mem_24g_pair_button_gpio 
+0332 20206059 branch gpio_get_bit 
 
 p_g24_pb_check_timer:
-032e d8e0000c arg 12 ,queue 
-032f 20407d74 call timer_check 
-0330 247a0000 nrtn blank 
-0331 20400327 call p_mouse_24g_pair_key_timer 
+0333 d8e0000c arg 12 ,queue 
+0334 20407d74 call timer_check 
+0335 247a0000 nrtn blank 
+0336 2040032c call p_mouse_24g_pair_key_timer 
 
 p_g24_pb_check_100ms_timer_init:
-0332 d8e0000c arg 12 ,queue 
-0333 580000a0 setarg 160 
-0334 20207d66 branch timer_init 
+0337 d8e0000c arg 12 ,queue 
+0338 580000a0 setarg 160 
+0339 20207d66 branch timer_init 
 
 p_mouse_le_battery_updata_timer:
-0335 6fe44bab fetch mouse_flag_len ,mem_mouse_flag 
-0336 c39d8000 rtnbit1 mouse_enable_le_battery_service_cancel 
-0337 2020451f branch mouse_le_battery_updata_timer 
+033a 6fe44bab fetch mouse_flag_len ,mem_mouse_flag 
+033b c39d8000 rtnbit1 mouse_enable_le_battery_service_cancel 
+033c 2020451f branch mouse_le_battery_updata_timer 
 
 p_mouse_check_no_data_timeout_timer:
-0338 6fe0c92a fetch 1 ,mem_usb_addr 
-0339 c3838000 rtnbit1 7 
-033a da604ab2 arg mem_mouse_no_data_timer ,regc 
-033b da40033d arg p_mouse_check_no_data_timeout ,regb 
-033c 20203191 branch timer_single_step_2b 
+033d 6fe0c92a fetch 1 ,mem_usb_addr 
+033e c3838000 rtnbit1 7 
+033f da604ab2 arg mem_mouse_no_data_timer ,regc 
+0340 da400342 arg p_mouse_check_no_data_timeout ,regb 
+0341 20203191 branch timer_single_step_2b 
 
 p_mouse_check_no_data_timeout:
-033d 6fe0c938 fetch 1 ,mem_device_flag 
-033e c00001a4 beq mode_24g_device ,p_mouse_24g_hibernate_set 
-033f 2020431b branch mouse_disconnect 
+0342 6fe0c938 fetch 1 ,mem_device_flag 
+0343 c00001a4 beq mode_24g_device ,p_mouse_24g_hibernate_set 
+0344 2020431b branch mouse_disconnect 
 
 p_mouse_start_discovery:
-0340 6fe1478c fetch 2 ,mem_ui_state_map 
-0341 2feffe0b isolate1 ui_state_ble_adv ,pdata 
-0342 2040c581 call mouse_stop_le_adv ,true 
-0343 6fe1478c fetch 2 ,mem_ui_state_map 
-0344 2feffe07 isolate1 ui_state_bt_reconnect ,pdata 
-0345 2040c322 call mouse_cancel_reconnect ,true 
-0346 58000000 setarg 0 
-0347 67e14af2 store 2 ,mem_le_battery_level_updata_timer 
-0348 20204554 branch mouse_start_discovery + 1 
+0345 6fe1478c fetch 2 ,mem_ui_state_map 
+0346 2feffe0b isolate1 ui_state_ble_adv ,pdata 
+0347 2040c581 call mouse_stop_le_adv ,true 
+0348 6fe1478c fetch 2 ,mem_ui_state_map 
+0349 2feffe07 isolate1 ui_state_bt_reconnect ,pdata 
+034a 2040c322 call mouse_cancel_reconnect ,true 
+034b 58000000 setarg 0 
+034c 67e14af2 store 2 ,mem_le_battery_level_updata_timer 
+034d 20204554 branch mouse_start_discovery + 1 
 
 p_mouse_stop_discovery:
-0349 d8e00006 arg mouse_bt_discovery_button_long_down_flag ,queue 
-034a 204046f4 call mouse_disable_function_flag 
-034b 704ac400 jam 0 ,mem_mouse_bluetooth_reconnect_timeout 
-034c 6fe0cbb3 fetch 1 ,mem_mouse_bluetooth_type 
-034d 2feffe01 isolate1 mode_4_mouse ,pdata 
-034e 2040c581 call mouse_stop_le_adv ,true 
-034f 6fe0cbb3 fetch 1 ,mem_mouse_bluetooth_type 
-0350 2feffe00 isolate1 mode_3_mouse ,pdata 
-0351 2040c583 call mouse_stop_bt3_discovery ,true 
-0352 20600000 rtn 
+034e d8e00006 arg mouse_bt_discovery_button_long_down_flag ,queue 
+034f 204046f4 call mouse_disable_function_flag 
+0350 704ac400 jam 0 ,mem_mouse_bluetooth_reconnect_timeout 
+0351 6fe0cbb3 fetch 1 ,mem_mouse_bluetooth_type 
+0352 2feffe01 isolate1 mode_4_mouse ,pdata 
+0353 2040c581 call mouse_stop_le_adv ,true 
+0354 6fe0cbb3 fetch 1 ,mem_mouse_bluetooth_type 
+0355 2feffe00 isolate1 mode_3_mouse ,pdata 
+0356 2040c583 call mouse_stop_bt3_discovery ,true 
+0357 20600000 rtn 
 
 p_ui_timer_check:
-0353 6fe0cbe2 fetch 1 ,mem_power_on_flag 
-0354 245a7861 ncall ui_timer_init ,blank 
-0355 704be200 jam 0 ,mem_power_on_flag 
-0356 20207851 branch ui_timer_check + 1 
+0358 6fe0cbe2 fetch 1 ,mem_power_on_flag 
+0359 245a7861 ncall ui_timer_init ,blank 
+035a 704be200 jam 0 ,mem_power_on_flag 
+035b 20207851 branch ui_timer_check + 1 
 
 p_hid_rx_process:
-0357 6fe10315 fetch 2 ,mem_l2cap_payload_ptr 
-0358 1fe20c00 copy pdata ,contr 
-0359 efe08006 ifetch 1 ,contr 
-035a 67e0c5f5 store 1 ,mem_l2cap_rcv_hidtype 
-035b 1fe1040f and pdata ,0x0f ,temp 
-035c 1ff1fe00 rshift4 pdata ,pdata 
-035d c004835f beq hid_type_set_idle ,p_hid_rx_process_handshake 
-035e 20204d93 branch hid_rx_process + 7 
+035c 6fe10315 fetch 2 ,mem_l2cap_payload_ptr 
+035d 1fe20c00 copy pdata ,contr 
+035e efe08006 ifetch 1 ,contr 
+035f 67e0c5f5 store 1 ,mem_l2cap_rcv_hidtype 
+0360 1fe1040f and pdata ,0x0f ,temp 
+0361 1ff1fe00 rshift4 pdata ,pdata 
+0362 c0048364 beq hid_type_set_idle ,p_hid_rx_process_handshake 
+0363 20204d93 branch hid_rx_process + 7 
 
 p_hid_rx_process_handshake:
-035f da200001 arg 1 ,rega 
-0360 20404dc0 call hid_malloc_tx_buff 
-0361 6fe144dc fetch 2 ,mem_hid_ctrl_remote_cid 
-0362 e7e10005 istore 2 ,contw 
-0363 58000000 setarg 0 
-0364 e7e08005 istore 1 ,contw 
-0365 70095001 jam 1 ,mem_ui_data_txbuff_length 
-0366 6fe0c4e2 fetch 1 ,mem_hid_control_state 
-0367 79207e06 set1 l2cap_channel_hid_handshake_done ,pdata 
-0368 67e0c4e2 store 1 ,mem_hid_control_state 
-0369 70095b12 jam bt_evt_hid_handshake ,mem_fifo_temp 
-036a 20207871 branch ui_ipc_send_event 
+0364 da200001 arg 1 ,rega 
+0365 20404dc0 call hid_malloc_tx_buff 
+0366 6fe144dc fetch 2 ,mem_hid_ctrl_remote_cid 
+0367 e7e10005 istore 2 ,contw 
+0368 58000000 setarg 0 
+0369 e7e08005 istore 1 ,contw 
+036a 70095001 jam 1 ,mem_ui_data_txbuff_length 
+036b 6fe0c4e2 fetch 1 ,mem_hid_control_state 
+036c 79207e06 set1 l2cap_channel_hid_handshake_done ,pdata 
+036d 67e0c4e2 store 1 ,mem_hid_control_state 
+036e 70095b12 jam bt_evt_hid_handshake ,mem_fifo_temp 
+036f 20207871 branch ui_ipc_send_event 
 
 p_le_slave_match:
-036b 6fe0c3dd fetch 1 ,mem_le_md_count 
-036c 1fe0fe01 pincrease 1 
-036d 67e0c3dd store 1 ,mem_le_md_count 
-036e c006165a beq le_md_max_count ,le_slave_cont 
-036f 2040191b call le_acknowledge 
-0370 2040196a call le_prepare_tx 
-0371 6fe082bd fetch 1 ,mem_le_tx_phy 
-0372 2040168b call le_enable_phy_by_pdata 
-0373 20401838 call le_transmit 
-0374 20201655 branch le_slave_match + 10 
+0370 6fe0c3dd fetch 1 ,mem_le_md_count 
+0371 1fe0fe01 pincrease 1 
+0372 67e0c3dd store 1 ,mem_le_md_count 
+0373 c006165a beq le_md_max_count ,le_slave_cont 
+0374 2040191b call le_acknowledge 
+0375 2040196a call le_prepare_tx 
+0376 6fe082bd fetch 1 ,mem_le_tx_phy 
+0377 2040168b call le_enable_phy_by_pdata 
+0378 20401838 call le_transmit 
+0379 20201655 branch le_slave_match + 10 
 
 p_le_parse_l2cap:
-0375 efe10006 ifetch 2 ,contr 
-0376 c0020378 beq le_l2cap_cid_att ,p_le_parse_att 
-0377 202019e4 branch le_parse_l2cap + 10 
+037a efe10006 ifetch 2 ,contr 
+037b c002037d beq le_l2cap_cid_att ,p_le_parse_att 
+037c 202019e4 branch le_parse_l2cap + 10 
 
 p_le_parse_att:
-0378 efe18006 ifetch 3 ,contr 
-0379 67e1c436 store 3 ,mem_le_att_opcode 
-037a c005037d beq attop_read_request ,p_le_parse_att_read_request 
-037b c009038c beq attop_write_request ,p_le_parse_att_write_request 
-037c 20201cd3 branch le_parse_att + 2 
+037d efe18006 ifetch 3 ,contr 
+037e 67e1c436 store 3 ,mem_le_att_opcode 
+037f c0050382 beq attop_read_request ,p_le_parse_att_read_request 
+0380 c0090391 beq attop_write_request ,p_le_parse_att_write_request 
+0381 20201cd3 branch le_parse_att + 2 
 
 p_le_parse_att_read_request:
-037d 6fe44bab fetch mouse_flag_len ,mem_mouse_flag 
-037e c31d9de7 bbit0 mouse_enable_le_battery_service_cancel ,le_parse_att_read_request 
-037f 20401e8d call le_check_encrypt_state 
-0380 68494437 fetcht 2 ,mem_le_att_handle 
-0381 6fe0c3c0 fetch 1 ,mem_le_configuration 
-0382 c2818387 bbit1 bit_ble_read_auth ,p_le_send_att_read_response_check_auth 
+0382 6fe44bab fetch mouse_flag_len ,mem_mouse_flag 
+0383 c31d9de7 bbit0 mouse_enable_le_battery_service_cancel ,le_parse_att_read_request 
+0384 20401e8d call le_check_encrypt_state 
+0385 68494437 fetcht 2 ,mem_le_att_handle 
+0386 6fe0c3c0 fetch 1 ,mem_le_configuration 
+0387 c281838c bbit1 bit_ble_read_auth ,p_le_send_att_read_response_check_auth 
 
 p_le_send_att_read_response:
-0383 6fe14437 fetch 2 ,mem_le_att_handle 
-0384 c0181ec8 beq 0x30 ,le_send_att_error_response_notfound 
-0385 68494437 fetcht 2 ,mem_le_att_handle 
-0386 20201deb branch le_send_att_read_response 
+0388 6fe14437 fetch 2 ,mem_le_att_handle 
+0389 c0181ec8 beq 0x30 ,le_send_att_error_response_notfound 
+038a 68494437 fetcht 2 ,mem_le_att_handle 
+038b 20201deb branch le_send_att_read_response 
 
 p_le_send_att_read_response_check_auth:
-0387 6fe143d1 fetch 2 ,mem_le_pairing_handle 
-0388 98467c00 isub temp ,null 
-0389 24228383 nbranch p_le_send_att_read_response ,zero 
-038a 24340383 nbranch p_le_send_att_read_response ,user 
-038b 20201e10 branch le_send_att_read_response_error_insufficient_auth 
+038c 6fe143d1 fetch 2 ,mem_le_pairing_handle 
+038d 98467c00 isub temp ,null 
+038e 24228388 nbranch p_le_send_att_read_response ,zero 
+038f 24340388 nbranch p_le_send_att_read_response ,user 
+0390 20201e10 branch le_send_att_read_response_error_insufficient_auth 
 
 p_le_parse_att_write_request:
-038c 18c22200 copy contr ,rega 
-038d 6fe143d4 fetch 2 ,mem_le_l2cap_size 
-038e 1fe0a5fd add pdata ,-3 ,regb 
-038f 20401a25 call le_writeatt_cb 
-0390 6fe0cac1 fetch 1 ,mem_mouse_bluetooth_fast_conn_flag 
-0391 c07f9e73 beq 0xff ,le_send_att_write_response_check_auth 
-0392 6fe0cac7 fetch 1 ,mem_mouse_le_reconnect_flag 
-0393 203a1e73 branch le_send_att_write_response_check_auth ,blank 
-0394 6fe0cb75 fetch 1 ,mem_le_connect_status_flag 
-0395 c2809e73 bbit1 ll_start_enc_flag ,le_send_att_write_response_check_auth 
-0396 5800001a setarg 0x001a 
-0397 68494437 fetcht 2 ,mem_le_att_handle 
-0398 98467c00 isub temp ,null 
-0399 24229e73 nbranch le_send_att_write_response_check_auth ,zero 
-039a 7002d805 jam att_err_insufficient_authentication ,mem_le_err_code 
-039b 20201ec9 branch le_send_att_error_response 
+0391 18c22200 copy contr ,rega 
+0392 6fe143d4 fetch 2 ,mem_le_l2cap_size 
+0393 1fe0a5fd add pdata ,-3 ,regb 
+0394 20401a25 call le_writeatt_cb 
+0395 6fe0cac1 fetch 1 ,mem_mouse_bluetooth_fast_conn_flag 
+0396 c07f9e73 beq 0xff ,le_send_att_write_response_check_auth 
+0397 6fe0cac7 fetch 1 ,mem_mouse_le_reconnect_flag 
+0398 203a1e73 branch le_send_att_write_response_check_auth ,blank 
+0399 6fe0cb75 fetch 1 ,mem_le_connect_status_flag 
+039a c2809e73 bbit1 ll_start_enc_flag ,le_send_att_write_response_check_auth 
+039b 5800001a setarg 0x001a 
+039c 68494437 fetcht 2 ,mem_le_att_handle 
+039d 98467c00 isub temp ,null 
+039e 24229e73 nbranch le_send_att_write_response_check_auth ,zero 
+039f 7002d805 jam att_err_insufficient_authentication ,mem_le_err_code 
+03a0 20201ec9 branch le_send_att_error_response 
 
 p_g24_lpm_wait:
-039c 6fe0cbaa fetch 1 ,mem_24g_device_led_status 
-039d 245a26e1 ncall g24_transmit_by_interrupt_enable ,blank 
-039e 78347c00 enable user 
-039f 20401465 call lpo_calibration 
-03a0 6fe1c174 fetch 3 ,mem_clks_per_lpo 
-03a1 203a7e56 branch disable_user ,blank 
-03a2 6fe0c099 fetch 1 ,mem_lpm_mode 
-03a3 203a7e56 branch disable_user ,blank 
-03a4 202026c4 branch g24_setgpio_lpm_before 
+03a1 6fe0cbaa fetch 1 ,mem_24g_device_led_status 
+03a2 245a26e1 ncall g24_transmit_by_interrupt_enable ,blank 
+03a3 78347c00 enable user 
+03a4 20401465 call lpo_calibration 
+03a5 6fe1c174 fetch 3 ,mem_clks_per_lpo 
+03a6 203a7e56 branch disable_user ,blank 
+03a7 6fe0c099 fetch 1 ,mem_lpm_mode 
+03a8 203a7e56 branch disable_user ,blank 
+03a9 202026c4 branch g24_setgpio_lpm_before 
 
 p_mouse_motion:
-03a5 78547c00 disable user 
-03a6 58000000 setarg 0 
-03a7 67e348d1 store 6 ,mem_mouse_x 
-03a8 20404240 call mouse_check_sensor_data 
-03a9 2040408e call mouse_dpi_config 
-03aa 20403f7e call mouse_zwheel 
-03ab 20403f83 call mouse_t_zwheel 
-03ac 204003dc call p_mouse_key 
-03ad 6fe0c8d0 fetch 1 ,mem_mouse_key 
-03ae 1fe17e1f and_into 0x1f ,pdata 
-03af 67e0c8d0 store 1 ,mem_mouse_key 
-03b0 243403b7 nbranch p_mouse_low_power_led_delay_off ,user 
-03b1 204003b4 call p_mouse_work_state_flag 
-03b2 204003be call p_mouse_drawing_optima 
-03b3 20204544 branch mouse_no_data_timer_init 
+03aa 78547c00 disable user 
+03ab 58000000 setarg 0 
+03ac 67e348d1 store 6 ,mem_mouse_x 
+03ad 20404240 call mouse_check_sensor_data 
+03ae 2040408e call mouse_dpi_config 
+03af 20403f7e call mouse_zwheel 
+03b0 20403f83 call mouse_t_zwheel 
+03b1 204003e1 call p_mouse_key 
+03b2 6fe0c8d0 fetch 1 ,mem_mouse_key 
+03b3 1fe17e1f and_into 0x1f ,pdata 
+03b4 67e0c8d0 store 1 ,mem_mouse_key 
+03b5 243403bc nbranch p_mouse_low_power_led_delay_off ,user 
+03b6 204003b9 call p_mouse_work_state_flag 
+03b7 204003c3 call p_mouse_drawing_optima 
+03b8 20204544 branch mouse_no_data_timer_init 
 
 p_mouse_work_state_flag:
-03b4 704c4000 jam 0 ,mem_low_power_led_flag 
-03b5 704c4200 jam 0 ,mem_24g_low_power_stop_blink 
-03b6 20600000 rtn 
+03b9 704c4000 jam 0 ,mem_low_power_led_flag 
+03ba 704c4200 jam 0 ,mem_24g_low_power_stop_blink 
+03bb 20600000 rtn 
 
 p_mouse_low_power_led_delay_off:
-03b7 20404728 call mouse_drawing_optima_init 
-03b8 6fe0cc42 fetch 1 ,mem_24g_low_power_stop_blink 
-03b9 247a0000 nrtn blank 
-03ba 6fe0c8fa fetch 1 ,mem_mouse_adc_last_low_voltage_flag 
-03bb c1000000 rtneq 0 
-03bc 704c426a jam 0x6a ,mem_24g_low_power_stop_blink 
-03bd 20600000 rtn 
+03bc 20404728 call mouse_drawing_optima_init 
+03bd 6fe0cc42 fetch 1 ,mem_24g_low_power_stop_blink 
+03be 247a0000 nrtn blank 
+03bf 6fe0c8fa fetch 1 ,mem_mouse_adc_last_low_voltage_flag 
+03c0 c1000000 rtneq 0 
+03c1 704c4259 jam 0x59 ,mem_24g_low_power_stop_blink 
+03c2 20600000 rtn 
 
 p_mouse_drawing_optima:
-03be 6fe0c927 fetch 1 ,mem_config_sensor_type 
-03bf c1018000 rtneq p3212 
-03c0 2020471a branch mouse_drawing_optima 
+03c3 6fe0c927 fetch 1 ,mem_config_sensor_type 
+03c4 c1018000 rtneq p3212 
+03c5 2020471a branch mouse_drawing_optima 
 
 p_mouse_sensor_poweron:
-03c1 20403f65 call mouse_sensor_spi_init 
-03c2 6fe0c927 fetch 1 ,mem_config_sensor_type 
-03c3 c00583c8 beq ka8g2 ,p_mouse_ka8g2_sensor_init 
-03c4 20404232 call mouse_sensor_reset 
-03c5 da604aa3 arg mem_sensor_poweron_init ,regc 
-03c6 2040422b call mouse_sensor_wr_seq 
-03c7 2020408e branch mouse_dpi_config 
+03c6 20403f65 call mouse_sensor_spi_init 
+03c7 6fe0c927 fetch 1 ,mem_config_sensor_type 
+03c8 c00583cd beq ka8g2 ,p_mouse_ka8g2_sensor_init 
+03c9 20404232 call mouse_sensor_reset 
+03ca da604aa3 arg mem_sensor_poweron_init ,regc 
+03cb 2040422b call mouse_sensor_wr_seq 
+03cc 2020408e branch mouse_dpi_config 
 
 p_mouse_ka8g2_sensor_init:
-03c8 204003cf call p_mouse_ka8g2_sensor_reset 
-03c9 da604be3 arg mem_ka8g2_sensor_poweron_init ,regc 
-03ca 2040422b call mouse_sensor_wr_seq 
-03cb 2020408e branch mouse_dpi_config 
+03cd 204003d4 call p_mouse_ka8g2_sensor_reset 
+03ce da604be3 arg mem_ka8g2_sensor_poweron_init ,regc 
+03cf 2040422b call mouse_sensor_wr_seq 
+03d0 2020408e branch mouse_dpi_config 
 
 p_mouse_sensor_reset:
-03cc 6fe0c927 fetch 1 ,mem_config_sensor_type 
-03cd c00583cf beq ka8g2 ,p_mouse_ka8g2_sensor_reset 
-03ce 20204232 branch mouse_sensor_reset 
+03d1 6fe0c927 fetch 1 ,mem_config_sensor_type 
+03d2 c00583d4 beq ka8g2 ,p_mouse_ka8g2_sensor_reset 
+03d3 20204232 branch mouse_sensor_reset 
 
 p_mouse_ka8g2_sensor_reset:
-03cf 58009706 setarg 0x9706 
-03d0 20405b0c call twspi_write 
-03d1 20002ee0 nop 12000 
-03d2 20600000 rtn 
+03d4 58009706 setarg 0x9706 
+03d5 20405b0c call twspi_write 
+03d6 20002ee0 nop 12000 
+03d7 20600000 rtn 
 
 p_mouse_sensor_powerdown:
-03d3 20600000 rtn 
-03d4 204041a7 call mouse_init_sunt 
-03d5 20403f65 call mouse_sensor_spi_init 
-03d6 6fe0c927 fetch 1 ,mem_config_sensor_type 
-03d7 c00583da beq ka8g2 ,p_mouse_ka8g2_sensor_powerdown 
-03d8 58000806 setarg 0x0806 
-03d9 20205b0c branch twspi_write 
+03d8 20600000 rtn 
+03d9 204041a7 call mouse_init_sunt 
+03da 20403f65 call mouse_sensor_spi_init 
+03db 6fe0c927 fetch 1 ,mem_config_sensor_type 
+03dc c00583df beq ka8g2 ,p_mouse_ka8g2_sensor_powerdown 
+03dd 58000806 setarg 0x0806 
+03de 20205b0c branch twspi_write 
 
 p_mouse_ka8g2_sensor_powerdown:
-03da 58001f06 setarg 0x1f06 
-03db 20205b0c branch twspi_write 
+03df 58001f06 setarg 0x1f06 
+03e0 20205b0c branch twspi_write 
 
 p_mouse_key:
-03dc 2040041a call p_mouse_check_firekey_gpio 
-03dd 6fe0cc37 fetch 1 ,mem_fire_key_flag 
-03de 243a0431 nbranch p_fire_key_press ,blank 
-03df 6fe0cc32 fetch 1 ,mem_fire_key_status 
-03e0 243a0430 nbranch p_fire_key_process ,blank 
-03e1 204003e3 call p_mouse_check_key_gpio 
-03e2 202040dd branch mouse_key + 1 
+03e1 2040041f call p_mouse_check_firekey_gpio 
+03e2 6fe0cc37 fetch 1 ,mem_fire_key_flag 
+03e3 243a0436 nbranch p_fire_key_press ,blank 
+03e4 6fe0cc32 fetch 1 ,mem_fire_key_status 
+03e5 243a0435 nbranch p_fire_key_process ,blank 
+03e6 204003e8 call p_mouse_check_key_gpio 
+03e7 202040dd branch mouse_key + 1 
 
 p_mouse_check_key_gpio:
-03e3 6fe0cbe1 fetch 1 ,mem_sensor_shutdown_flag 
-03e4 245a4121 ncall mouse_check_key_gpio_once ,blank 
-03e5 da200000 arg 0 ,rega 
-03e6 204003ed call p_mouse_check_lkey_gpio 
-03e7 204003f2 call p_mouse_check_rkey_gpio 
-03e8 204003f7 call p_mouse_check_mkey_gpio 
-03e9 204003fc call p_mouse_check_bkkey_gpio 
-03ea 20400409 call p_mouse_check_fwkey_gpio 
-03eb 2040041a call p_mouse_check_firekey_gpio 
-03ec 2020411e branch mouse_check_key_gpio_next 
+03e8 6fe0cbe1 fetch 1 ,mem_sensor_shutdown_flag 
+03e9 245a4121 ncall mouse_check_key_gpio_once ,blank 
+03ea da200000 arg 0 ,rega 
+03eb 204003f2 call p_mouse_check_lkey_gpio 
+03ec 204003f7 call p_mouse_check_rkey_gpio 
+03ed 204003fc call p_mouse_check_mkey_gpio 
+03ee 20400401 call p_mouse_check_bkkey_gpio 
+03ef 2040040e call p_mouse_check_fwkey_gpio 
+03f0 2040041f call p_mouse_check_firekey_gpio 
+03f1 2020411e branch mouse_check_key_gpio_next 
 
 p_mouse_check_lkey_gpio:
-03ed 6fe0c918 fetch 1 ,mem_lbutton_gpio 
-03ee 20400416 call p_mouse_gpio_config_output_high 
-03ef 20404124 call mouse_check_lkey_gpio 
-03f0 6848c918 fetcht 1 ,mem_lbutton_gpio 
-03f1 20203f56 branch mouse_gpio_config_input_pu 
+03f2 6fe0c918 fetch 1 ,mem_lbutton_gpio 
+03f3 2040041b call p_mouse_gpio_config_output_high 
+03f4 20404124 call mouse_check_lkey_gpio 
+03f5 6848c918 fetcht 1 ,mem_lbutton_gpio 
+03f6 20203f56 branch mouse_gpio_config_input_pu 
 
 p_mouse_check_rkey_gpio:
-03f2 6fe0c919 fetch 1 ,mem_rbutton_gpio 
-03f3 20400416 call p_mouse_gpio_config_output_high 
-03f4 2040412a call mouse_check_rkey_gpio 
-03f5 6848c919 fetcht 1 ,mem_rbutton_gpio 
-03f6 20203f56 branch mouse_gpio_config_input_pu 
+03f7 6fe0c919 fetch 1 ,mem_rbutton_gpio 
+03f8 2040041b call p_mouse_gpio_config_output_high 
+03f9 2040412a call mouse_check_rkey_gpio 
+03fa 6848c919 fetcht 1 ,mem_rbutton_gpio 
+03fb 20203f56 branch mouse_gpio_config_input_pu 
 
 p_mouse_check_mkey_gpio:
-03f7 6fe0c91a fetch 1 ,mem_mbutton_gpio 
-03f8 20400416 call p_mouse_gpio_config_output_high 
-03f9 20404130 call mouse_check_mkey_gpio 
-03fa 6848c91a fetcht 1 ,mem_mbutton_gpio 
-03fb 20203f56 branch mouse_gpio_config_input_pu 
+03fc 6fe0c91a fetch 1 ,mem_mbutton_gpio 
+03fd 2040041b call p_mouse_gpio_config_output_high 
+03fe 20404130 call mouse_check_mkey_gpio 
+03ff 6848c91a fetcht 1 ,mem_mbutton_gpio 
+0400 20203f56 branch mouse_gpio_config_input_pu 
 
 p_mouse_check_bkkey_gpio:
-03fc 6fe0c90d fetch 1 ,mem_bk_button_gpio 
-03fd c17f8000 rtneq gpio_disable 
-03fe 704b9603 jam mouse_bk_key ,mem_mouse_key_temp 
-03ff 6fe0cb91 fetch 1 ,mem_mouse_bkkey_press_status 
-0400 1fe22600 copy pdata ,regc 
-0401 6848c90d fetcht 1 ,mem_bk_button_gpio 
-0402 6fe0c910 fetch 1 ,mem_matrix_public_gpio 
-0403 c07f8405 beq gpio_disable ,p_mouse_3io6key_bk_check 
-0404 2020413e branch mouse_check_bkkey_gpio_next 
+0401 6fe0c90d fetch 1 ,mem_bk_button_gpio 
+0402 c17f8000 rtneq gpio_disable 
+0403 704b9603 jam mouse_bk_key ,mem_mouse_key_temp 
+0404 6fe0cb91 fetch 1 ,mem_mouse_bkkey_press_status 
+0405 1fe22600 copy pdata ,regc 
+0406 6848c90d fetcht 1 ,mem_bk_button_gpio 
+0407 6fe0c910 fetch 1 ,mem_matrix_public_gpio 
+0408 c07f840a beq gpio_disable ,p_mouse_3io6key_bk_check 
+0409 2020413e branch mouse_check_bkkey_gpio_next 
 
 p_mouse_3io6key_bk_check:
-0405 6fe0c90d fetch 1 ,mem_bk_button_gpio 
-0406 20400418 call p_mouse_gpio_config_output_low 
-0407 6848c90d fetcht 1 ,mem_bk_button_gpio 
-0408 2020414b branch mouse_3io6key_bk_check 
+040a 6fe0c90d fetch 1 ,mem_bk_button_gpio 
+040b 2040041d call p_mouse_gpio_config_output_low 
+040c 6848c90d fetcht 1 ,mem_bk_button_gpio 
+040d 2020414b branch mouse_3io6key_bk_check 
 
 p_mouse_check_fwkey_gpio:
-0409 6fe0c90e fetch 1 ,mem_fw_button_gpio 
-040a c17f8000 rtneq gpio_disable 
-040b 704b9604 jam mouse_fw_key ,mem_mouse_key_temp 
-040c 6fe0cb92 fetch 1 ,mem_mouse_fwkey_press_status 
-040d 1fe22600 copy pdata ,regc 
-040e 6848c90e fetcht 1 ,mem_fw_button_gpio 
-040f 6fe0c910 fetch 1 ,mem_matrix_public_gpio 
-0410 c07f8412 beq gpio_disable ,p_mouse_3io6key_fw_check 
-0411 20204157 branch mouse_check_fwkey_gpio_next 
+040e 6fe0c90e fetch 1 ,mem_fw_button_gpio 
+040f c17f8000 rtneq gpio_disable 
+0410 704b9604 jam mouse_fw_key ,mem_mouse_key_temp 
+0411 6fe0cb92 fetch 1 ,mem_mouse_fwkey_press_status 
+0412 1fe22600 copy pdata ,regc 
+0413 6848c90e fetcht 1 ,mem_fw_button_gpio 
+0414 6fe0c910 fetch 1 ,mem_matrix_public_gpio 
+0415 c07f8417 beq gpio_disable ,p_mouse_3io6key_fw_check 
+0416 20204157 branch mouse_check_fwkey_gpio_next 
 
 p_mouse_3io6key_fw_check:
-0412 6fe0c90e fetch 1 ,mem_fw_button_gpio 
-0413 20400418 call p_mouse_gpio_config_output_low 
-0414 6848c90e fetcht 1 ,mem_fw_button_gpio 
-0415 20204164 branch mouse_3io6key_fw_check 
+0417 6fe0c90e fetch 1 ,mem_fw_button_gpio 
+0418 2040041d call p_mouse_gpio_config_output_low 
+0419 6848c90e fetcht 1 ,mem_fw_button_gpio 
+041a 20204164 branch mouse_3io6key_fw_check 
 
 p_mouse_gpio_config_output_high:
-0416 d840003f arg gpcfg_output_high ,temp 
-0417 20206093 branch gpio_config_function_int 
+041b d840003f arg gpcfg_output_high ,temp 
+041c 20206093 branch gpio_config_function_int 
 
 p_mouse_gpio_config_output_low:
-0418 d840003e arg gpcfg_output_low ,temp 
-0419 20206093 branch gpio_config_function_int 
+041d d840003e arg gpcfg_output_low ,temp 
+041e 20206093 branch gpio_config_function_int 
 
 p_mouse_check_firekey_gpio:
-041a da400000 arg 0 ,regb 
-041b 6fe0cc38 fetch 1 ,mem_firebutton_gpio 
-041c c17f8000 rtneq gpio_disable 
-041d 6fe0cc39 fetch 1 ,mem_mouse_firebutton_connect_vin_flag 
-041e 243a0427 nbranch p_mouse_check_firekey_connect_vin ,blank 
+041f da400000 arg 0 ,regb 
+0420 6fe0cc38 fetch 1 ,mem_firebutton_gpio 
+0421 c17f8000 rtneq gpio_disable 
+0422 6fe0cc39 fetch 1 ,mem_mouse_firebutton_connect_vin_flag 
+0423 243a042c nbranch p_mouse_check_firekey_connect_vin ,blank 
 
 p_mouse_check_firekey_connect_gnd:
-041f 6848cc38 fetcht 1 ,mem_firebutton_gpio 
-0420 20403f56 call mouse_gpio_config_input_pu 
-0421 6848cc38 fetcht 1 ,mem_firebutton_gpio 
-0422 20406059 call gpio_get_bit 
-0423 7920a400 setflag true ,0 ,regb 
+0424 6848cc38 fetcht 1 ,mem_firebutton_gpio 
+0425 20403f56 call mouse_gpio_config_input_pu 
+0426 6848cc38 fetcht 1 ,mem_firebutton_gpio 
+0427 20406059 call gpio_get_bit 
+0428 7920a400 setflag true ,0 ,regb 
 
 p_mouse_firekey_state_store:
-0424 1a427e00 copy regb ,pdata 
-0425 67e0cc37 store 1 ,mem_fire_key_flag 
-0426 20600000 rtn 
+0429 1a427e00 copy regb ,pdata 
+042a 67e0cc37 store 1 ,mem_fire_key_flag 
+042b 20600000 rtn 
 
 p_mouse_check_firekey_connect_vin:
-0427 6fe0cc38 fetch 1 ,mem_firebutton_gpio 
-0428 793ffe07 set0 gpio_active_bit ,pdata 
-0429 67e0cc38 store 1 ,mem_firebutton_gpio 
-042a 6848cc38 fetcht 1 ,mem_firebutton_gpio 
-042b 20403f54 call mouse_gpio_config_input_pd 
-042c 6848cc38 fetcht 1 ,mem_firebutton_gpio 
-042d 20406059 call gpio_get_bit 
-042e 7d20a400 nsetflag true ,0 ,regb 
-042f 20200424 branch p_mouse_firekey_state_store 
+042c 6fe0cc38 fetch 1 ,mem_firebutton_gpio 
+042d 793ffe07 set0 gpio_active_bit ,pdata 
+042e 67e0cc38 store 1 ,mem_firebutton_gpio 
+042f 6848cc38 fetcht 1 ,mem_firebutton_gpio 
+0430 20403f54 call mouse_gpio_config_input_pd 
+0431 6848cc38 fetcht 1 ,mem_firebutton_gpio 
+0432 20406059 call gpio_get_bit 
+0433 7d20a400 nsetflag true ,0 ,regb 
+0434 20200429 branch p_mouse_firekey_state_store 
 
 p_fire_key_process:
-0430 c002044b beq 4 ,p_fire_key_process_end 
+0435 c0020450 beq 4 ,p_fire_key_process_end 
 
 p_fire_key_press:
-0431 2040044e call p_firekey_clkn_bt_timer_check 
-0432 6fe24c33 fetch 4 ,mem_fire_key_delay 
-0433 d84000a0 arg 0xa0 ,temp 
-0434 98408400 iadd temp ,temp 
-0435 1c427e00 copy clkn_bt ,pdata 
-0436 98467c00 isub temp ,null 
-0437 24610000 nrtn positive 
-0438 67e24c33 store 4 ,mem_fire_key_delay 
-0439 6fe0cc32 fetch 1 ,mem_fire_key_status 
-043a c000043f beq 0 ,p_fire_key_process_start 
-043b c0008442 beq 1 ,p_fire_key_process_release1 
-043c c0010445 beq 2 ,p_fire_key_process_start2 
-043d c0018448 beq 3 ,p_fire_key_process_release2 
-043e 20600000 rtn 
+0436 20400453 call p_firekey_clkn_bt_timer_check 
+0437 6fe24c33 fetch 4 ,mem_fire_key_delay 
+0438 d84000a0 arg 0xa0 ,temp 
+0439 98408400 iadd temp ,temp 
+043a 1c427e00 copy clkn_bt ,pdata 
+043b 98467c00 isub temp ,null 
+043c 24610000 nrtn positive 
+043d 67e24c33 store 4 ,mem_fire_key_delay 
+043e 6fe0cc32 fetch 1 ,mem_fire_key_status 
+043f c0000444 beq 0 ,p_fire_key_process_start 
+0440 c0008447 beq 1 ,p_fire_key_process_release1 
+0441 c001044a beq 2 ,p_fire_key_process_start2 
+0442 c001844d beq 3 ,p_fire_key_process_release2 
+0443 20600000 rtn 
 
 p_fire_key_process_start:
-043f 704c3201 jam 1 ,mem_fire_key_status 
-0440 7048d001 jam 1 ,mem_mouse_key 
-0441 20207e54 branch enable_user 
+0444 704c3201 jam 1 ,mem_fire_key_status 
+0445 7048d001 jam 1 ,mem_mouse_key 
+0446 20207e54 branch enable_user 
 
 p_fire_key_process_release1:
-0442 704c3202 jam 2 ,mem_fire_key_status 
-0443 7048d000 jam 0 ,mem_mouse_key 
-0444 20207e54 branch enable_user 
+0447 704c3202 jam 2 ,mem_fire_key_status 
+0448 7048d000 jam 0 ,mem_mouse_key 
+0449 20207e54 branch enable_user 
 
 p_fire_key_process_start2:
-0445 704c3203 jam 3 ,mem_fire_key_status 
-0446 7048d001 jam 1 ,mem_mouse_key 
-0447 20207e54 branch enable_user 
+044a 704c3203 jam 3 ,mem_fire_key_status 
+044b 7048d001 jam 1 ,mem_mouse_key 
+044c 20207e54 branch enable_user 
 
 p_fire_key_process_release2:
-0448 704c3200 jam 0 ,mem_fire_key_status 
-0449 7048d000 jam 0 ,mem_mouse_key 
-044a 20207e54 branch enable_user 
+044d 704c3200 jam 0 ,mem_fire_key_status 
+044e 7048d000 jam 0 ,mem_mouse_key 
+044f 20207e54 branch enable_user 
 
 p_fire_key_process_end:
-044b 704c3200 jam 0 ,mem_fire_key_status 
-044c 7048d000 jam 0 ,mem_mouse_key 
-044d 20600000 rtn 
+0450 704c3200 jam 0 ,mem_fire_key_status 
+0451 7048d000 jam 0 ,mem_mouse_key 
+0452 20600000 rtn 
 
 p_firekey_clkn_bt_timer_check:
-044e 684a4c33 fetcht 4 ,mem_fire_key_delay 
-044f 1c427e00 copy clkn_bt ,pdata 
-0450 98467c00 isub temp ,null 
-0451 24410453 ncall p_firekey_clkn_bt_timer_timeout ,positive 
-0452 20600000 rtn 
+0453 684a4c33 fetcht 4 ,mem_fire_key_delay 
+0454 1c427e00 copy clkn_bt ,pdata 
+0455 98467c00 isub temp ,null 
+0456 24410458 ncall p_firekey_clkn_bt_timer_timeout ,positive 
+0457 20600000 rtn 
 
 p_firekey_clkn_bt_timer_timeout:
-0453 58000000 setarg 0 
-0454 67e24c33 store 4 ,mem_fire_key_delay 
-0455 20600000 rtn 
+0458 58000000 setarg 0 
+0459 67e24c33 store 4 ,mem_fire_key_delay 
+045a 20600000 rtn 
 
 p_mouse_idle:
-0456 20404990 call mouse_low_voltage_led_no_enter_lpm 
-0457 20407936 call ui_check_paring_button 
-0458 2040045b call p_mouse_dpi_check 
-0459 2040046f call p_mouse_dpi_another_gpio_check 
-045a 2020464f branch mouse_idle + 4 
+045b 20404990 call mouse_low_voltage_led_no_enter_lpm 
+045c 20407936 call ui_check_paring_button 
+045d 20400460 call p_mouse_dpi_check 
+045e 20400474 call p_mouse_dpi_another_gpio_check 
+045f 2020464f branch mouse_idle + 4 
 
 p_mouse_dpi_check:
-045b 6fe44bab fetch mouse_flag_len ,mem_mouse_flag 
-045c c2974036 bbit1 mouse_enable_dpi_key_connect_adc ,mouse_dpi_check_connect_adc 
-045d 6fe0c90f fetch 1 ,mem_dpi_button_gpio 
-045e c17f8000 rtneq gpio_disable 
-045f da200000 arg 0 ,rega 
-0460 704b9605 jam mouse_dpi_key ,mem_mouse_key_temp 
-0461 6848c90f fetcht 1 ,mem_dpi_button_gpio 
-0462 20400464 call p_mouse_dpi_key_check 
-0463 2020402f branch mouse_dpi_check_next 
+0460 6fe44bab fetch mouse_flag_len ,mem_mouse_flag 
+0461 c2974036 bbit1 mouse_enable_dpi_key_connect_adc ,mouse_dpi_check_connect_adc 
+0462 6fe0c90f fetch 1 ,mem_dpi_button_gpio 
+0463 c17f8000 rtneq gpio_disable 
+0464 da200000 arg 0 ,rega 
+0465 704b9605 jam mouse_dpi_key ,mem_mouse_key_temp 
+0466 6848c90f fetcht 1 ,mem_dpi_button_gpio 
+0467 20400469 call p_mouse_dpi_key_check 
+0468 2020402f branch mouse_dpi_check_next 
 
 p_mouse_dpi_key_check:
-0464 6fe44bab fetch mouse_flag_len ,mem_mouse_flag 
-0465 c2964048 bbit1 mouse_enable_dpi_key_connect_gnd ,mouse_dpi_key_connect_gnd 
-0466 6fe0cb93 fetch 1 ,mem_mouse_dpikey_press_status 
-0467 1fe22600 copy pdata ,regc 
-0468 6fe0c910 fetch 1 ,mem_matrix_public_gpio 
-0469 c07f846b beq gpio_disable ,p_mouse_3io6key_dpi_check 
-046a 2020403f branch mouse_dpi_key_check_next 
+0469 6fe44bab fetch mouse_flag_len ,mem_mouse_flag 
+046a c2964048 bbit1 mouse_enable_dpi_key_connect_gnd ,mouse_dpi_key_connect_gnd 
+046b 6fe0cb93 fetch 1 ,mem_mouse_dpikey_press_status 
+046c 1fe22600 copy pdata ,regc 
+046d 6fe0c910 fetch 1 ,mem_matrix_public_gpio 
+046e c07f8470 beq gpio_disable ,p_mouse_3io6key_dpi_check 
+046f 2020403f branch mouse_dpi_key_check_next 
 
 p_mouse_3io6key_dpi_check:
-046b 6fe0c90f fetch 1 ,mem_dpi_button_gpio 
-046c 20400418 call p_mouse_gpio_config_output_low 
-046d 6848c90f fetcht 1 ,mem_dpi_button_gpio 
-046e 20204195 branch mouse_3io6key_check 
+0470 6fe0c90f fetch 1 ,mem_dpi_button_gpio 
+0471 2040041d call p_mouse_gpio_config_output_low 
+0472 6848c90f fetcht 1 ,mem_dpi_button_gpio 
+0473 20204195 branch mouse_3io6key_check 
 
 p_mouse_dpi_another_gpio_check:
-046f 6fe44bab fetch mouse_flag_len ,mem_mouse_flag 
-0470 c41e8000 rtnbit0 mouse_enable_double_dpi_key 
-0471 6fe0cc3a fetch 1 ,mem_dpi_another_button_gpio 
-0472 20400416 call p_mouse_gpio_config_output_high 
-0473 20400476 call p_mouse_dpi_another_check 
-0474 6848cc3a fetcht 1 ,mem_dpi_another_button_gpio 
-0475 20203f56 branch mouse_gpio_config_input_pu 
+0474 6fe44bab fetch mouse_flag_len ,mem_mouse_flag 
+0475 c41e8000 rtnbit0 mouse_enable_double_dpi_key 
+0476 6fe0cc3a fetch 1 ,mem_dpi_another_button_gpio 
+0477 2040041b call p_mouse_gpio_config_output_high 
+0478 2040047b call p_mouse_dpi_another_check 
+0479 6848cc3a fetcht 1 ,mem_dpi_another_button_gpio 
+047a 20203f56 branch mouse_gpio_config_input_pu 
 
 p_mouse_dpi_another_check:
-0476 704c3e00 jam mouse_dpi_another_key ,mem_mouse_key_temp_patch 
-0477 6848cc3a fetcht 1 ,mem_dpi_another_button_gpio 
-0478 6fe0cc3b fetch 1 ,mem_dpi_another_press_status 
-0479 20400485 call p_mouse_check_key_connect_gnd_new 
-047a 67e0cc3b store 1 ,mem_dpi_another_press_status 
-047b 6fe0cc3d fetch 1 ,mem_dpi_another_button_down_enable 
-047c 203a0481 branch p_mouse_dpi_another_up ,blank 
+047b 704c3e00 jam mouse_dpi_another_key ,mem_mouse_key_temp_patch 
+047c 6848cc3a fetcht 1 ,mem_dpi_another_button_gpio 
+047d 6fe0cc3b fetch 1 ,mem_dpi_another_press_status 
+047e 2040048a call p_mouse_check_key_connect_gnd_new 
+047f 67e0cc3b store 1 ,mem_dpi_another_press_status 
+0480 6fe0cc3d fetch 1 ,mem_dpi_another_button_down_enable 
+0481 203a0486 branch p_mouse_dpi_another_up ,blank 
 
 p_mouse_dpi_another_down:
-047d 6fe0cc3c fetch 1 ,mem_dpi_another_button_state 
-047e c1008000 rtneq dpi_button_state_down 
-047f 704c3c01 jam dpi_button_state_down ,mem_dpi_another_button_state 
-0480 20204069 branch mouse_dpi_process 
+0482 6fe0cc3c fetch 1 ,mem_dpi_another_button_state 
+0483 c1008000 rtneq dpi_button_state_down 
+0484 704c3c01 jam dpi_button_state_down ,mem_dpi_another_button_state 
+0485 20204069 branch mouse_dpi_process 
 
 p_mouse_dpi_another_up:
-0481 6fe0cc3c fetch 1 ,mem_dpi_another_button_state 
-0482 c1000000 rtneq dpi_button_state_up 
-0483 704c3c00 jam dpi_button_state_up ,mem_dpi_another_button_state 
-0484 20600000 rtn 
+0486 6fe0cc3c fetch 1 ,mem_dpi_another_button_state 
+0487 c1000000 rtneq dpi_button_state_up 
+0488 704c3c00 jam dpi_button_state_up ,mem_dpi_another_button_state 
+0489 20600000 rtn 
 
 p_mouse_check_key_connect_gnd_new:
-0485 1fe3fe00 lshift pdata ,pdata 
-0486 1fe22400 copy pdata ,regb 
-0487 20406059 call gpio_get_bit 
-0488 7920a400 setflag true ,0 ,regb 
-0489 1a417e07 and regb ,0x07 ,pdata 
-048a 6848cc3e fetcht 1 ,mem_mouse_key_temp_patch 
-048b 18420e00 copy temp ,queue 
-048c c003848f beq 0x07 ,p_mouse_key_press 
-048d c0000491 beq 0x00 ,p_mouse_key_release 
-048e 20600000 rtn 
+048a 1fe3fe00 lshift pdata ,pdata 
+048b 1fe22400 copy pdata ,regb 
+048c 20406059 call gpio_get_bit 
+048d 7920a400 setflag true ,0 ,regb 
+048e 1a417e07 and regb ,0x07 ,pdata 
+048f 6848cc3e fetcht 1 ,mem_mouse_key_temp_patch 
+0490 18420e00 copy temp ,queue 
+0491 c0038494 beq 0x07 ,p_mouse_key_press 
+0492 c0000496 beq 0x00 ,p_mouse_key_release 
+0493 20600000 rtn 
 
 p_mouse_key_press:
-048f 704c3d01 jam 1 ,mem_dpi_another_button_down_enable 
-0490 20600000 rtn 
+0494 704c3d01 jam 1 ,mem_dpi_another_button_down_enable 
+0495 20600000 rtn 
 
 p_mouse_key_release:
-0491 704c3d00 jam 0 ,mem_dpi_another_button_down_enable 
-0492 20600000 rtn 
+0496 704c3d00 jam 0 ,mem_dpi_another_button_down_enable 
+0497 20600000 rtn 
 
 p_mouse_dpi_process:
-0493 20404072 call mouse_dpi_ghost_check 
-0494 20740000 rtn user 
-0495 6fe0c992 fetch 1 ,mem_mouse_dpi 
-0496 1fe20400 copy pdata ,temp 
-0497 6fe44bab fetch mouse_flag_len ,mem_mouse_flag 
-0498 c29e849f bbit1 mouse_enable_double_dpi_key ,p_mouse_double_dpi_check 
-0499 18427e00 copy temp ,pdata 
-049a 1fe0fe01 increase 1 ,pdata 
-049b 1fe17e03 and pdata ,0x03 ,pdata 
+0498 20404072 call mouse_dpi_ghost_check 
+0499 20740000 rtn user 
+049a 6fe0c992 fetch 1 ,mem_mouse_dpi 
+049b 1fe20400 copy pdata ,temp 
+049c 6fe44bab fetch mouse_flag_len ,mem_mouse_flag 
+049d c29e84a4 bbit1 mouse_enable_double_dpi_key ,p_mouse_double_dpi_check 
+049e 18427e00 copy temp ,pdata 
+049f 1fe0fe01 increase 1 ,pdata 
+04a0 1fe17e03 and pdata ,0x03 ,pdata 
 
 p_mouse_dpi_store:
-049c 67e0c992 store 1 ,mem_mouse_dpi 
-049d 20404095 call mouse_seting_dpi 
-049e 202045ee branch mouse_store_device_info_delay 
+04a1 67e0c992 store 1 ,mem_mouse_dpi 
+04a2 20404095 call mouse_seting_dpi 
+04a3 202045ee branch mouse_store_device_info_delay 
 
 p_mouse_double_dpi_check:
-049f 6fe0cc3d fetch 1 ,mem_dpi_another_button_down_enable 
-04a0 243a04aa nbranch p_mouse_another_dpi_button_down ,blank 
+04a4 6fe0cc3d fetch 1 ,mem_dpi_another_button_down_enable 
+04a5 243a04af nbranch p_mouse_another_dpi_button_down ,blank 
 
 p_mouse_dpi_increase:
-04a1 6fe44bab fetch mouse_flag_len ,mem_mouse_flag 
-04a2 c28e04a7 bbit1 mouse_enable_dpi_level_4 ,p_mouse_dpi_increase_level_4 
-04a3 18427e00 copy temp ,pdata 
-04a4 c1010000 rtneq mouse_dpi_level3 
+04a6 6fe44bab fetch mouse_flag_len ,mem_mouse_flag 
+04a7 c28e04ac bbit1 mouse_enable_dpi_level_4 ,p_mouse_dpi_increase_level_4 
+04a8 18427e00 copy temp ,pdata 
+04a9 c1010000 rtneq mouse_dpi_level3 
 
 p_mouse_dpi_increase_level:
-04a5 1fe0fe01 increase 1 ,pdata 
-04a6 2020049c branch p_mouse_dpi_store 
+04aa 1fe0fe01 increase 1 ,pdata 
+04ab 202004a1 branch p_mouse_dpi_store 
 
 p_mouse_dpi_increase_level_4:
-04a7 18427e00 copy temp ,pdata 
-04a8 c1018000 rtneq mouse_dpi_level4 
-04a9 202004a5 branch p_mouse_dpi_increase_level 
+04ac 18427e00 copy temp ,pdata 
+04ad c1018000 rtneq mouse_dpi_level4 
+04ae 202004aa branch p_mouse_dpi_increase_level 
 
 p_mouse_another_dpi_button_down:
 
 p_mouse_dpi_decrease:
-04aa 18427e00 copy temp ,pdata 
-04ab c1000000 rtneq mouse_dpi_level1 
-04ac 1fe0ffff increase -1 ,pdata 
-04ad 2020049c branch p_mouse_dpi_store 
+04af 18427e00 copy temp ,pdata 
+04b0 c1000000 rtneq mouse_dpi_level1 
+04b1 1fe0ffff increase -1 ,pdata 
+04b2 202004a1 branch p_mouse_dpi_store 
 
 p_fcc_mode_start:
-04ae 204012d1 call init_lpm_ctrl 
-04af 20404970 call mouse_low_voltage_led_on 
-04b0 58000e15 setarg mem_fcc_mode_end 
-04b1 d8a00a01 arg mem_fcc_mode_start ,contw 
-04b2 98a67200 isub contw ,loopcnt 
-04b3 20407d26 call clear_mem 
-04b4 204004b8 call p_pn9 
-04b5 2040054e call p_fcc_step1_scan_mode 
-04b6 700a0619 jam 0x19 ,mem_fcc_data_length_new 
-04b7 202004cb branch p_test_tx_new_param 
+04b3 204012d1 call init_lpm_ctrl 
+04b4 20404970 call mouse_low_voltage_led_on 
+04b5 58000e15 setarg mem_fcc_mode_end 
+04b6 d8a00a01 arg mem_fcc_mode_start ,contw 
+04b7 98a67200 isub contw ,loopcnt 
+04b8 20407d26 call clear_mem 
+04b9 204004bd call p_pn9 
+04ba 20400553 call p_fcc_step1_scan_mode 
+04bb 700a0619 jam 0x19 ,mem_fcc_data_length_new 
+04bc 202004d0 branch p_test_tx_new_param 
 
 p_pn9:
-04b8 df2003fe arg 1022 ,loopcnt 
-04b9 d8a00a17 arg mem_pn9 ,contw 
-04ba 580001ff setarg 0x1ff 
-04bb 18002400 force 0 ,regb 
+04bd df2003fe arg 1022 ,loopcnt 
+04be d8a00a17 arg mem_pn9 ,contw 
+04bf 580001ff setarg 0x1ff 
+04c0 18002400 force 0 ,regb 
 
 p_pn9_loop:
-04bc 1fe92200 rshift3 pdata ,rega 
-04bd 1a232200 rshift rega ,rega 
-04be 9a22a200 ixor rega ,rega 
-04bf 2a2ffe00 isolate1 0 ,rega 
-04c0 7920fe09 setflag true ,9 ,pdata 
-04c1 18430400 rshift temp ,temp 
-04c2 2feffe00 isolate1 0 ,pdata 
-04c3 79208407 setflag true ,7 ,temp 
-04c4 1fe37e00 rshift pdata ,pdata 
-04c5 1a40a401 increase 1 ,regb 
-04c6 2a400e00 compare 0 ,regb ,0x7 
-04c7 242084bc nbranch p_pn9_loop ,true 
-04c8 e0408005 istoret 1 ,contw 
-04c9 c20004bc loop p_pn9_loop 
-04ca 20600000 rtn 
+04c1 1fe92200 rshift3 pdata ,rega 
+04c2 1a232200 rshift rega ,rega 
+04c3 9a22a200 ixor rega ,rega 
+04c4 2a2ffe00 isolate1 0 ,rega 
+04c5 7920fe09 setflag true ,9 ,pdata 
+04c6 18430400 rshift temp ,temp 
+04c7 2feffe00 isolate1 0 ,pdata 
+04c8 79208407 setflag true ,7 ,temp 
+04c9 1fe37e00 rshift pdata ,pdata 
+04ca 1a40a401 increase 1 ,regb 
+04cb 2a400e00 compare 0 ,regb ,0x7 
+04cc 242084c1 nbranch p_pn9_loop ,true 
+04cd e0408005 istoret 1 ,contw 
+04ce c20004c1 loop p_pn9_loop 
+04cf 20600000 rtn 
 
 p_test_tx_new_param:
-04cb 6fe38a01 fetch 7 ,mem_fcc_param_new 
-04cc 67e38a08 store 7 ,mem_fcc_param 
+04d0 6fe38a01 fetch 7 ,mem_fcc_param_new 
+04d1 67e38a08 store 7 ,mem_fcc_param 
 
 p_test_tx_or_rx:
-04cd 6fe08a0a fetch 1 ,mem_fcc_txrx 
-04ce c00084d0 beq 0x01 ,p_test_tx_start 
-04cf c0010511 beq 0x02 ,p_test_rx_start 
+04d2 6fe08a0a fetch 1 ,mem_fcc_txrx 
+04d3 c00084d5 beq 0x01 ,p_test_tx_start 
+04d4 c0010516 beq 0x02 ,p_test_rx_start 
 
 p_test_tx_start:
 
 p_test_ble_tx_on:
-04d0 20401161 call set_sync_on 
-04d1 68488a08 fetcht 1 ,mem_fcc_ch 
-04d2 20401205 call set_freq_tx 
-04d3 204016a5 call le_enable 
-04d4 79202a00 set1 txgfsk ,radio_ctrl 
-04d5 782efc00 enable encode_fec0 
-04d6 78307c00 enable is_tx 
-04d7 7850fc00 disable is_rx 
-04d8 20401744 call le_wait_tx 
-04d9 6fe08a0c fetch 1 ,mem_fcc_data 
-04da 67f0890d store 1 ,core_tx_test_mode 
-04db c00004e7 beq 0 ,p_test_tx_data 
+04d5 20401161 call set_sync_on 
+04d6 68488a08 fetcht 1 ,mem_fcc_ch 
+04d7 20401205 call set_freq_tx 
+04d8 204016a5 call le_enable 
+04d9 79202a00 set1 txgfsk ,radio_ctrl 
+04da 782efc00 enable encode_fec0 
+04db 78307c00 enable is_tx 
+04dc 7850fc00 disable is_rx 
+04dd 20401744 call le_wait_tx 
+04de 6fe08a0c fetch 1 ,mem_fcc_data 
+04df 67f0890d store 1 ,core_tx_test_mode 
+04e0 c00004ec beq 0 ,p_test_tx_data 
 
 p_test_tx_carrier_loop:
-04dc 6f208a0d fetchr loopcnt ,1 ,mem_fcc_data_length 
-04dd d8c00a17 arg mem_pn9 ,contr 
+04e1 6f208a0d fetchr loopcnt ,1 ,mem_fcc_data_length 
+04e2 d8c00a17 arg mem_pn9 ,contr 
 
 p_pnloop_carrier:
-04de efe08006 ifetch 1 ,contr 
-04df 08008608 inject mod ,8 
-04e0 c20004de loop p_pnloop_carrier 
-04e1 2040051b call p_key_wheel_process 
-04e2 6fe38a08 fetch 7 ,mem_fcc_param 
-04e3 684b8a01 fetcht 7 ,mem_fcc_param_new 
-04e4 98467c00 isub temp ,null 
-04e5 202284dc branch p_test_tx_carrier_loop ,zero 
-04e6 202004cb branch p_test_tx_new_param 
+04e3 efe08006 ifetch 1 ,contr 
+04e4 08008608 inject mod ,8 
+04e5 c20004e3 loop p_pnloop_carrier 
+04e6 20400520 call p_key_wheel_process 
+04e7 6fe38a08 fetch 7 ,mem_fcc_param 
+04e8 684b8a01 fetcht 7 ,mem_fcc_param_new 
+04e9 98467c00 isub temp ,null 
+04ea 202284e1 branch p_test_tx_carrier_loop ,zero 
+04eb 202004d0 branch p_test_tx_new_param 
 
 p_test_tx_data:
-04e7 6fe08a0e fetch 1 ,mem_fcc_hop 
-04e8 c00084f5 beq 1 ,p_tx_data_hopping 
+04ec 6fe08a0e fetch 1 ,mem_fcc_hop 
+04ed c00084fa beq 1 ,p_tx_data_hopping 
 
 p_tx_data:
-04e9 df200035 arg 53 ,loopcnt 
-04ea d8c00a17 arg mem_pn9 ,contr 
+04ee df200035 arg 53 ,loopcnt 
+04ef d8c00a17 arg mem_pn9 ,contr 
 
 p_pnloop_stable:
-04eb efe08006 ifetch 1 ,contr 
-04ec 08008608 inject mod ,8 
-04ed c20004eb loop p_pnloop_stable 
+04f0 efe08006 ifetch 1 ,contr 
+04f1 08008608 inject mod ,8 
+04f2 c20004f0 loop p_pnloop_stable 
 
 p_stable_stop:
-04ee 2040051b call p_key_wheel_process 
-04ef 6fe38a08 fetch 7 ,mem_fcc_param 
-04f0 684b8a01 fetcht 7 ,mem_fcc_param_new 
-04f1 98467c00 isub temp ,null 
-04f2 202284e9 branch p_tx_data ,zero 
-04f3 2040114f call shutdown_radio 
-04f4 202004cb branch p_test_tx_new_param 
+04f3 20400520 call p_key_wheel_process 
+04f4 6fe38a08 fetch 7 ,mem_fcc_param 
+04f5 684b8a01 fetcht 7 ,mem_fcc_param_new 
+04f6 98467c00 isub temp ,null 
+04f7 202284ee branch p_tx_data ,zero 
+04f8 2040114f call shutdown_radio 
+04f9 202004d0 branch p_test_tx_new_param 
 
 p_tx_data_hopping:
-04f5 78487c00 disable swfine 
-04f6 db60001a arg 26 ,stop_watch 
+04fa 78487c00 disable swfine 
+04fb db60001a arg 26 ,stop_watch 
 
 p_tx_data_hopping2:
-04f7 df200037 arg 55 ,loopcnt 
-04f8 d8c00a17 arg mem_pn9 ,contr 
+04fc df200037 arg 55 ,loopcnt 
+04fd d8c00a17 arg mem_pn9 ,contr 
 
 p_pnloop_stable2:
-04f9 efe08006 ifetch 1 ,contr 
-04fa 08008608 inject mod ,8 
-04fb c20004f9 loop p_pnloop_stable2 
-04fc 242184f7 nbranch p_tx_data_hopping2 ,timeout 
-04fd 2040114f call shutdown_radio 
-04fe d8e0000f arg 15 ,queue 
-04ff 58000320 setarg 800 
-0500 20407d66 call timer_init 
+04fe efe08006 ifetch 1 ,contr 
+04ff 08008608 inject mod ,8 
+0500 c20004fe loop p_pnloop_stable2 
+0501 242184fc nbranch p_tx_data_hopping2 ,timeout 
+0502 2040114f call shutdown_radio 
+0503 d8e0000f arg 15 ,queue 
+0504 58000320 setarg 800 
+0505 20407d66 call timer_init 
 
 p_500ms_cycle:
-0501 d8e0000f arg 15 ,queue 
-0502 20407d74 call timer_check 
-0503 203a0508 branch p_hopping_change_ch ,blank 
-0504 2040051b call p_key_wheel_process 
-0505 6fe08a12 fetch 1 ,mem_fcc_mode_switch 
-0506 c0008501 beq fcc_step1_scan_mode ,p_500ms_cycle 
-0507 202004cb branch p_test_tx_new_param 
+0506 d8e0000f arg 15 ,queue 
+0507 20407d74 call timer_check 
+0508 203a050d branch p_hopping_change_ch ,blank 
+0509 20400520 call p_key_wheel_process 
+050a 6fe08a12 fetch 1 ,mem_fcc_mode_switch 
+050b c0008506 beq fcc_step1_scan_mode ,p_500ms_cycle 
+050c 202004d0 branch p_test_tx_new_param 
 
 p_hopping_change_ch:
-0508 2040050a call p_hopping_ch_update 
-0509 202004cb branch p_test_tx_new_param 
+050d 2040050f call p_hopping_ch_update 
+050e 202004d0 branch p_test_tx_new_param 
 
 p_hopping_ch_update:
-050a 6fe08a16 fetch 1 ,mem_fcc_scan_mode_mkey_press 
-050b 243a0591 nbranch p_fcc_set_channel_2408 ,blank 
-050c 6fe08a01 fetch 1 ,mem_fcc_ch_new 
-050d 1fe0fe02 pincrease 2 
-050e 67e08a01 store 1 ,mem_fcc_ch_new 
-050f c1a50000 rtnne 74 
-0510 20200591 branch p_fcc_set_channel_2408 
+050f 6fe08a16 fetch 1 ,mem_fcc_scan_mode_mkey_press 
+0510 243a0596 nbranch p_fcc_set_channel_2408 ,blank 
+0511 6fe08a01 fetch 1 ,mem_fcc_ch_new 
+0512 1fe0fe02 pincrease 2 
+0513 67e08a01 store 1 ,mem_fcc_ch_new 
+0514 c1a50000 rtnne 74 
+0515 20200596 branch p_fcc_set_channel_2408 
 
 p_test_rx_start:
-0511 20400518 call p_test_ble_rx_on 
+0516 2040051d call p_test_ble_rx_on 
 
 p_test_rx_loop:
-0512 2040051b call p_key_wheel_process 
-0513 6fe38a08 fetch 7 ,mem_fcc_param 
-0514 684b8a01 fetcht 7 ,mem_fcc_param_new 
-0515 98467c00 isub temp ,null 
-0516 20228512 branch p_test_rx_loop ,zero 
-0517 202004cb branch p_test_tx_new_param 
+0517 20400520 call p_key_wheel_process 
+0518 6fe38a08 fetch 7 ,mem_fcc_param 
+0519 684b8a01 fetcht 7 ,mem_fcc_param_new 
+051a 98467c00 isub temp ,null 
+051b 20228517 branch p_test_rx_loop ,zero 
+051c 202004d0 branch p_test_tx_new_param 
 
 p_test_ble_rx_on:
-0518 2040114f call shutdown_radio 
-0519 68488a08 fetcht 1 ,mem_fcc_ch 
-051a 202016c8 branch le_rf_rx_enable 
+051d 2040114f call shutdown_radio 
+051e 68488a08 fetcht 1 ,mem_fcc_ch 
+051f 202016c8 branch le_rf_rx_enable 
 
 p_key_wheel_process:
-051b 2040051d call p_key_process 
-051c 2020059a branch p_wheel_process 
+0520 20400522 call p_key_process 
+0521 2020059f branch p_wheel_process 
 
 p_key_process:
-051d 78547c00 disable user 
-051e 204040dc call mouse_key 
-051f 24740000 nrtn user 
-0520 6fe0c8d0 fetch 1 ,mem_mouse_key 
-0521 c0008528 beq mouse_l_button ,p_fcc_mode_exit 
-0522 c001052d beq mouse_r_button ,p_fcc_mode_switch 
-0523 c0020584 beq mouse_m_button ,p_fcc_mkey_channel_switch 
-0524 700a1300 jam 0 ,mem_fcc_lkey_press 
-0525 700a1400 jam 0 ,mem_fcc_rkey_press 
-0526 700a1500 jam 0 ,mem_fcc_mkey_press 
-0527 20600000 rtn 
+0522 78547c00 disable user 
+0523 204040dc call mouse_key 
+0524 24740000 nrtn user 
+0525 6fe0c8d0 fetch 1 ,mem_mouse_key 
+0526 c000852d beq mouse_l_button ,p_fcc_mode_exit 
+0527 c0010532 beq mouse_r_button ,p_fcc_mode_switch 
+0528 c0020589 beq mouse_m_button ,p_fcc_mkey_channel_switch 
+0529 700a1300 jam 0 ,mem_fcc_lkey_press 
+052a 700a1400 jam 0 ,mem_fcc_rkey_press 
+052b 700a1500 jam 0 ,mem_fcc_mkey_press 
+052c 20600000 rtn 
 
 p_fcc_mode_exit:
-0528 6fe08a13 fetch 1 ,mem_fcc_lkey_press 
-0529 247a0000 nrtn blank 
-052a 700a1301 jam 1 ,mem_fcc_lkey_press 
-052b 70801001 jam 1 ,core_reset 
-052c 2020137a branch assert 
+052d 6fe08a13 fetch 1 ,mem_fcc_lkey_press 
+052e 247a0000 nrtn blank 
+052f 700a1301 jam 1 ,mem_fcc_lkey_press 
+0530 70801001 jam 1 ,core_reset 
+0531 2020137a branch assert 
 
 p_fcc_mode_switch:
-052d 6fe08a14 fetch 1 ,mem_fcc_rkey_press 
-052e 247a0000 nrtn blank 
-052f 700a1401 jam 1 ,mem_fcc_rkey_press 
-0530 20400532 call p_fcc_mode_cnt 
-0531 20200538 branch p_fcc_mode_choose 
+0532 6fe08a14 fetch 1 ,mem_fcc_rkey_press 
+0533 247a0000 nrtn blank 
+0534 700a1401 jam 1 ,mem_fcc_rkey_press 
+0535 20400537 call p_fcc_mode_cnt 
+0536 2020053d branch p_fcc_mode_choose 
 
 p_fcc_mode_cnt:
-0532 6fe08a12 fetch 1 ,mem_fcc_mode_switch 
-0533 1fe0fe01 pincrease 1 
-0534 67e08a12 store 1 ,mem_fcc_mode_switch 
-0535 c18a0000 rtnne fcc_step_max 
-0536 700a1201 jam fcc_step1_scan_mode ,mem_fcc_mode_switch 
-0537 20600000 rtn 
+0537 6fe08a12 fetch 1 ,mem_fcc_mode_switch 
+0538 1fe0fe01 pincrease 1 
+0539 67e08a12 store 1 ,mem_fcc_mode_switch 
+053a c18a0000 rtnne fcc_step_max 
+053b 700a1201 jam fcc_step1_scan_mode ,mem_fcc_mode_switch 
+053c 20600000 rtn 
 
 p_fcc_mode_choose:
-0538 6fe08a12 fetch 1 ,mem_fcc_mode_switch 
-0539 c000854e beq fcc_step1_scan_mode ,p_fcc_step1_scan_mode 
-053a 700a1600 jam 0 ,mem_fcc_scan_mode_mkey_press 
-053b c0010556 beq fcc_step2_mod_tx_2408 ,p_fcc_step2_mod_tx_2408 
-053c c001855b beq fcc_step3_mod_tx_2440 ,p_fcc_step3_mod_tx_2440 
-053d c002055f beq fcc_step4_mod_tx_2474 ,p_fcc_step4_mod_tx_2474 
-053e c0028563 beq fcc_step5_mod_rx_2408 ,p_fcc_step5_mod_rx_2408 
-053f c0030566 beq fcc_step6_mod_rx_2440 ,p_fcc_step6_mod_rx_2440 
-0540 c0038569 beq fcc_step7_mod_rx_2474 ,p_fcc_step7_mod_rx_2474 
-0541 c004056c beq fcc_step8_non_mod_tx_2408 ,p_fcc_non_mod_tx_2408 
-0542 c0048570 beq fcc_step9_non_mod_tx_2440 ,p_fcc_non_mod_tx_2440 
-0543 c0050574 beq fcc_step10_non_mod_tx_2474 ,p_fcc_non_mod_tx_2474 
-0544 c0058578 beq fcc_step11_non_mod_rx_2408 ,p_fcc_non_mod_rx_2408 
-0545 c006057c beq fcc_step12_non_mod_rx_2440 ,p_fcc_non_mod_rx_2440 
-0546 c0068580 beq fcc_step13_non_mod_rx_2474 ,p_fcc_non_mod_rx_2474 
-0547 c007056c beq fcc_step14_non_mod_tx_2408 ,p_fcc_non_mod_tx_2408 
-0548 c0078570 beq fcc_step15_non_mod_tx_2440 ,p_fcc_non_mod_tx_2440 
-0549 c0080574 beq fcc_step16_non_mod_tx_2474 ,p_fcc_non_mod_tx_2474 
-054a c0088578 beq fcc_step17_non_mod_rx_2408 ,p_fcc_non_mod_rx_2408 
-054b c009057c beq fcc_step18_non_mod_rx_2440 ,p_fcc_non_mod_rx_2440 
-054c c0098580 beq fcc_step19_non_mod_rx_2474 ,p_fcc_non_mod_rx_2474 
-054d 20600000 rtn 
+053d 6fe08a12 fetch 1 ,mem_fcc_mode_switch 
+053e c0008553 beq fcc_step1_scan_mode ,p_fcc_step1_scan_mode 
+053f 700a1600 jam 0 ,mem_fcc_scan_mode_mkey_press 
+0540 c001055b beq fcc_step2_mod_tx_2408 ,p_fcc_step2_mod_tx_2408 
+0541 c0018560 beq fcc_step3_mod_tx_2440 ,p_fcc_step3_mod_tx_2440 
+0542 c0020564 beq fcc_step4_mod_tx_2474 ,p_fcc_step4_mod_tx_2474 
+0543 c0028568 beq fcc_step5_mod_rx_2408 ,p_fcc_step5_mod_rx_2408 
+0544 c003056b beq fcc_step6_mod_rx_2440 ,p_fcc_step6_mod_rx_2440 
+0545 c003856e beq fcc_step7_mod_rx_2474 ,p_fcc_step7_mod_rx_2474 
+0546 c0040571 beq fcc_step8_non_mod_tx_2408 ,p_fcc_non_mod_tx_2408 
+0547 c0048575 beq fcc_step9_non_mod_tx_2440 ,p_fcc_non_mod_tx_2440 
+0548 c0050579 beq fcc_step10_non_mod_tx_2474 ,p_fcc_non_mod_tx_2474 
+0549 c005857d beq fcc_step11_non_mod_rx_2408 ,p_fcc_non_mod_rx_2408 
+054a c0060581 beq fcc_step12_non_mod_rx_2440 ,p_fcc_non_mod_rx_2440 
+054b c0068585 beq fcc_step13_non_mod_rx_2474 ,p_fcc_non_mod_rx_2474 
+054c c0070571 beq fcc_step14_non_mod_tx_2408 ,p_fcc_non_mod_tx_2408 
+054d c0078575 beq fcc_step15_non_mod_tx_2440 ,p_fcc_non_mod_tx_2440 
+054e c0080579 beq fcc_step16_non_mod_tx_2474 ,p_fcc_non_mod_tx_2474 
+054f c008857d beq fcc_step17_non_mod_rx_2408 ,p_fcc_non_mod_rx_2408 
+0550 c0090581 beq fcc_step18_non_mod_rx_2440 ,p_fcc_non_mod_rx_2440 
+0551 c0098585 beq fcc_step19_non_mod_rx_2474 ,p_fcc_non_mod_rx_2474 
+0552 20600000 rtn 
 
 p_fcc_step1_scan_mode:
-054e 700a1201 jam fcc_step1_scan_mode ,mem_fcc_mode_switch 
-054f 700a1600 jam 0 ,mem_fcc_scan_mode_mkey_press 
-0550 700a0106 jam 6 ,mem_fcc_ch_new 
-0551 700a0500 jam 0 ,mem_fcc_data_new 
-0552 700a0301 jam 0x01 ,mem_fcc_txrx_new 
-0553 700a0401 jam 0x01 ,mem_fcc_btble_new 
-0554 700a0701 jam 0x01 ,mem_fcc_hop_new 
-0555 20600000 rtn 
-
-p_fcc_step2_mod_tx_2408:
-0556 700a0106 jam 6 ,mem_fcc_ch_new 
-0557 700a0500 jam 0x00 ,mem_fcc_data_new 
-0558 700a0301 jam 0x01 ,mem_fcc_txrx_new 
-0559 700a0700 jam 0x00 ,mem_fcc_hop_new 
+0553 700a1201 jam fcc_step1_scan_mode ,mem_fcc_mode_switch 
+0554 700a1600 jam 0 ,mem_fcc_scan_mode_mkey_press 
+0555 700a0106 jam 6 ,mem_fcc_ch_new 
+0556 700a0500 jam 0 ,mem_fcc_data_new 
+0557 700a0301 jam 0x01 ,mem_fcc_txrx_new 
+0558 700a0401 jam 0x01 ,mem_fcc_btble_new 
+0559 700a0701 jam 0x01 ,mem_fcc_hop_new 
 055a 20600000 rtn 
 
-p_fcc_step3_mod_tx_2440:
-055b 700a0126 jam 38 ,mem_fcc_ch_new 
+p_fcc_step2_mod_tx_2408:
+055b 700a0106 jam 6 ,mem_fcc_ch_new 
 055c 700a0500 jam 0x00 ,mem_fcc_data_new 
 055d 700a0301 jam 0x01 ,mem_fcc_txrx_new 
-055e 20600000 rtn 
+055e 700a0700 jam 0x00 ,mem_fcc_hop_new 
+055f 20600000 rtn 
+
+p_fcc_step3_mod_tx_2440:
+0560 700a0126 jam 38 ,mem_fcc_ch_new 
+0561 700a0500 jam 0x00 ,mem_fcc_data_new 
+0562 700a0301 jam 0x01 ,mem_fcc_txrx_new 
+0563 20600000 rtn 
 
 p_fcc_step4_mod_tx_2474:
-055f 700a0148 jam 72 ,mem_fcc_ch_new 
-0560 700a0500 jam 0x00 ,mem_fcc_data_new 
-0561 700a0301 jam 0x01 ,mem_fcc_txrx_new 
-0562 20600000 rtn 
+0564 700a0148 jam 72 ,mem_fcc_ch_new 
+0565 700a0500 jam 0x00 ,mem_fcc_data_new 
+0566 700a0301 jam 0x01 ,mem_fcc_txrx_new 
+0567 20600000 rtn 
 
 p_fcc_step5_mod_rx_2408:
-0563 700a0106 jam 6 ,mem_fcc_ch_new 
-0564 700a0302 jam 0x02 ,mem_fcc_txrx_new 
-0565 20600000 rtn 
+0568 700a0106 jam 6 ,mem_fcc_ch_new 
+0569 700a0302 jam 0x02 ,mem_fcc_txrx_new 
+056a 20600000 rtn 
 
 p_fcc_step6_mod_rx_2440:
-0566 700a0126 jam 38 ,mem_fcc_ch_new 
-0567 700a0302 jam 0x02 ,mem_fcc_txrx_new 
-0568 20600000 rtn 
+056b 700a0126 jam 38 ,mem_fcc_ch_new 
+056c 700a0302 jam 0x02 ,mem_fcc_txrx_new 
+056d 20600000 rtn 
 
 p_fcc_step7_mod_rx_2474:
-0569 700a0148 jam 72 ,mem_fcc_ch_new 
-056a 700a0302 jam 0x02 ,mem_fcc_txrx_new 
-056b 20600000 rtn 
+056e 700a0148 jam 72 ,mem_fcc_ch_new 
+056f 700a0302 jam 0x02 ,mem_fcc_txrx_new 
+0570 20600000 rtn 
 
 p_fcc_non_mod_tx_2408:
-056c 700a0106 jam 6 ,mem_fcc_ch_new 
-056d 700a0522 jam 0x22 ,mem_fcc_data_new 
-056e 700a0301 jam 0x01 ,mem_fcc_txrx_new 
-056f 20600000 rtn 
+0571 700a0106 jam 6 ,mem_fcc_ch_new 
+0572 700a0522 jam 0x22 ,mem_fcc_data_new 
+0573 700a0301 jam 0x01 ,mem_fcc_txrx_new 
+0574 20600000 rtn 
 
 p_fcc_non_mod_tx_2440:
-0570 700a0126 jam 38 ,mem_fcc_ch_new 
-0571 700a0522 jam 0x22 ,mem_fcc_data_new 
-0572 700a0301 jam 0x01 ,mem_fcc_txrx_new 
-0573 20600000 rtn 
+0575 700a0126 jam 38 ,mem_fcc_ch_new 
+0576 700a0522 jam 0x22 ,mem_fcc_data_new 
+0577 700a0301 jam 0x01 ,mem_fcc_txrx_new 
+0578 20600000 rtn 
 
 p_fcc_non_mod_tx_2474:
-0574 700a0148 jam 72 ,mem_fcc_ch_new 
-0575 700a0522 jam 0x22 ,mem_fcc_data_new 
-0576 700a0301 jam 0x01 ,mem_fcc_txrx_new 
-0577 20600000 rtn 
+0579 700a0148 jam 72 ,mem_fcc_ch_new 
+057a 700a0522 jam 0x22 ,mem_fcc_data_new 
+057b 700a0301 jam 0x01 ,mem_fcc_txrx_new 
+057c 20600000 rtn 
 
 p_fcc_non_mod_rx_2408:
-0578 700a0106 jam 6 ,mem_fcc_ch_new 
-0579 700a0522 jam 0x22 ,mem_fcc_data_new 
-057a 700a0302 jam 0x02 ,mem_fcc_txrx_new 
-057b 20600000 rtn 
+057d 700a0106 jam 6 ,mem_fcc_ch_new 
+057e 700a0522 jam 0x22 ,mem_fcc_data_new 
+057f 700a0302 jam 0x02 ,mem_fcc_txrx_new 
+0580 20600000 rtn 
 
 p_fcc_non_mod_rx_2440:
-057c 700a0126 jam 38 ,mem_fcc_ch_new 
-057d 700a0522 jam 0x22 ,mem_fcc_data_new 
-057e 700a0302 jam 0x02 ,mem_fcc_txrx_new 
-057f 20600000 rtn 
+0581 700a0126 jam 38 ,mem_fcc_ch_new 
+0582 700a0522 jam 0x22 ,mem_fcc_data_new 
+0583 700a0302 jam 0x02 ,mem_fcc_txrx_new 
+0584 20600000 rtn 
 
 p_fcc_non_mod_rx_2474:
-0580 700a0148 jam 72 ,mem_fcc_ch_new 
-0581 700a0522 jam 0x22 ,mem_fcc_data_new 
-0582 700a0302 jam 0x02 ,mem_fcc_txrx_new 
-0583 20600000 rtn 
+0585 700a0148 jam 72 ,mem_fcc_ch_new 
+0586 700a0522 jam 0x22 ,mem_fcc_data_new 
+0587 700a0302 jam 0x02 ,mem_fcc_txrx_new 
+0588 20600000 rtn 
 
 p_fcc_mkey_channel_switch:
-0584 6fe08a15 fetch 1 ,mem_fcc_mkey_press 
-0585 247a0000 nrtn blank 
-0586 700a1501 jam 1 ,mem_fcc_mkey_press 
-0587 6fe08a12 fetch 1 ,mem_fcc_mode_switch 
-0588 c0008597 beq fcc_step1_scan_mode ,p_fcc_mkey_scan_mode_ch_switch 
-0589 c001058d beq fcc_step2_mod_tx_2408 ,p_fcc_mkey_mod_tx_channel_switch 
-058a c001858d beq fcc_step3_mod_tx_2440 ,p_fcc_mkey_mod_tx_channel_switch 
-058b c002058d beq fcc_step4_mod_tx_2474 ,p_fcc_mkey_mod_tx_channel_switch 
-058c 20600000 rtn 
+0589 6fe08a15 fetch 1 ,mem_fcc_mkey_press 
+058a 247a0000 nrtn blank 
+058b 700a1501 jam 1 ,mem_fcc_mkey_press 
+058c 6fe08a12 fetch 1 ,mem_fcc_mode_switch 
+058d c000859c beq fcc_step1_scan_mode ,p_fcc_mkey_scan_mode_ch_switch 
+058e c0010592 beq fcc_step2_mod_tx_2408 ,p_fcc_mkey_mod_tx_channel_switch 
+058f c0018592 beq fcc_step3_mod_tx_2440 ,p_fcc_mkey_mod_tx_channel_switch 
+0590 c0020592 beq fcc_step4_mod_tx_2474 ,p_fcc_mkey_mod_tx_channel_switch 
+0591 20600000 rtn 
 
 p_fcc_mkey_mod_tx_channel_switch:
-058d 6fe08a01 fetch 1 ,mem_fcc_ch_new 
-058e c0030593 beq 6 ,p_fcc_set_channel_2440 
-058f c0130595 beq 38 ,p_fcc_set_channel_2474 
-0590 c0240591 beq 72 ,p_fcc_set_channel_2408 
+0592 6fe08a01 fetch 1 ,mem_fcc_ch_new 
+0593 c0030598 beq 6 ,p_fcc_set_channel_2440 
+0594 c013059a beq 38 ,p_fcc_set_channel_2474 
+0595 c0240596 beq 72 ,p_fcc_set_channel_2408 
 
 p_fcc_set_channel_2408:
-0591 700a0106 jam 6 ,mem_fcc_ch_new 
-0592 20600000 rtn 
+0596 700a0106 jam 6 ,mem_fcc_ch_new 
+0597 20600000 rtn 
 
 p_fcc_set_channel_2440:
-0593 700a0126 jam 38 ,mem_fcc_ch_new 
-0594 20600000 rtn 
+0598 700a0126 jam 38 ,mem_fcc_ch_new 
+0599 20600000 rtn 
 
 p_fcc_set_channel_2474:
-0595 700a0148 jam 72 ,mem_fcc_ch_new 
-0596 20600000 rtn 
+059a 700a0148 jam 72 ,mem_fcc_ch_new 
+059b 20600000 rtn 
 
 p_fcc_mkey_scan_mode_ch_switch:
-0597 700a0106 jam 6 ,mem_fcc_ch_new 
-0598 700a1601 jam 1 ,mem_fcc_scan_mode_mkey_press 
-0599 20600000 rtn 
+059c 700a0106 jam 6 ,mem_fcc_ch_new 
+059d 700a1601 jam 1 ,mem_fcc_scan_mode_mkey_press 
+059e 20600000 rtn 
 
 p_wheel_process:
-059a 20403f88 call mouse_wheel_check 
-059b 6fe0c8e0 fetch 1 ,mem_mouse_z_data 
-059c 207a0000 rtn blank 
-059d 6fe08a12 fetch 1 ,mem_fcc_mode_switch 
-059e c00105a2 beq fcc_step2_mod_tx_2408 ,p_fcc_wheel_mod_tx_channel_switch 
-059f c00185a2 beq fcc_step3_mod_tx_2440 ,p_fcc_wheel_mod_tx_channel_switch 
-05a0 c00205a2 beq fcc_step4_mod_tx_2474 ,p_fcc_wheel_mod_tx_channel_switch 
-05a1 20600000 rtn 
+059f 20403f88 call mouse_wheel_check 
+05a0 6fe0c8e0 fetch 1 ,mem_mouse_z_data 
+05a1 207a0000 rtn blank 
+05a2 6fe08a12 fetch 1 ,mem_fcc_mode_switch 
+05a3 c00105a7 beq fcc_step2_mod_tx_2408 ,p_fcc_wheel_mod_tx_channel_switch 
+05a4 c00185a7 beq fcc_step3_mod_tx_2440 ,p_fcc_wheel_mod_tx_channel_switch 
+05a5 c00205a7 beq fcc_step4_mod_tx_2474 ,p_fcc_wheel_mod_tx_channel_switch 
+05a6 20600000 rtn 
 
 p_fcc_wheel_mod_tx_channel_switch:
-05a2 6fe0c8e0 fetch 1 ,mem_mouse_z_data 
-05a3 7048e000 jam 0 ,mem_mouse_z_data 
-05a4 c00085a7 beq 0x01 ,p_fcc_wheel_mod_tx_channel_inc 
-05a5 c07f85ad beq 0xff ,p_fcc_wheel_mod_tx_channel_dec 
-05a6 20600000 rtn 
+05a7 6fe0c8e0 fetch 1 ,mem_mouse_z_data 
+05a8 7048e000 jam 0 ,mem_mouse_z_data 
+05a9 c00085ac beq 0x01 ,p_fcc_wheel_mod_tx_channel_inc 
+05aa c07f85b2 beq 0xff ,p_fcc_wheel_mod_tx_channel_dec 
+05ab 20600000 rtn 
 
 p_fcc_wheel_mod_tx_channel_inc:
-05a7 6fe08a01 fetch 1 ,mem_fcc_ch_new 
-05a8 1fe0fe01 pincrease 1 
-05a9 67e08a01 store 1 ,mem_fcc_ch_new 
-05aa c1a48000 rtnne 73 
-05ab 700a0106 jam 6 ,mem_fcc_ch_new 
-05ac 20600000 rtn 
+05ac 6fe08a01 fetch 1 ,mem_fcc_ch_new 
+05ad 1fe0fe01 pincrease 1 
+05ae 67e08a01 store 1 ,mem_fcc_ch_new 
+05af c1a48000 rtnne 73 
+05b0 700a0106 jam 6 ,mem_fcc_ch_new 
+05b1 20600000 rtn 
 
 p_fcc_wheel_mod_tx_channel_dec:
-05ad 6fe08a01 fetch 1 ,mem_fcc_ch_new 
-05ae 1fe0ffff pincrease -1 
-05af 67e08a01 store 1 ,mem_fcc_ch_new 
-05b0 c1828000 rtnne 5 
-05b1 700a0148 jam 72 ,mem_fcc_ch_new 
-05b2 20600000 rtn 
+05b2 6fe08a01 fetch 1 ,mem_fcc_ch_new 
+05b3 1fe0ffff pincrease -1 
+05b4 67e08a01 store 1 ,mem_fcc_ch_new 
+05b5 c1828000 rtnne 5 
+05b6 700a0148 jam 72 ,mem_fcc_ch_new 
+05b7 20600000 rtn 
               org 0x800
 
 start:
Index: program/patch.prog
===================================================================
--- /YC1308AC/branch/mouse_project/AiTanSi_Project/Only2.4G_PBPair/program/patch.prog	(revision 1561)
+++ /YC1308AC/branch/mouse_project/AiTanSi_Project/Only2.4G_PBPair/program/patch.prog	(working copy)
@@ -924,14 +924,10 @@
 	fetch 1,mem_adc_low_volatage_led_timer_count
 	increase 1,pdata
 	store 1,mem_adc_low_volatage_led_timer_count
-	sub pdata,11,null
+	sub pdata,10,null
 	ncall mouse_adc_low_volatage_led_timer_count_clean,positive
-	beq 2,mouse_low_voltage_led_off
-	beq 7,mouse_low_voltage_led_on
-	//beq 2,mouse_low_voltage_led_on
-	//beq 4,mouse_low_voltage_led_off
-	//beq 6,mouse_low_voltage_led_on
-	//beq 8,mouse_low_voltage_led_off
+	beq 1,mouse_low_voltage_led_off
+	beq 6,mouse_low_voltage_led_on
 	rtn
 	
 p_mouse_low_power_timer:
@@ -1093,15 +1089,23 @@
 	arg mem_24g_low_power_stop_blink,regc
 	branch timer_single_step
 p_mouse_24g_lowpower_stop_blink_timeout:
-	jam 0x01,mem_low_power_led_flag
-	jam 0x06,mem_24g_low_power_led_off
-	rtn
+	jam 0x0a,mem_24g_low_power_led_off
+	branch p_mouse_24g_low_power_led_off
+
+//first power on use the blink 10 count off
+p_mouse_24g_low_power_led_off:
+	fetch 1,mem_mouse_power_on_led_flag
+	rtnne 0
+	jam 1,mem_mouse_power_on_led_flag
+	branch p_mouse_24g_low_power_led_off_timeout
 
 p_mouse_24g_low_power_led_off_timer:
 	arg p_mouse_24g_low_power_led_off_timeout,regb
 	arg mem_24g_low_power_led_off,regc
 	branch timer_single_step
 p_mouse_24g_low_power_led_off_timeout:
+	jam 0x01,mem_low_power_led_flag
+	jam 0,mem_adc_low_volatage_led_timer_count
 	fetch 1,mem_config_low_voltage_alarm_gpio
 	rtneq GPIO_DISABLE
 	fetcht 1,mem_config_low_voltage_alarm_gpio
@@ -1303,7 +1307,7 @@
 	nrtn blank
 	fetch 1,mem_mouse_adc_last_low_voltage_flag
 	rtneq 0
-	jam 0x6a,mem_24g_low_power_stop_blink
+	jam 0x59,mem_24g_low_power_stop_blink
 	rtn
 	
 p_mouse_drawing_optima:
