Index: output/flash.dat
===================================================================
--- /branch/mouse_project/YJX_Project/YJX_1059/PBSwitch_2.4G&BLE_509/output/flash.dat	(revision 3030)
+++ /branch/mouse_project/YJX_Project/YJX_1059/PBSwitch_2.4G&BLE_509/output/flash.dat	(working copy)
@@ -11,7 +11,7 @@
 20
 40
 03
-d7
+d8
 68
 00
 c1
@@ -35,7 +35,7 @@
 20
 40
 04
-9a
+9b
 20
 40
 03
@@ -87,7 +87,7 @@
 58
 00
 03
-8d
+8e
 60
 01
 4c
@@ -95,7 +95,7 @@
 58
 00
 03
-b0
+b1
 60
 01
 41
@@ -119,7 +119,7 @@
 58
 00
 04
-05
+06
 60
 01
 41
@@ -127,7 +127,7 @@
 58
 00
 03
-f2
+f3
 60
 01
 41
@@ -135,7 +135,7 @@
 58
 00
 04
-2e
+2f
 60
 01
 41
@@ -143,7 +143,7 @@
 58
 00
 04
-3a
+3b
 60
 01
 41
@@ -171,7 +171,7 @@
 20
 40
 04
-33
+34
 68
 00
 c7
@@ -399,7 +399,7 @@
 20
 40
 03
-9e
+9f
 20
 40
 74
@@ -599,7 +599,7 @@
 c0
 00
 83
-90
+91
 68
 00
 c6
@@ -607,7 +607,7 @@
 c2
 80
 83
-90
+91
 20
 40
 00
@@ -631,7 +631,7 @@
 20
 40
 03
-90
+91
 20
 40
 01
@@ -1095,7 +1095,7 @@
 20
 20
 04
-33
+34
 68
 00
 cb
@@ -1483,7 +1483,7 @@
 20
 40
 03
-aa
+ab
 20
 40
 01
@@ -2811,7 +2811,7 @@
 20
 40
 03
-94
+95
 20
 40
 00
@@ -2899,7 +2899,7 @@
 c0
 01
 03
-86
+87
 68
 00
 c2
@@ -2911,7 +2911,7 @@
 20
 40
 04
-b0
+b1
 70
 01
 6d
@@ -3584,6 +3584,10 @@
 7a
 00
 00
+20
+20
+04
+c5
 68
 08
 c7
@@ -3679,7 +3683,7 @@
 20
 40
 03
-9c
+9d
 d8
 c0
 19
@@ -3687,7 +3691,7 @@
 20
 40
 03
-9c
+9d
 d8
 c0
 1a
@@ -3695,7 +3699,7 @@
 20
 40
 03
-9c
+9d
 d8
 c0
 1b
@@ -3719,7 +3723,7 @@
 20
 40
 03
-9c
+9d
 d8
 a0
 19
@@ -3727,7 +3731,7 @@
 20
 40
 03
-9c
+9d
 d8
 a0
 1a
@@ -3735,7 +3739,7 @@
 20
 40
 03
-9c
+9d
 d8
 a0
 1b
@@ -3743,7 +3747,7 @@
 20
 20
 03
-9c
+9d
 70
 41
 72
@@ -3795,7 +3799,7 @@
 c0
 7f
 83
-b7
+b8
 68
 00
 c6
@@ -3831,7 +3835,7 @@
 c0
 00
 83
-d3
+d4
 20
 40
 3f
@@ -3843,15 +3847,15 @@
 20
 40
 03
-a7
+a8
 20
 40
 03
-aa
+ab
 20
 40
 03
-ed
+ee
 68
 00
 cb
@@ -3859,7 +3863,7 @@
 c0
 00
 83
-c8
+c9
 da
 20
 46
@@ -3871,7 +3875,7 @@
 20
 54
 03
-dc
+dd
 20
 60
 00
@@ -3935,7 +3939,7 @@
 20
 20
 03
-cd
+ce
 70
 47
 a2
@@ -3983,7 +3987,7 @@
 20
 34
 03
-e4
+e5
 20
 60
 00
@@ -4051,7 +4055,7 @@
 20
 40
 03
-f5
+f6
 20
 20
 3e
@@ -4075,7 +4079,7 @@
 20
 20
 84
-03
+04
 20
 40
 05
@@ -4127,35 +4131,35 @@
 c0
 0a
 04
-0f
+10
 c0
 0a
 84
-1e
+1f
 c0
 14
 84
-22
+23
 c0
 19
 04
-24
+25
 c0
 20
 04
-26
+27
 c0
 1c
 84
-28
+29
 c0
 1d
 04
-2a
+2b
 c0
 1e
 04
-2c
+2d
 20
 20
 41
@@ -4203,7 +4207,7 @@
 24
 3a
 04
-1b
+1c
 70
 4a
 bf
@@ -4215,7 +4219,7 @@
 20
 40
 03
-d7
+d8
 20
 20
 41
@@ -4223,7 +4227,7 @@
 20
 40
 04
-30
+31
 20
 40
 03
@@ -4335,7 +4339,7 @@
 20
 40
 04
-49
+4a
 20
 40
 04
@@ -4343,7 +4347,7 @@
 20
 40
 04
-88
+89
 20
 40
 04
@@ -4351,7 +4355,7 @@
 20
 40
 04
-8d
+8e
 20
 40
 42
@@ -4359,15 +4363,15 @@
 20
 40
 04
-b3
+b4
 20
 40
 04
-66
+67
 20
 40
 04
-6d
+6e
 20
 40
 42
@@ -4375,19 +4379,19 @@
 20
 40
 04
-72
+73
 20
 40
 04
-75
+76
 20
 40
 04
-7d
+7e
 20
 40
 04
-83
+84
 20
 20
 42
@@ -4407,7 +4411,7 @@
 da
 40
 04
-4e
+4f
 20
 20
 33
@@ -4471,7 +4475,7 @@
 20
 40
 04
-5e
+5f
 20
 20
 7d
@@ -4515,7 +4519,7 @@
 da
 40
 04
-69
+6a
 20
 20
 33
@@ -4543,7 +4547,7 @@
 da
 40
 04
-70
+71
 20
 20
 33
@@ -4583,7 +4587,7 @@
 da
 40
 04
-7a
+7b
 20
 20
 33
@@ -4607,7 +4611,7 @@
 da
 40
 04
-80
+81
 20
 20
 33
@@ -4623,7 +4627,7 @@
 20
 20
 04
-6b
+6c
 da
 60
 4b
@@ -4631,7 +4635,7 @@
 da
 40
 04
-86
+87
 20
 20
 33
@@ -4651,7 +4655,7 @@
 da
 40
 04
-8b
+8c
 20
 20
 33
@@ -4691,7 +4695,7 @@
 24
 20
 84
-9d
+9e
 20
 40
 05
@@ -4739,7 +4743,7 @@
 20
 40
 04
-a1
+a2
 20
 20
 43
@@ -4751,7 +4755,7 @@
 da
 40
 04
-a4
+a5
 20
 20
 33
@@ -4767,7 +4771,7 @@
 24
 3a
 04
-b0
+b1
 68
 01
 46
@@ -4835,7 +4839,7 @@
 24
 20
 84
-c4
+c5
 20
 40
 05
@@ -4847,7 +4851,7 @@
 24
 5a
 04
-c6
+c7
 68
 00
 c6
@@ -4879,7 +4883,7 @@
 20
 40
 03
-7f
+80
 20
 20
 43
@@ -4896,10 +4900,6 @@
 4a
 b2
 00
-70
-46
-d9
-01
 20
 60
 00
@@ -5113,7 +5113,7 @@
 c7
 20
 c0
-00
+80
 85
 02
 68
@@ -5891,7 +5891,7 @@
 20
 5a
 03
-e0
+e1
 20
 20
 56
@@ -7476,8 +7476,8 @@
 20
 07
 47
-cd
-ba
+a3
+78
 aa
 55
 08
@@ -8874,7 +8874,7 @@
 00
 14
 4b
-04
+05
 00
 aa
 55
@@ -8882,7 +8882,7 @@
 00
 20
 47
-01
+02
 ff
 ff
 ff
@@ -9094,7 +9094,7 @@
 20
 40
 04
-22
+23
 70
 46
 c6
@@ -9110,7 +9110,7 @@
 20
 40
 04
-30
+31
 20
 40
 03
@@ -9330,7 +9330,7 @@
 20
 40
 04
-22
+23
 70
 47
 c4
@@ -9402,7 +9402,7 @@
 20
 40
 03
-d7
+d8
 20
 40
 58
@@ -9414,7 +9414,7 @@
 20
 40
 04
-30
+31
 68
 12
 01
@@ -10434,7 +10434,7 @@
 20
 20
 03
-90
+91
 68
 02
 4b
@@ -10602,7 +10602,7 @@
 20
 40
 04
-30
+31
 70
 4c
 de
@@ -10722,7 +10722,7 @@
 20
 20
 03
-90
+91
 68
 02
 4b
@@ -10830,7 +10830,7 @@
 20
 34
 03
-8b
+8c
 79
 20
 00
@@ -10978,7 +10978,7 @@
 20
 20
 03
-8b
+8c
 00
 00
 00
@@ -11138,7 +11138,7 @@
 20
 40
 04
-64
+65
 20
 40
 43
@@ -11154,7 +11154,7 @@
 20
 40
 84
-56
+57
 68
 00
 c0
@@ -11610,7 +11610,7 @@
 20
 40
 04
-64
+65
 20
 40
 34
@@ -11630,7 +11630,7 @@
 20
 40
 04
-61
+62
 70
 43
 6f
@@ -12087,5 +12087,5 @@
 55
 00
 00
-84
-46
+99
+36
Index: output/program.lis
===================================================================
--- /branch/mouse_project/YJX_Project/YJX_1059/PBSwitch_2.4G&BLE_509/output/program.lis	(revision 3030)
+++ /branch/mouse_project/YJX_Project/YJX_1059/PBSwitch_2.4G&BLE_509/output/program.lis	(working copy)
@@ -7,13 +7,13 @@
 p_zcode:
 
 p_wake_from_power:
-0001 204003d7 call p_mouse_data_init 
+0001 204003d8 call p_mouse_data_init 
 0002 6800c1de fetch 1 ,mem_tx_power 
 0003 6000cc55 store 1 ,mem_tx_power_temp 
 0004 2040064e call power_ctrl_pac_succ_cnt_init 
 0005 6800c685 fetch 1 ,mem_ui_button_timeout 
 0006 6000c6da store 1 ,mem_combination_ui_button_count 
-0007 2040049a call p_mouse_bt_discovery_button_up_init 
+0007 2040049b call p_mouse_bt_discovery_button_up_init 
 0008 20400330 call p_mouse_spi_init 
 0009 204006e2 call p_drawing_optima_init 
 000a 20400014 call p_mouse_cb_fuction 
@@ -28,21 +28,21 @@
 0013 20200308 branch p_mouse_setting_config 
 
 p_mouse_cb_fuction:
-0014 5800038d setarg p_mouse_g24_package_data 
+0014 5800038e setarg p_mouse_g24_package_data 
 0015 60014ccf store 2 ,mem_cb_24g_data 
-0016 580003b0 setarg p_mouse_le 
+0016 580003b1 setarg p_mouse_le 
 0017 600141ef store 2 ,mem_cb_le_process 
 0018 58000621 setarg p_le_mouse_bb_event_connect_complete 
 0019 600141f9 store 2 ,mem_cb_att_write 
 001a 580002bc setarg p_mouse_before_lpm 
 001b 600141ed store 2 ,mem_cb_before_lpm 
-001c 58000405 setarg p_mouse_priority_bb_event 
+001c 58000406 setarg p_mouse_priority_bb_event 
 001d 600141f5 store 2 ,mem_cb_bb_event_process 
-001e 580003f2 setarg p_mouse_idle 
+001e 580003f3 setarg p_mouse_idle 
 001f 600141f3 store 2 ,mem_cb_idle_process 
-0020 5800042e setarg p_mouse_before_hibernate 
+0020 5800042f setarg p_mouse_before_hibernate 
 0021 600141eb store 2 ,mem_cb_before_hibernate 
-0022 5800043a setarg p_mouse_bb_event_timer 
+0022 5800043b setarg p_mouse_bb_event_timer 
 0023 600141fd store 2 ,mem_cb_event_timer 
 0024 20600000 rtn 
 
@@ -51,7 +51,7 @@
 0026 60014ce1 store 2 ,mem_24g_transmit_by_interrupt_exit_count_init 
 0027 2455802f ncall p_mouse_24g_transmit_by_interrupt_exit_count_max ,wake 
 0028 204002ec call p_mouse_init_sunt 
-0029 20400433 call p_mouse_sensor_powerdown 
+0029 20400434 call p_mouse_sensor_powerdown 
 
 p_mouse_wakeup_no_from_power:
 002a 6800c71f fetch 1 ,mem_reconn_times_init 
@@ -118,7 +118,7 @@
 005f d8a009ae arg mem_sp_state ,contw 
 0060 df20000c arg 12 ,loopcnt 
 0061 20407ed4 call clear_mem 
-0062 2040039e call p_mouse_le_txbuff_load 
+0062 2040039f call p_mouse_le_txbuff_load 
 0063 204074c1 call init_memp 
 0064 20406a03 call rfcomm_init 
 0065 20405cf6 call init_lmp 
@@ -182,9 +182,9 @@
 0091 6800cb11 fetch 1 ,mem_customer_data_trigger 
 0092 c000809c beq 1 ,p_g24_transmit_customer_data 
 0093 6800ca79 fetch 1 ,mem_mouse_multi_led_state 
-0094 c0008390 beq on ,p_g24_transmit_by_interrupt_enable 
+0094 c0008391 beq on ,p_g24_transmit_by_interrupt_enable 
 0095 6800c69a fetch 1 ,mem_mouse_key 
-0096 c2808390 bbit1 1 ,p_g24_transmit_by_interrupt_enable 
+0096 c2808391 bbit1 1 ,p_g24_transmit_by_interrupt_enable 
 
 p_g24_short_sleep:
 0097 204000d1 call p_g24_lpm_wait 
@@ -194,7 +194,7 @@
 009b 20202b93 branch lpm_dispatch_sleep 
 
 p_g24_transmit_customer_data:
-009c 20400390 call p_g24_transmit_by_interrupt_enable 
+009c 20400391 call p_g24_transmit_by_interrupt_enable 
 009d 2040018a call p_g24_accumulate_customer_data 
 009e 20400165 call p_g24_txdata_enable_tx 
 009f 2040019d call p_g24_transmit_packet 
@@ -350,7 +350,7 @@
 010d 6000ccee store 1 ,mem_24g_search_dongle_action 
 010e 58000708 setarg g24_disconn_nodata_timer 
 010f 600146b0 store 2 ,mem_mouse_no_data_timer 
-0110 20200433 branch p_mouse_sensor_powerdown 
+0110 20200434 branch p_mouse_sensor_powerdown 
 
 p_g24_search_dongle_success:
 0111 6800cbca fetch 1 ,mem_24g_abort_pac 
@@ -487,7 +487,7 @@
 016e 6800cb10 fetch 1 ,mem_normal_data_trigger 
 016f 203a018a branch p_g24_accumulate_customer_data ,blank 
 0170 704b9f01 jam type_ms ,mem_24g_data_type 
-0171 204003aa call p_mouse_data_xy_release 
+0171 204003ab call p_mouse_data_xy_release 
 0172 20400184 call p_g24_accumulate_data_head 
 0173 e8a88000 ifetcht 1 ,contw 
 0174 ea408000 ifetch 1 ,regb 
@@ -917,7 +917,7 @@
 
 p_mouse_before_lpm:
 02bc c6130000 rtnmark1 mark_24g 
-02bd 20400394 call p_mouse_le_txbuff_save 
+02bd 20400395 call p_mouse_le_txbuff_save 
 02be 204000d9 call p_mouse_setgpio_lpm 
 02bf 6800c040 fetch 1 ,mem_context 
 02c0 c30002c3 bbit0 state_inconn ,p_clear_wake 
@@ -949,10 +949,10 @@
 02d0 204002dd call p_mouse_tx_power_init 
 02d1 20400516 call p_mouse_mode_bt_device1_multi_led_on 
 02d2 6800c720 fetch 1 ,mem_device_flag 
-02d3 c0010386 beq mode_24g_device ,p_mouse_connect_24g_mode 
+02d3 c0010387 beq mode_24g_device ,p_mouse_connect_24g_mode 
 02d4 6800c210 fetch 1 ,mem_xrecord_mode 
 02d5 c01a02e0 beq rec_4_mode ,p_mouse4_0_check_reconn_target 
-02d6 204004b0 call p_mouse_fast_conn_adv_switch_timer_reinit 
+02d6 204004b1 call p_mouse_fast_conn_adv_switch_timer_reinit 
 02d7 70016d06 jam 6 ,mem_connection_options 
 
 p_mouse_check_fast_conn_adv_start:
@@ -1187,487 +1187,487 @@
 p_mouse_switch_hwakeup_bypb:
 037d 6800cab2 fetch 1 ,mem_mouse_select_device_button_wakeup_flag 
 037e 207a0000 rtn blank 
+037f 202004c5 branch p_mouse_select_device_button_down 
 
 p_mouse_switch_device:
-037f 6808c720 fetcht 1 ,mem_device_flag 
-0380 18408401 increase 1 ,temp 
-0381 6800c6d2 fetch 1 ,mem_device_number 
-0382 98467c00 isub temp ,null 
-0383 244143cc ncall mouse_select_device_count_clean ,positive 
-0384 6008c720 storet 1 ,mem_device_flag 
-0385 20200322 branch p_mouse_store_flash_device_info 
+0380 6808c720 fetcht 1 ,mem_device_flag 
+0381 18408401 increase 1 ,temp 
+0382 6800c6d2 fetch 1 ,mem_device_number 
+0383 98467c00 isub temp ,null 
+0384 244143cc ncall mouse_select_device_count_clean ,positive 
+0385 6008c720 storet 1 ,mem_device_flag 
+0386 20200322 branch p_mouse_store_flash_device_info 
 
 p_mouse_connect_24g_mode:
 
 p_mouse_start_24g_mode:
-0386 6800c241 fetch 1 ,mem_power_on_flag 
-0387 c281020f bbit1 2 ,p_g24_start_24g_mode 
-0388 68024a9e fetch 4 ,mem_mouse_24g_addr_init 
-0389 60024bc6 store 4 ,mem_24g_addr 
-038a 20400322 call p_mouse_store_flash_device_info 
+0387 6800c241 fetch 1 ,mem_power_on_flag 
+0388 c281020f bbit1 2 ,p_g24_start_24g_mode 
+0389 68024a9e fetch 4 ,mem_mouse_24g_addr_init 
+038a 60024bc6 store 4 ,mem_24g_addr 
+038b 20400322 call p_mouse_store_flash_device_info 
 
 p_g24_auto_pair_start:
-038b 7011c741 jam zcode_41 ,mem_zcode_temp_param0 
-038c 202006b5 branch p_zcode_entrance 
+038c 7011c741 jam zcode_41 ,mem_zcode_temp_param0 
+038d 202006b5 branch p_zcode_entrance 
 
 p_mouse_g24_package_data:
-038d 20404401 call mouse_g24_package_data 
-038e 6801469f fetch 2 ,mem_mouse_z 
-038f 207a0000 rtn blank 
+038e 20404401 call mouse_g24_package_data 
+038f 6801469f fetch 2 ,mem_mouse_z 
+0390 207a0000 rtn blank 
 
 p_g24_transmit_by_interrupt_enable:
-0390 704cde01 jam g24_tx_timer_int_enable ,mem_24g_transmit_by_interrupt 
-0391 58000000 setarg 0 
-0392 60014cdf store 2 ,mem_24g_transmit_by_interrupt_exit_count 
-0393 20600000 rtn 
+0391 704cde01 jam g24_tx_timer_int_enable ,mem_24g_transmit_by_interrupt 
+0392 58000000 setarg 0 
+0393 60014cdf store 2 ,mem_24g_transmit_by_interrupt_exit_count 
+0394 20600000 rtn 
 
 p_mouse_le_txbuff_save:
-0394 d8c01800 arg mem_le_tx_buffer0 ,contr 
-0395 d8a049e3 arg mem_le_tx_buffer0_omemalloc ,contw 
-0396 2040039c call p_mouse_le_txbuff_copy 
-0397 d8c01900 arg mem_le_tx_buffer1 ,contr 
-0398 2040039c call p_mouse_le_txbuff_copy 
-0399 d8c01a00 arg mem_le_tx_buffer2 ,contr 
-039a 2040039c call p_mouse_le_txbuff_copy 
-039b d8c01b00 arg mem_le_tx_buffer3 ,contr 
+0395 d8c01800 arg mem_le_tx_buffer0 ,contr 
+0396 d8a049e3 arg mem_le_tx_buffer0_omemalloc ,contw 
+0397 2040039d call p_mouse_le_txbuff_copy 
+0398 d8c01900 arg mem_le_tx_buffer1 ,contr 
+0399 2040039d call p_mouse_le_txbuff_copy 
+039a d8c01a00 arg mem_le_tx_buffer2 ,contr 
+039b 2040039d call p_mouse_le_txbuff_copy 
+039c d8c01b00 arg mem_le_tx_buffer3 ,contr 
 
 p_mouse_le_txbuff_copy:
-039c df20001b arg 27 ,loopcnt 
-039d 20207f01 branch memcpy 
+039d df20001b arg 27 ,loopcnt 
+039e 20207f01 branch memcpy 
 
 p_mouse_le_txbuff_load:
-039e d8c049e3 arg mem_le_tx_buffer0_omemalloc ,contr 
-039f d8a01800 arg mem_le_tx_buffer0 ,contw 
-03a0 2040039c call p_mouse_le_txbuff_copy 
-03a1 d8a01900 arg mem_le_tx_buffer1 ,contw 
-03a2 2040039c call p_mouse_le_txbuff_copy 
-03a3 d8a01a00 arg mem_le_tx_buffer2 ,contw 
-03a4 2040039c call p_mouse_le_txbuff_copy 
-03a5 d8a01b00 arg mem_le_tx_buffer3 ,contw 
-03a6 2020039c branch p_mouse_le_txbuff_copy 
+039f d8c049e3 arg mem_le_tx_buffer0_omemalloc ,contr 
+03a0 d8a01800 arg mem_le_tx_buffer0 ,contw 
+03a1 2040039d call p_mouse_le_txbuff_copy 
+03a2 d8a01900 arg mem_le_tx_buffer1 ,contw 
+03a3 2040039d call p_mouse_le_txbuff_copy 
+03a4 d8a01a00 arg mem_le_tx_buffer2 ,contw 
+03a5 2040039d call p_mouse_le_txbuff_copy 
+03a6 d8a01b00 arg mem_le_tx_buffer3 ,contw 
+03a7 2020039d branch p_mouse_le_txbuff_copy 
 
 p_mouse_le_current_mult_update:
-03a7 70417200 jam 0 ,mem_lpm_mult 
-03a8 704a951e jam 30 ,mem_mouse_le_current_mult_timer 
-03a9 20600000 rtn 
+03a8 70417200 jam 0 ,mem_lpm_mult 
+03a9 704a951e jam 30 ,mem_mouse_le_current_mult_timer 
+03aa 20600000 rtn 
 
 p_mouse_data_xy_release:
-03aa 6800ca94 fetch 1 ,mem_mouse_long_mult_flag 
-03ab c1808000 rtnne 1 
-03ac 58000000 setarg 0 
-03ad 6000ca94 store 1 ,mem_mouse_long_mult_flag 
-03ae 6002469b store 4 ,mem_mouse_x 
-03af 202002eb branch p_mouse_init_sensor_reset 
+03ab 6800ca94 fetch 1 ,mem_mouse_long_mult_flag 
+03ac c1808000 rtnne 1 
+03ad 58000000 setarg 0 
+03ae 6000ca94 store 1 ,mem_mouse_long_mult_flag 
+03af 6002469b store 4 ,mem_mouse_x 
+03b0 202002eb branch p_mouse_init_sensor_reset 
 
 p_mouse_le:
-03b0 20405892 call le_fifo_check_nearly_full 
-03b1 247a0000 nrtn blank 
-03b2 6800cac7 fetch 1 ,mem_mouse_fast_conn_flag 
-03b3 c07f83b7 beq 0xff ,p_mouse_le_next 
-03b4 6800c6c5 fetch 1 ,mem_le_connect_status_flag 
-03b5 1fe17e03 and pdata ,0x03 ,pdata 
-03b6 c1818000 rtnne 0x03 
+03b1 20405892 call le_fifo_check_nearly_full 
+03b2 247a0000 nrtn blank 
+03b3 6800cac7 fetch 1 ,mem_mouse_fast_conn_flag 
+03b4 c07f83b8 beq 0xff ,p_mouse_le_next 
+03b5 6800c6c5 fetch 1 ,mem_le_connect_status_flag 
+03b6 1fe17e03 and pdata ,0x03 ,pdata 
+03b7 c1818000 rtnne 0x03 
 
 p_mouse_le_next:
-03b7 6800c79e fetch 1 ,mem_mouse_clear_sensor_data_flag 
-03b8 205a02e9 call p_mouse_clear_sensor_data ,blank 
-03b9 680246d3 fetch mouse_flag_len ,mem_mouse_flag 
-03ba c282c179 bbit1 mouse_bt_discovery_button_down_flag ,mouse_le_send_empty_packet 
-03bb 6800cb12 fetch 1 ,mem_customer_bt_start_send_empty_packet 
-03bc c00083d3 beq 1 ,p_mouse_le_release_customer_data 
-03bd 20403f97 call mouse_motion 
-03be 24740000 nrtn user 
-03bf 204003a7 call p_mouse_le_current_mult_update 
-03c0 204003aa call p_mouse_data_xy_release 
-03c1 204003ed call p_mouse_wheel_trigger 
-03c2 6800cb11 fetch 1 ,mem_customer_data_trigger 
-03c3 c00083c8 beq 1 ,p_mouse_le_send_customer_packet 
+03b8 6800c79e fetch 1 ,mem_mouse_clear_sensor_data_flag 
+03b9 205a02e9 call p_mouse_clear_sensor_data ,blank 
+03ba 680246d3 fetch mouse_flag_len ,mem_mouse_flag 
+03bb c282c179 bbit1 mouse_bt_discovery_button_down_flag ,mouse_le_send_empty_packet 
+03bc 6800cb12 fetch 1 ,mem_customer_bt_start_send_empty_packet 
+03bd c00083d4 beq 1 ,p_mouse_le_release_customer_data 
+03be 20403f97 call mouse_motion 
+03bf 24740000 nrtn user 
+03c0 204003a8 call p_mouse_le_current_mult_update 
+03c1 204003ab call p_mouse_data_xy_release 
+03c2 204003ee call p_mouse_wheel_trigger 
+03c3 6800cb11 fetch 1 ,mem_customer_data_trigger 
+03c4 c00083c9 beq 1 ,p_mouse_le_send_customer_packet 
 
 p_mouse_data_push:
-03c4 da20469a arg mem_mouse_key ,rega 
-03c5 20407e3d call queue_push 
-03c6 205403dc call p_mouse_queue_increase ,user 
-03c7 20600000 rtn 
+03c5 da20469a arg mem_mouse_key ,rega 
+03c6 20407e3d call queue_push 
+03c7 205403dd call p_mouse_queue_increase ,user 
+03c8 20600000 rtn 
 
 p_mouse_le_send_customer_packet:
-03c8 6800cafc fetch 1 ,mem_customer_key 
-03c9 207a0000 rtn blank 
-03ca 704b1301 jam 1 ,mem_customer_bt_send_empty_packet_timer 
-03cb 68044aff fetch 8 ,mem_customer_key_press + 1 
-03cc 60040a9a store 8 ,mem_pdatatemp 
+03c9 6800cafc fetch 1 ,mem_customer_key 
+03ca 207a0000 rtn blank 
+03cb 704b1301 jam 1 ,mem_customer_bt_send_empty_packet_timer 
+03cc 68044aff fetch 8 ,mem_customer_key_press + 1 
+03cd 60040a9a store 8 ,mem_pdatatemp 
 
 p_mouse_fill_customer_data_le:
-03cd da200008 arg 8 ,rega 
-03ce d8400019 arg 0x19 ,temp 
-03cf 20405a64 call le_att_malloc_tx_notify 
-03d0 68040a9a fetch 8 ,mem_pdatatemp 
-03d1 e0a40000 istore 8 ,contw 
-03d2 20600000 rtn 
+03ce da200008 arg 8 ,rega 
+03cf d8400019 arg 0x19 ,temp 
+03d0 20405a64 call le_att_malloc_tx_notify 
+03d1 68040a9a fetch 8 ,mem_pdatatemp 
+03d2 e0a40000 istore 8 ,contw 
+03d3 20600000 rtn 
 
 p_mouse_le_release_customer_data:
-03d3 704b1200 jam 0 ,mem_customer_bt_start_send_empty_packet 
-03d4 68044b08 fetch 8 ,mem_customer_key_release + 1 
-03d5 60040a9a store 8 ,mem_pdatatemp 
-03d6 202003cd branch p_mouse_fill_customer_data_le 
+03d4 704b1200 jam 0 ,mem_customer_bt_start_send_empty_packet 
+03d5 68044b08 fetch 8 ,mem_customer_key_release + 1 
+03d6 60040a9a store 8 ,mem_pdatatemp 
+03d7 202003ce branch p_mouse_fill_customer_data_le 
 
 p_mouse_data_init:
-03d7 7047a207 jam 7 ,mem_mouse_data_queue 
-03d8 7047a304 jam 4 ,mem_mouse_data_queue + 1 
-03d9 580047a2 setarg mem_mouse_data_queue 
-03da 60014218 store 2 ,mem_queue_ptr 
-03db 20207e38 branch queue_init 
+03d8 7047a207 jam 7 ,mem_mouse_data_queue 
+03d9 7047a304 jam 4 ,mem_mouse_data_queue + 1 
+03da 580047a2 setarg mem_mouse_data_queue 
+03db 60014218 store 2 ,mem_queue_ptr 
+03dc 20207e38 branch queue_init 
 
 p_mouse_queue_increase:
-03dc 6800c7c3 fetch 1 ,mem_mouse_data_queue_num 
-03dd 1fe0fe01 increase 1 ,pdata 
-03de 6000c7c3 store 1 ,mem_mouse_data_queue_num 
-03df 20600000 rtn 
+03dd 6800c7c3 fetch 1 ,mem_mouse_data_queue_num 
+03de 1fe0fe01 increase 1 ,pdata 
+03df 6000c7c3 store 1 ,mem_mouse_data_queue_num 
+03e0 20600000 rtn 
 
 p_mouse_data_pull:
-03e0 da20469a arg mem_mouse_key ,rega 
-03e1 20407e54 call queue_pop 
-03e2 203403e4 branch p_mouse_fill_data_le ,user 
-03e3 20600000 rtn 
+03e1 da20469a arg mem_mouse_key ,rega 
+03e2 20407e54 call queue_pop 
+03e3 203403e5 branch p_mouse_fill_data_le ,user 
+03e4 20600000 rtn 
 
 p_mouse_fill_data_le:
-03e4 20405652 call le_clear_md 
-03e5 6800c7c3 fetch 1 ,mem_mouse_data_queue_num 
-03e6 1fe67c01 sub pdata ,1 ,null 
-03e7 24415650 ncall le_set_md ,positive 
-03e8 6800c7c3 fetch 1 ,mem_mouse_data_queue_num 
-03e9 207a0000 rtn blank 
-03ea 1fe0ffff increase -1 ,pdata 
-03eb 6000c7c3 store 1 ,mem_mouse_data_queue_num 
-03ec 20203f90 branch mouse_fill_data_le 
+03e5 20405652 call le_clear_md 
+03e6 6800c7c3 fetch 1 ,mem_mouse_data_queue_num 
+03e7 1fe67c01 sub pdata ,1 ,null 
+03e8 24415650 ncall le_set_md ,positive 
+03e9 6800c7c3 fetch 1 ,mem_mouse_data_queue_num 
+03ea 207a0000 rtn blank 
+03eb 1fe0ffff increase -1 ,pdata 
+03ec 6000c7c3 store 1 ,mem_mouse_data_queue_num 
+03ed 20203f90 branch mouse_fill_data_le 
 
 p_mouse_wheel_trigger:
-03ed 6801469f fetch 2 ,mem_mouse_z 
-03ee 207a0000 rtn blank 
-03ef 7049df01 jam 1 ,mem_mouse_wheel_trigger 
-03f0 7049e00a jam 10 ,mem_mouse_wheel_trigger_timer 
-03f1 20600000 rtn 
+03ee 6801469f fetch 2 ,mem_mouse_z 
+03ef 207a0000 rtn blank 
+03f0 7049df01 jam 1 ,mem_mouse_wheel_trigger 
+03f1 7049e00a jam 10 ,mem_mouse_wheel_trigger_timer 
+03f2 20600000 rtn 
 
 p_mouse_idle:
-03f2 20407e34 call ui_check_paring_button 
-03f3 204003f5 call p_mouse_dpi_check 
-03f4 20203ee0 branch mouse_wheel_check 
+03f3 20407e34 call ui_check_paring_button 
+03f4 204003f6 call p_mouse_dpi_check 
+03f5 20203ee0 branch mouse_wheel_check 
 
 p_mouse_dpi_check:
-03f5 6808c6e7 fetcht 1 ,mem_dpi_button_gpio 
-03f6 2040056b call p_gpio_set_input_pd 
-03f7 6808c6e7 fetcht 1 ,mem_dpi_button_gpio 
-03f8 2040681d call gpio_get_bit 
-03f9 20208403 branch p_mouse_dpi_up ,true 
-03fa 20400566 call p_gpio_set_input_pu 
+03f6 6808c6e7 fetcht 1 ,mem_dpi_button_gpio 
+03f7 2040056b call p_gpio_set_input_pd 
+03f8 6808c6e7 fetcht 1 ,mem_dpi_button_gpio 
+03f9 2040681d call gpio_get_bit 
+03fa 20208404 branch p_mouse_dpi_up ,true 
+03fb 20400566 call p_gpio_set_input_pu 
 
 p_mouse_dpi_down:
-03fb 6800c6b6 fetch 1 ,mem_mouse_dpi_button_state 
-03fc c1000000 rtneq dpi_button_state_down 
-03fd 7046b600 jam dpi_button_state_down ,mem_mouse_dpi_button_state 
-03fe 6800c77a fetch 1 ,mem_mouse_dpi 
-03ff 1fe0fe01 increase 1 ,pdata 
-0400 1fe17e03 and pdata ,0x03 ,pdata 
-0401 6000c77a store 1 ,mem_mouse_dpi 
-0402 20203d7e branch mouse_seting_dpi 
+03fc 6800c6b6 fetch 1 ,mem_mouse_dpi_button_state 
+03fd c1000000 rtneq dpi_button_state_down 
+03fe 7046b600 jam dpi_button_state_down ,mem_mouse_dpi_button_state 
+03ff 6800c77a fetch 1 ,mem_mouse_dpi 
+0400 1fe0fe01 increase 1 ,pdata 
+0401 1fe17e03 and pdata ,0x03 ,pdata 
+0402 6000c77a store 1 ,mem_mouse_dpi 
+0403 20203d7e branch mouse_seting_dpi 
 
 p_mouse_dpi_up:
-0403 20400566 call p_gpio_set_input_pu 
-0404 20203d62 branch mouse_dpi_up 
+0404 20400566 call p_gpio_set_input_pu 
+0405 20203d62 branch mouse_dpi_up 
 
 p_mouse_priority_bb_event:
-0405 1a627e00 copy regc ,pdata 
-0406 c00a040f beq bt_evt_le_connected ,p_mouse_le_bb_event_connected 
-0407 c00a841e beq bt_evt_le_disconnected ,p_mouse_le_bb_disconnected 
-0408 c0148422 beq bt_evt_le_enc_info ,p_mouse_le_enc_info 
-0409 c0190424 beq bt_evt_le_start_enc ,p_mouse_le_ll_start_encryt 
-040a c0200426 beq bt_evt_le_parse_conn_papa_update_rsp ,p_mouse_le_conn_param_update_rsp_recieved 
-040b c01c8428 beq bt_evt_24g_pairing_complete ,p_mouse_24g_pairing_complete 
-040c c01d042a beq bt_evt_24g_attempt_fail ,p_mouse_24g_attempt_fail 
-040d c01e042c beq bt_evt_24g_attempt_success ,p_mouse_24g_attempt_success 
-040e 2020417d branch mouse_priority_bb_event + 1 
+0406 1a627e00 copy regc ,pdata 
+0407 c00a0410 beq bt_evt_le_connected ,p_mouse_le_bb_event_connected 
+0408 c00a841f beq bt_evt_le_disconnected ,p_mouse_le_bb_disconnected 
+0409 c0148423 beq bt_evt_le_enc_info ,p_mouse_le_enc_info 
+040a c0190425 beq bt_evt_le_start_enc ,p_mouse_le_ll_start_encryt 
+040b c0200427 beq bt_evt_le_parse_conn_papa_update_rsp ,p_mouse_le_conn_param_update_rsp_recieved 
+040c c01c8429 beq bt_evt_24g_pairing_complete ,p_mouse_24g_pairing_complete 
+040d c01d042b beq bt_evt_24g_attempt_fail ,p_mouse_24g_attempt_fail 
+040e c01e042d beq bt_evt_24g_attempt_success ,p_mouse_24g_attempt_success 
+040f 2020417d branch mouse_priority_bb_event + 1 
 
 p_mouse_le_bb_event_connected:
-040f 204002eb call p_mouse_init_sensor_reset 
-0410 58000000 setarg 0 
-0411 6001caba store 3 ,mem_le_switch_adv_flag 
-0412 68034a9e fetch 6 ,mem_mouse_24g_addr_init 
-0413 680b4722 fetcht 6 ,mem_device1_addr 
-0414 98467c00 isub temp ,null 
-0415 24428362 ncall p_mouse_fast_conn_disable ,zero 
-0416 20403410 call app_ble_store_reconn_info 
-0417 704ac101 jam 1 ,mem_mouse_le_bb_connected_flag 
-0418 6800c7a1 fetch 1 ,mem_mouse_le_reconnect_flag 
-0419 243a041b nbranch p_mouse_le_bb_event_connected_next ,blank 
-041a 704abf14 jam 0x14 ,mem_mouse_send_secutiry_request_timer 
+0410 204002eb call p_mouse_init_sensor_reset 
+0411 58000000 setarg 0 
+0412 6001caba store 3 ,mem_le_switch_adv_flag 
+0413 68034a9e fetch 6 ,mem_mouse_24g_addr_init 
+0414 680b4722 fetcht 6 ,mem_device1_addr 
+0415 98467c00 isub temp ,null 
+0416 24428362 ncall p_mouse_fast_conn_disable ,zero 
+0417 20403410 call app_ble_store_reconn_info 
+0418 704ac101 jam 1 ,mem_mouse_le_bb_connected_flag 
+0419 6800c7a1 fetch 1 ,mem_mouse_le_reconnect_flag 
+041a 243a041c nbranch p_mouse_le_bb_event_connected_next ,blank 
+041b 704abf14 jam 0x14 ,mem_mouse_send_secutiry_request_timer 
 
 p_mouse_le_bb_event_connected_next:
-041b 204004d4 call p_mouse_null_enter_hibernate_disable 
-041c 204003d7 call p_mouse_data_init 
-041d 202041c3 branch mouse_le_bb_event_connected 
+041c 204004d4 call p_mouse_null_enter_hibernate_disable 
+041d 204003d8 call p_mouse_data_init 
+041e 202041c3 branch mouse_le_bb_event_connected 
 
 p_mouse_le_bb_disconnected:
-041e 20400430 call p_mouse_sensor_powerdown_check 
-041f 20400322 call p_mouse_store_flash_device_info 
-0420 7011c7a2 jam zcode_a2 ,mem_zcode_temp_param0 
-0421 202006b5 branch p_zcode_entrance 
+041f 20400431 call p_mouse_sensor_powerdown_check 
+0420 20400322 call p_mouse_store_flash_device_info 
+0421 7011c7a2 jam zcode_a2 ,mem_zcode_temp_param0 
+0422 202006b5 branch p_zcode_entrance 
 
 p_mouse_le_enc_info:
 
 p_app_updata_le_param:
-0422 700a9912 jam bt_cmd_le_update_conn ,mem_fifo_temp 
-0423 20207d8f branch ui_ipc_send_cmd 
+0423 700a9912 jam bt_cmd_le_update_conn ,mem_fifo_temp 
+0424 20207d8f branch ui_ipc_send_cmd 
 
 p_mouse_le_ll_start_encryt:
-0424 7011c7b3 jam zcode_b3 ,mem_zcode_temp_param0 
-0425 202006b5 branch p_zcode_entrance 
+0425 7011c7b3 jam zcode_b3 ,mem_zcode_temp_param0 
+0426 202006b5 branch p_zcode_entrance 
 
 p_mouse_le_conn_param_update_rsp_recieved:
-0426 7011c7a1 jam zcode_a1 ,mem_zcode_temp_param0 
-0427 202006b5 branch p_zcode_entrance 
+0427 7011c7a1 jam zcode_a1 ,mem_zcode_temp_param0 
+0428 202006b5 branch p_zcode_entrance 
 
 p_mouse_24g_pairing_complete:
-0428 7011c750 jam zcode_50 ,mem_zcode_temp_param0 
-0429 202006b5 branch p_zcode_entrance 
+0429 7011c750 jam zcode_50 ,mem_zcode_temp_param0 
+042a 202006b5 branch p_zcode_entrance 
 
 p_mouse_24g_attempt_fail:
-042a 7011c751 jam zcode_51 ,mem_zcode_temp_param0 
-042b 202006b5 branch p_zcode_entrance 
+042b 7011c751 jam zcode_51 ,mem_zcode_temp_param0 
+042c 202006b5 branch p_zcode_entrance 
 
 p_mouse_24g_attempt_success:
-042c 7011c752 jam zcode_52 ,mem_zcode_temp_param0 
-042d 202006b5 branch p_zcode_entrance 
+042d 7011c752 jam zcode_52 ,mem_zcode_temp_param0 
+042e 202006b5 branch p_zcode_entrance 
 
 p_mouse_before_hibernate:
-042e 7011c7a0 jam zcode_a0 ,mem_zcode_temp_param0 
-042f 202006b5 branch p_zcode_entrance 
+042f 7011c7a0 jam zcode_a0 ,mem_zcode_temp_param0 
+0430 202006b5 branch p_zcode_entrance 
 
 p_mouse_sensor_powerdown_check:
-0430 6800ca51 fetch 1 ,mem_mouse_init_sensor_reset_flag 
-0431 207a0000 rtn blank 
-0432 704a5100 jam 0 ,mem_mouse_init_sensor_reset_flag 
+0431 6800ca51 fetch 1 ,mem_mouse_init_sensor_reset_flag 
+0432 207a0000 rtn blank 
+0433 704a5100 jam 0 ,mem_mouse_init_sensor_reset_flag 
 
 p_mouse_sensor_powerdown:
-0433 204002ec call p_mouse_init_sunt 
-0434 58000006 setarg 0x06 
-0435 20406414 call twspi_read 
-0436 1fe1fe08 or pdata ,0x08 ,pdata 
-0437 1fed7e00 lshift8 pdata ,pdata 
-0438 1fe0fe06 add pdata ,0x06 ,pdata 
-0439 20206413 branch twspi_write 
+0434 204002ec call p_mouse_init_sunt 
+0435 58000006 setarg 0x06 
+0436 20406414 call twspi_read 
+0437 1fe1fe08 or pdata ,0x08 ,pdata 
+0438 1fed7e00 lshift8 pdata ,pdata 
+0439 1fe0fe06 add pdata ,0x06 ,pdata 
+043a 20206413 branch twspi_write 
 
 p_mouse_bb_event_timer:
-043a 20400449 call p_mouse_le_switch_adv_timer 
-043b 204004d7 call p_mouse_multi_led_blink_timer 
-043c 20400488 call p_mouse_wheel_trigger_timer 
-043d 204004cd call p_mouse_null_enter_hibernate_timer 
-043e 2040048d call p_mouse_bt_discovery_check 
-043f 20404234 call mouse_check_discovery_timeout_timer 
-0440 204004b3 call p_mouse_select_device 
-0441 20400466 call p_mouse_g24_long_sleep_param_update_timer 
-0442 2040046d call p_mouse_g24_stop_mode_timeout_timer 
-0443 20404237 call mouse_check_direct_timeout_timer 
-0444 20400472 call p_mouse_le_enable_att_list_timer 
-0445 20400475 call p_le_send_smp_security_request_timer 
-0446 2040047d call p_mouse_le_current_mult_update_timer 
-0447 20400483 call p_mouse_customer_bt_send_empty_packet_timer 
-0448 2020423a branch mouse_check_no_data_timeout_timer 
+043b 2040044a call p_mouse_le_switch_adv_timer 
+043c 204004d7 call p_mouse_multi_led_blink_timer 
+043d 20400489 call p_mouse_wheel_trigger_timer 
+043e 204004cd call p_mouse_null_enter_hibernate_timer 
+043f 2040048e call p_mouse_bt_discovery_check 
+0440 20404234 call mouse_check_discovery_timeout_timer 
+0441 204004b4 call p_mouse_select_device 
+0442 20400467 call p_mouse_g24_long_sleep_param_update_timer 
+0443 2040046e call p_mouse_g24_stop_mode_timeout_timer 
+0444 20404237 call mouse_check_direct_timeout_timer 
+0445 20400473 call p_mouse_le_enable_att_list_timer 
+0446 20400476 call p_le_send_smp_security_request_timer 
+0447 2040047e call p_mouse_le_current_mult_update_timer 
+0448 20400484 call p_mouse_customer_bt_send_empty_packet_timer 
+0449 2020423a branch mouse_check_no_data_timeout_timer 
 
 p_mouse_le_switch_adv_timer:
-0449 6800caba fetch 1 ,mem_le_switch_adv_flag 
-044a 207a0000 rtn blank 
-044b da604abb arg mem_le_switch_adv_timer ,regc 
-044c da40044e arg p_mouse_le_switch_adv ,regb 
-044d 2020336d branch timer_single_step 
+044a 6800caba fetch 1 ,mem_le_switch_adv_flag 
+044b 207a0000 rtn blank 
+044c da604abb arg mem_le_switch_adv_timer ,regc 
+044d da40044f arg p_mouse_le_switch_adv ,regb 
+044e 2020336d branch timer_single_step 
 
 p_mouse_le_switch_adv:
-044e 704abb01 jam 1 ,mem_le_switch_adv_timer 
-044f 6800cabc fetch 1 ,mem_le_switch_adv_count 
-0450 1fe0fe01 increase 1 ,pdata 
-0451 1fe17e01 and_into 1 ,pdata 
-0452 6000cabc store 1 ,mem_le_switch_adv_count 
-0453 c00002d8 beq 0 ,p_mouse_check_fast_conn_adv_start 
+044f 704abb01 jam 1 ,mem_le_switch_adv_timer 
+0450 6800cabc fetch 1 ,mem_le_switch_adv_count 
+0451 1fe0fe01 increase 1 ,pdata 
+0452 1fe17e01 and_into 1 ,pdata 
+0453 6000cabc store 1 ,mem_le_switch_adv_count 
+0454 c00002d8 beq 0 ,p_mouse_check_fast_conn_adv_start 
 
 p_mouse_le_normal_adv:
-0454 68034ab4 fetch 6 ,mem_le_normal_lap 
-0455 600344a0 store 6 ,mem_le_lap 
+0455 68034ab4 fetch 6 ,mem_le_normal_lap 
+0456 600344a0 store 6 ,mem_le_lap 
 
 p_check_51cmd_adv:
-0456 d8e00007 arg mouse_store_eeprom_flag ,queue 
-0457 204043ce call mouse_enable_function_flag 
-0458 204002e2 call p_le_check_adv_flag 
-0459 58000005 setarg adv_flag_bredr_not_supported | adv_flag_limited_discoverable 
-045a e0c08000 istore 1 ,contr 
-045b d8c04a63 arg mem_le_adv_swift_pair ,contr 
-045c 2040045e call p_le_adv_data_update 
-045d 20207df4 branch check_51cmd_adv 
+0457 d8e00007 arg mouse_store_eeprom_flag ,queue 
+0458 204043ce call mouse_enable_function_flag 
+0459 204002e2 call p_le_check_adv_flag 
+045a 58000005 setarg adv_flag_bredr_not_supported | adv_flag_limited_discoverable 
+045b e0c08000 istore 1 ,contr 
+045c d8c04a63 arg mem_le_adv_swift_pair ,contr 
+045d 2040045f call p_le_adv_data_update 
+045e 20207df4 branch check_51cmd_adv 
 
 p_le_adv_data_update:
-045e d8a0437b arg mem_le_adv_data + 11 ,contw 
-045f df200013 arg 19 ,loopcnt 
-0460 20407f01 call memcpy 
+045f d8a0437b arg mem_le_adv_data + 11 ,contw 
+0460 df200013 arg 19 ,loopcnt 
+0461 20407f01 call memcpy 
 
 p_le_adv_data_update3:
-0461 204057b8 call le_modified_name_adv 
-0462 70438f00 jam 0 ,mem_le_scan_data_len 
-0463 20600000 rtn 
+0462 204057b8 call le_modified_name_adv 
+0463 70438f00 jam 0 ,mem_le_scan_data_len 
+0464 20600000 rtn 
 
 p_mouse_store_eeprom_enable:
-0464 d8e00007 arg mouse_store_eeprom_flag ,queue 
-0465 202043ce branch mouse_enable_function_flag 
+0465 d8e00007 arg mouse_store_eeprom_flag ,queue 
+0466 202043ce branch mouse_enable_function_flag 
 
 p_mouse_g24_long_sleep_param_update_timer:
-0466 da604a96 arg mem_24g_long_sleep_param_update_timer ,regc 
-0467 da400469 arg p_mouse_g24_long_sleep_normal_param ,regb 
-0468 2020336d branch timer_single_step 
+0467 da604a96 arg mem_24g_long_sleep_param_update_timer ,regc 
+0468 da40046a arg p_mouse_g24_long_sleep_normal_param ,regb 
+0469 2020336d branch timer_single_step 
 
 p_mouse_g24_long_sleep_normal_param:
-0469 58124f80 setarg g24_long_sleep_step3 
-046a 6001cbcd store 3 ,mem_24g_enter_hibernate 
+046a 58124f80 setarg g24_long_sleep_step3 
+046b 6001cbcd store 3 ,mem_24g_enter_hibernate 
 
 p_mouse_long_mult_flag_enable:
-046b 704a9401 jam 1 ,mem_mouse_long_mult_flag 
-046c 20600000 rtn 
+046c 704a9401 jam 1 ,mem_mouse_long_mult_flag 
+046d 20600000 rtn 
 
 p_mouse_g24_stop_mode_timeout_timer:
-046d da604cea arg mem_24g_stop_g24_mode_timeout ,regc 
-046e da400470 arg p_mouse_g24_stop_mode_timeout ,regb 
-046f 20203374 branch timer_single_step_2b 
+046e da604cea arg mem_24g_stop_g24_mode_timeout ,regc 
+046f da400471 arg p_mouse_g24_stop_mode_timeout ,regb 
+0470 20203374 branch timer_single_step_2b 
 
 p_mouse_g24_stop_mode_timeout:
-0470 704ce901 jam 1 ,mem_24g_stop_g24_mode 
-0471 20600000 rtn 
+0471 704ce901 jam 1 ,mem_24g_stop_g24_mode 
+0472 20600000 rtn 
 
 p_mouse_le_enable_att_list_timer:
-0472 da6046c6 arg mem_le_start_encrypt_timer ,regc 
-0473 da403d60 arg mouse_le_write_enable ,regb 
-0474 2020336d branch timer_single_step 
+0473 da6046c6 arg mem_le_start_encrypt_timer ,regc 
+0474 da403d60 arg mouse_le_write_enable ,regb 
+0475 2020336d branch timer_single_step 
 
 p_le_send_smp_security_request_timer:
-0475 6800cac1 fetch 1 ,mem_mouse_le_bb_connected_flag 
-0476 207a0000 rtn blank 
-0477 da604abf arg mem_mouse_send_secutiry_request_timer ,regc 
-0478 da40047a arg p_le_pairing_sm_start_check ,regb 
-0479 2020336d branch timer_single_step 
+0476 6800cac1 fetch 1 ,mem_mouse_le_bb_connected_flag 
+0477 207a0000 rtn blank 
+0478 da604abf arg mem_mouse_send_secutiry_request_timer ,regc 
+0479 da40047b arg p_le_pairing_sm_start_check ,regb 
+047a 2020336d branch timer_single_step 
 
 p_le_pairing_sm_start_check:
-047a 6800cac0 fetch 1 ,mem_le_send_security_request_flag 
-047b 247a0000 nrtn blank 
-047c 20205bf5 branch le_pairing_sm_start 
+047b 6800cac0 fetch 1 ,mem_le_send_security_request_flag 
+047c 247a0000 nrtn blank 
+047d 20205bf5 branch le_pairing_sm_start 
 
 p_mouse_le_current_mult_update_timer:
-047d da604a95 arg mem_mouse_le_current_mult_timer ,regc 
-047e da400480 arg p_mouse_le_current_mult_reinit ,regb 
-047f 2020336d branch timer_single_step 
+047e da604a95 arg mem_mouse_le_current_mult_timer ,regc 
+047f da400481 arg p_mouse_le_current_mult_reinit ,regb 
+0480 2020336d branch timer_single_step 
 
 p_mouse_le_current_mult_reinit:
-0480 6800c7c5 fetch 1 ,mem_lpm_mult_init 
-0481 6000c172 store 1 ,mem_lpm_mult 
-0482 2020046b branch p_mouse_long_mult_flag_enable 
+0481 6800c7c5 fetch 1 ,mem_lpm_mult_init 
+0482 6000c172 store 1 ,mem_lpm_mult 
+0483 2020046c branch p_mouse_long_mult_flag_enable 
 
 p_mouse_customer_bt_send_empty_packet_timer:
-0483 da604b13 arg mem_customer_bt_send_empty_packet_timer ,regc 
-0484 da400486 arg p_mouse_customer_empty_packet ,regb 
-0485 2020336d branch timer_single_step 
+0484 da604b13 arg mem_customer_bt_send_empty_packet_timer ,regc 
+0485 da400487 arg p_mouse_customer_empty_packet ,regb 
+0486 2020336d branch timer_single_step 
 
 p_mouse_customer_empty_packet:
-0486 704b1201 jam 1 ,mem_customer_bt_start_send_empty_packet 
-0487 20600000 rtn 
+0487 704b1201 jam 1 ,mem_customer_bt_start_send_empty_packet 
+0488 20600000 rtn 
 
 p_mouse_wheel_trigger_timer:
-0488 da6049e0 arg mem_mouse_wheel_trigger_timer ,regc 
-0489 da40048b arg p_mouse_wheel_trigger_disable ,regb 
-048a 2020336d branch timer_single_step 
+0489 da6049e0 arg mem_mouse_wheel_trigger_timer ,regc 
+048a da40048c arg p_mouse_wheel_trigger_disable ,regb 
+048b 2020336d branch timer_single_step 
 
 p_mouse_wheel_trigger_disable:
-048b 7049df00 jam 0 ,mem_mouse_wheel_trigger 
-048c 20600000 rtn 
+048c 7049df00 jam 0 ,mem_mouse_wheel_trigger 
+048d 20600000 rtn 
 
 p_mouse_bt_discovery_check:
-048d 6800c720 fetch 1 ,mem_device_flag 
-048e c1010000 rtneq mode_24g_device 
+048e 6800c720 fetch 1 ,mem_device_flag 
+048f c1010000 rtneq mode_24g_device 
 
 p_mouse_bt_discovery_commbination_key:
-048f 6808c6ec fetcht 1 ,mem_config_bt_button_gpio 
-0490 2040056b call p_gpio_set_input_pd 
-0491 6808c6ec fetcht 1 ,mem_config_bt_button_gpio 
-0492 2040681d call gpio_get_bit 
-0493 2420849d nbranch p_mouse_bt_discovery_commbination_key_down ,true 
+0490 6808c6ec fetcht 1 ,mem_config_bt_button_gpio 
+0491 2040056b call p_gpio_set_input_pd 
+0492 6808c6ec fetcht 1 ,mem_config_bt_button_gpio 
+0493 2040681d call gpio_get_bit 
+0494 2420849e nbranch p_mouse_bt_discovery_commbination_key_down ,true 
 
 p_mouse_bt_discovery_commbination_key_up:
-0494 20400566 call p_gpio_set_input_pu 
-0495 6800c685 fetch 1 ,mem_ui_button_timeout 
-0496 6000c6da store 1 ,mem_combination_ui_button_count 
-0497 6800c6db fetch 1 ,mem_bt_discovey_button_statue 
-0498 c1008000 rtneq dpi_button_state_up 
-0499 7046db01 jam dpi_button_state_up ,mem_bt_discovey_button_statue 
+0495 20400566 call p_gpio_set_input_pu 
+0496 6800c685 fetch 1 ,mem_ui_button_timeout 
+0497 6000c6da store 1 ,mem_combination_ui_button_count 
+0498 6800c6db fetch 1 ,mem_bt_discovey_button_statue 
+0499 c1008000 rtneq dpi_button_state_up 
+049a 7046db01 jam dpi_button_state_up ,mem_bt_discovey_button_statue 
 
 p_mouse_bt_discovery_button_up_init:
-049a d8e00009 arg mouse_bt_discovery_button_long_down_flag ,queue 
-049b 204043d2 call mouse_disable_function_flag 
-049c 202043ca branch mouse_bt_discovery_button_down_disable 
+049b d8e00009 arg mouse_bt_discovery_button_long_down_flag ,queue 
+049c 204043d2 call mouse_disable_function_flag 
+049d 202043ca branch mouse_bt_discovery_button_down_disable 
 
 p_mouse_bt_discovery_commbination_key_down:
-049d 20400566 call p_gpio_set_input_pu 
-049e 7047a028 jam 40 ,mem_mouse_null_enter_hibernate_timer 
-049f 204004a1 call p_mouse_bt_discovery_timer 
-04a0 202043b0 branch mouse_bt_discovery_commbination_key_down + 1 
+049e 20400566 call p_gpio_set_input_pu 
+049f 7047a028 jam 40 ,mem_mouse_null_enter_hibernate_timer 
+04a0 204004a2 call p_mouse_bt_discovery_timer 
+04a1 202043b0 branch mouse_bt_discovery_commbination_key_down + 1 
 
 p_mouse_bt_discovery_timer:
-04a1 da6046da arg mem_combination_ui_button_count ,regc 
-04a2 da4004a4 arg p_mouse_long_button_bt_discovery ,regb 
-04a3 2020336d branch timer_single_step 
+04a2 da6046da arg mem_combination_ui_button_count ,regc 
+04a3 da4004a5 arg p_mouse_long_button_bt_discovery ,regb 
+04a4 2020336d branch timer_single_step 
 
 p_mouse_long_button_bt_discovery:
-04a4 204004cb call p_mouse_long_button_state_clear 
-04a5 6800caba fetch 1 ,mem_le_switch_adv_flag 
-04a6 243a04b0 nbranch p_mouse_fast_conn_adv_switch_timer_reinit ,blank 
-04a7 68014682 fetch 2 ,mem_ui_state_map 
-04a8 2feffe0b isolate1 ui_state_ble_adv ,pdata 
-04a9 2040c2d4 call mouse_stop_le_adv ,true 
-04aa 68014682 fetch 2 ,mem_ui_state_map 
-04ab 2feffe07 isolate1 ui_state_bt_reconnect ,pdata 
-04ac 2040c392 call mouse_cancel_reconnect ,true 
-04ad d8e00009 arg mouse_bt_discovery_button_long_down_flag ,queue 
-04ae 204043ce call mouse_enable_function_flag 
-04af 202043ba branch mouse_long_button_bt_discovry + 2 
+04a5 204004cb call p_mouse_long_button_state_clear 
+04a6 6800caba fetch 1 ,mem_le_switch_adv_flag 
+04a7 243a04b1 nbranch p_mouse_fast_conn_adv_switch_timer_reinit ,blank 
+04a8 68014682 fetch 2 ,mem_ui_state_map 
+04a9 2feffe0b isolate1 ui_state_ble_adv ,pdata 
+04aa 2040c2d4 call mouse_stop_le_adv ,true 
+04ab 68014682 fetch 2 ,mem_ui_state_map 
+04ac 2feffe07 isolate1 ui_state_bt_reconnect ,pdata 
+04ad 2040c392 call mouse_cancel_reconnect ,true 
+04ae d8e00009 arg mouse_bt_discovery_button_long_down_flag ,queue 
+04af 204043ce call mouse_enable_function_flag 
+04b0 202043ba branch mouse_long_button_bt_discovry + 2 
 
 p_mouse_fast_conn_adv_switch_timer_reinit:
-04b0 68014687 fetch 2 ,mem_discovery_timeout 
-04b1 600146ac store 2 ,mem_mouse_discovery_timer 
-04b2 20600000 rtn 
+04b1 68014687 fetch 2 ,mem_discovery_timeout 
+04b2 600146ac store 2 ,mem_mouse_discovery_timer 
+04b3 20600000 rtn 
 
 p_mouse_select_device:
 
 p_mouse_select_device_by_button:
-04b3 6808c6ed fetcht 1 ,mem_config_select_device_button_gpio 
-04b4 2040056b call p_gpio_set_input_pd 
-04b5 6808c6ed fetcht 1 ,mem_config_select_device_button_gpio 
-04b6 2040681d call gpio_get_bit 
-04b7 242084c4 nbranch p_mouse_select_device_button_down ,true 
+04b4 6808c6ed fetcht 1 ,mem_config_select_device_button_gpio 
+04b5 2040056b call p_gpio_set_input_pd 
+04b6 6808c6ed fetcht 1 ,mem_config_select_device_button_gpio 
+04b7 2040681d call gpio_get_bit 
+04b8 242084c5 nbranch p_mouse_select_device_button_down ,true 
 
 p_mouse_select_device_button_up:
-04b8 20400566 call p_gpio_set_input_pu 
-04b9 6800cab2 fetch 1 ,mem_mouse_select_device_button_wakeup_flag 
-04ba 245a04c6 ncall p_mouse_select_button_wakeup_firstup ,blank 
-04bb 6800c6d9 fetch 1 ,mem_select_device_button_statue 
-04bc c1008000 rtneq dpi_button_state_up 
-04bd 7046d901 jam dpi_button_state_up ,mem_select_device_button_statue 
-04be 2040036a call p_mouse_load_flash_user_data 
-04bf 6800cac4 fetch 1 ,mem_mouse_long_button_select_device 
-04c0 203a04c9 branch p_mouse_select_device_and_reset ,blank 
+04b9 20400566 call p_gpio_set_input_pu 
+04ba 6800cab2 fetch 1 ,mem_mouse_select_device_button_wakeup_flag 
+04bb 245a04c7 ncall p_mouse_select_button_wakeup_firstup ,blank 
+04bc 6800c6d9 fetch 1 ,mem_select_device_button_statue 
+04bd c1008000 rtneq dpi_button_state_up 
+04be 7046d901 jam dpi_button_state_up ,mem_select_device_button_statue 
+04bf 2040036a call p_mouse_load_flash_user_data 
+04c0 6800cac4 fetch 1 ,mem_mouse_long_button_select_device 
+04c1 203a04c9 branch p_mouse_select_device_and_reset ,blank 
 
 p_mouse_ready_reconnection_by_button:
-04c1 7041bd00 jam 0 ,mem_link_key_exists 
-04c2 2040037f call p_mouse_switch_device 
-04c3 20204378 branch mouse_ready_reconnection_by_button + 8 
+04c2 7041bd00 jam 0 ,mem_link_key_exists 
+04c3 20400380 call p_mouse_switch_device 
+04c4 20204378 branch mouse_ready_reconnection_by_button + 8 
 
 p_mouse_select_device_button_down:
-04c4 20400566 call p_gpio_set_input_pu 
-04c5 20204354 branch mouse_select_device_button_down 
+04c5 20400566 call p_gpio_set_input_pu 
+04c6 20204354 branch mouse_select_device_button_down 
 
 p_mouse_select_button_wakeup_firstup:
-04c6 704ab200 jam 0 ,mem_mouse_select_device_button_wakeup_flag 
-04c7 7046d901 jam dpi_button_state_up ,mem_select_device_button_statue 
+04c7 704ab200 jam 0 ,mem_mouse_select_device_button_wakeup_flag 
 04c8 20600000 rtn 
 
 p_mouse_select_device_and_reset:
@@ -1753,7 +1753,7 @@
 p_mouse_multi_led_on:
 04fb 704a7901 jam on ,mem_mouse_multi_led_state 
 04fc 6800c720 fetch 1 ,mem_device_flag 
-04fd c0008502 beq mode_bt_device1 ,p_mouse_multi_down_led_on 
+04fd c0808502 bne mode_bt_device1 ,p_mouse_multi_down_led_on 
 
 p_mouse_multi_up_led_on:
 04fe 6808ca78 fetcht 1 ,mem_mouse_multi_led_gpio 
@@ -2051,7 +2051,7 @@
 
 p_in_le_tx_4:
 05be 20405892 call le_fifo_check_nearly_full 
-05bf 205a03e0 call p_mouse_data_pull ,blank 
+05bf 205a03e1 call p_mouse_data_pull ,blank 
 05c0 20205622 branch le_prepare_tx + 4 
 
 p_le_check_tx_retransmit_setmd:
@@ -35278,12 +35278,12 @@
 20006 7047a101 jam 1 ,mem_mouse_le_reconnect_flag 
 20007 680146a8 fetch 2 ,mem_mouse_direct_timeout 
 20008 600146ae store 2 ,mem_mouse_direct_timer 
-20009 20400464 call p_mouse_store_eeprom_enable 
+20009 20400465 call p_mouse_store_eeprom_enable 
 2000a 20403418 call app_lpm_mult_disable 
 2000b 204002e2 call p_le_check_adv_flag 
 2000c 58000004 setarg adv_flag_bredr_not_supported 
 2000d e0c08000 istore 1 ,contr 
-2000e 20400461 call p_le_adv_data_update3 
+2000e 20400462 call p_le_adv_data_update3 
 2000f 70436f03 jam 0x03 ,mem_le_adv_data_len 
 20010 20207df4 branch check_51cmd_adv 
 
@@ -35425,11 +35425,11 @@
 40010 58000000 setarg 0 
 40011 600146b0 store 2 ,mem_mouse_no_data_timer 
 40012 600146ae store 2 ,mem_mouse_direct_timer 
-40013 20400464 call p_mouse_store_eeprom_enable 
+40013 20400465 call p_mouse_store_eeprom_enable 
 40014 204043ca call mouse_bt_discovery_button_down_disable 
 40015 6800c092 fetch 1 ,mem_device_option 
 40016 2feffe01 isolate1 mode_4_mouse ,pdata 
-40017 20408456 call p_check_51cmd_adv ,true 
+40017 20408457 call p_check_51cmd_adv ,true 
 40018 6800c092 fetch 1 ,mem_device_option 
 40019 2feffe00 isolate1 mode_3_mouse ,pdata 
 4001a 2040fddd call check_51cmd_start_discovery ,true 
@@ -35466,7 +35466,7 @@
 
 z_g24_start_24g_mode:
 50005 2040000e call z_g24_factory_check 
-50006 2034038b branch p_g24_auto_pair_start ,user 
+50006 2034038c branch p_g24_auto_pair_start ,user 
 50007 79200026 set1 mark_24g ,mark 
 50008 6800ccf2 fetch 1 ,mem_24g_conn_sm 
 50009 79207e02 set1 state_24g_reconn ,pdata 
@@ -35513,7 +35513,7 @@
 50028 6000c6b4 store 1 ,mem_mouse_send_blank_timer 
 50029 60014bcb store 2 ,mem_24g_check_dongle_times 
 5002a 204042ca call mouse_stop_discovery 
-5002b 2020038b branch p_g24_auto_pair_start 
+5002b 2020038c branch p_g24_auto_pair_start 
               org 0x60001
 
 z_entrance5:
@@ -35533,7 +35533,7 @@
 6000c 20200012 branch z_mouse_24g_attempt_success 
 
 z_mouse_24g_attempt_fail:
-6000d 20400430 call p_mouse_sensor_powerdown_check 
+6000d 20400431 call p_mouse_sensor_powerdown_check 
 6000e 704cde00 jam g24_tx_timer_int_disable ,mem_24g_transmit_by_interrupt 
 6000f 204002dd call p_mouse_tx_power_init 
 60010 20400211 call p_g24_check_51cmd_stop_24g 
@@ -35571,7 +35571,7 @@
 60028 704a9400 jam 0 ,mem_mouse_long_mult_flag 
 60029 20402f20 call g24_app_tx_attempt_success 
 6002a 204001b6 call p_g24_txbuf_clear 
-6002b 20200390 branch p_g24_transmit_by_interrupt_enable 
+6002b 20200391 branch p_g24_transmit_by_interrupt_enable 
 
 z_g24_store_dongle_addr:
 6002c 68024b7e fetch 4 ,mem_24g_rxpayload + 2 
@@ -35628,7 +35628,7 @@
 70020 704a9400 jam 0 ,mem_mouse_long_mult_flag 
 70021 20402f20 call g24_app_tx_attempt_success 
 70022 204001b6 call p_g24_txbuf_clear 
-70023 20200390 branch p_g24_transmit_by_interrupt_enable 
+70023 20200391 branch p_g24_transmit_by_interrupt_enable 
 
 z7_g24_store_dongle_addr:
 70024 68024b7e fetch 4 ,mem_24g_rxpayload + 2 
@@ -35856,7 +35856,7 @@
 b000c 58000009 setarg le_interval_11_25ms 
 b000d 60014496 store 2 ,mem_le_interval_min 
 b000e 60014498 store 2 ,mem_le_interval_min + 2 
-b000f 20400422 call p_app_updata_le_param 
+b000f 20400423 call p_app_updata_le_param 
 b0010 7047c401 jam le_lpm_disable ,mem_mouse_le_conn_param_reject 
 b0011 20600000 rtn 
 
@@ -35882,12 +35882,12 @@
 b001e 60014498 store 2 ,mem_le_interval_min + 2 
 b001f 7047c400 jam le_lpm_enable ,mem_mouse_le_conn_param_reject 
 b0020 70479e00 jam 0 ,mem_mouse_clear_sensor_data_flag 
-b0021 204003d7 call p_mouse_data_init 
+b0021 204003d8 call p_mouse_data_init 
 b0022 20405816 call le_clr_config_more_data 
 b0023 202041d9 branch mouse_bb_disconnected 
 
 z_mouse_before_hibernate:
-b0024 20400430 call p_mouse_sensor_powerdown_check 
+b0024 20400431 call p_mouse_sensor_powerdown_check 
 b0025 68120138 hfetch 4 ,core_lpm_ctrl 
 b0026 79207e1a set1 26 ,pdata 
 b0027 6012004c hstore 4 ,core_lpm_reg 
@@ -35935,7 +35935,7 @@
 c0013 20200016 branch z_mouse_le_ll_enable_start_enc_flag 
 
 z_mouse_le_ll_reconn_start_encryt:
-c0014 20400422 call p_app_updata_le_param 
+c0014 20400423 call p_app_updata_le_param 
 c0015 7046c60a jam 10 ,mem_le_start_encrypt_timer 
 
 z_mouse_le_ll_enable_start_enc_flag:
@@ -35943,7 +35943,7 @@
 c0017 202041b9 branch mouse_le_enable_connect_flag 
 
 z_mouse_bb_event_disconnected:
-c0018 20400430 call p_mouse_sensor_powerdown_check 
+c0018 20400431 call p_mouse_sensor_powerdown_check 
 c0019 20400322 call p_mouse_store_flash_device_info 
 c001a 704a5200 jam 0 ,mem_bt_rcvd_switch_req_accept 
 c001b 704a5400 jam 0 ,mem_bt_send_lmp_setup_complete 
Index: output/romcode.rom
===================================================================
--- /branch/mouse_project/YJX_Project/YJX_1059/PBSwitch_2.4G&BLE_509/output/romcode.rom	(revision 3030)
+++ /branch/mouse_project/YJX_Project/YJX_1059/PBSwitch_2.4G&BLE_509/output/romcode.rom	(working copy)
@@ -24607,12 +24607,12 @@
 7047a101
 680146a8
 600146ae
-20400464
+20400465
 20403418
 204002e2
 58000004
 e0c08000
-20400461
+20400462
 70436f03
 20207df4
 68008048
@@ -24714,11 +24714,11 @@
 58000000
 600146b0
 600146ae
-20400464
+20400465
 204043ca
 6800c092
 2feffe01
-20408456
+20408457
 6800c092
 2feffe00
 2040fddd
@@ -24744,7 +24744,7 @@
 c021001f
 20600000
 2040000e
-2034038b
+2034038c
 79200026
 6800ccf2
 79207e02
@@ -24781,7 +24781,7 @@
 6000c6b4
 60014bcb
 204042ca
-2020038b
+2020038c
 c0280006
 c028800d
 c0290012
@@ -24794,7 +24794,7 @@
 2040405d
 204002dd
 20200012
-20400430
+20400431
 704cde00
 204002dd
 20400211
@@ -24824,7 +24824,7 @@
 704a9400
 20402f20
 204001b6
-20200390
+20200391
 68024b7e
 202001f8
 70119eff
@@ -24870,7 +24870,7 @@
 704a9400
 20402f20
 204001b6
-20200390
+20200391
 68024b7e
 202001f8
 704b9f01
@@ -25038,7 +25038,7 @@
 58000009
 60014496
 60014498
-20400422
+20400423
 7047c401
 20600000
 704ab301
@@ -25056,10 +25056,10 @@
 60014498
 7047c400
 70479e00
-204003d7
+204003d8
 20405816
 202041d9
-20400430
+20400431
 68120138
 79207e1a
 6012004c
@@ -25096,14 +25096,14 @@
 6800c7a1
 c0008014
 20200016
-20400422
+20400423
 7046c60a
 d8e00001
 202041b9
-20400430
+20400431
 20400322
 704a5200
 704a5400
 704a5d00
 202041d9
-0000041e
+00004028
Index: program/patch.prog
===================================================================
--- /branch/mouse_project/YJX_Project/YJX_1059/PBSwitch_2.4G&BLE_509/program/patch.prog	(revision 3030)
+++ /branch/mouse_project/YJX_Project/YJX_1059/PBSwitch_2.4G&BLE_509/program/patch.prog	(working copy)
@@ -1512,6 +1512,7 @@
 //	rtnbit1 ENABLE_SELECT_DEVICE_BY_GPIO_BUTTON
 	fetch 1,mem_mouse_select_device_button_wakeup_flag
 	rtn blank
+	branch p_mouse_select_device_button_down
 p_mouse_switch_device:	
 	fetcht 1,mem_device_flag
 	increase 1,temp
@@ -2162,7 +2163,7 @@
 	branch mouse_select_device_button_down
 p_mouse_select_button_wakeup_firstUp:
 	jam 0,mem_mouse_select_device_button_wakeup_flag	//when waked from hibernate by PB key ,first key up does not change mode 
-	jam DPI_BUTTON_STATE_UP,mem_select_device_button_statue
+//	jam DPI_BUTTON_STATE_UP,mem_select_device_button_statue
 	rtn
 p_mouse_select_device_and_reset:
 	jam 0xff,mem_mouse_long_button_select_device
@@ -2244,7 +2245,7 @@
 p_mouse_multi_led_on:
 	jam ON,mem_mouse_multi_led_state
 	fetch 1,mem_device_flag
-	beq MODE_BT_DEVICE1,p_mouse_multi_down_led_on
+	bne MODE_BT_DEVICE1,p_mouse_multi_down_led_on
 p_mouse_multi_up_led_on:
 	fetcht 1,mem_mouse_multi_led_gpio
 //	set1 gpio_active_bit,temp
Index: sched/mouse.dat
===================================================================
--- /branch/mouse_project/YJX_Project/YJX_1059/PBSwitch_2.4G&BLE_509/sched/mouse.dat	(revision 3030)
+++ /branch/mouse_project/YJX_Project/YJX_1059/PBSwitch_2.4G&BLE_509/sched/mouse.dat	(working copy)
@@ -465,10 +465,10 @@
 mem_24g_allpowerful_addr:0f 0f 0f 0f 0f 0f
 mem_24g_common_temp:00 00 00 00 00 00 00 00 00 00
 mem_24g_enter_hibernate:80 4f 12
-mem_firmware_version:04 00
+mem_firmware_version:05 00
 
 mem_device_flag:
-01
+02
 ff
 ff ff ff ff ff ff
 #mem_device2_type:
