Index: output/eeprom.dat
===================================================================
--- /branch/flip_pen/flip_pen_24G&BLE/output/eeprom.dat	(revision 3280)
+++ /branch/flip_pen/flip_pen_24G&BLE/output/eeprom.dat	(working copy)
@@ -979,7 +979,7 @@
 20
 20
 03
-f3
+f1
 70
 4b
 ed
@@ -1611,7 +1611,7 @@
 20
 5a
 04
-63
+60
 70
 4b
 3a
@@ -2795,7 +2795,7 @@
 20
 40
 05
-1e
+1b
 20
 40
 03
@@ -2975,11 +2975,11 @@
 20
 40
 04
-ad
+aa
 20
 40
 04
-64
+61
 20
 40
 3e
@@ -3275,7 +3275,7 @@
 58
 00
 03
-fb
+f9
 60
 01
 41
@@ -4023,11 +4023,11 @@
 20
 40
 04
-ad
+aa
 20
 40
 04
-66
+63
 20
 40
 00
@@ -4037,21 +4037,13 @@
 00
 05
 20
-40
+20
 67
 ed
 d8
 e0
 00
 14
-20
-60
-00
-00
-d8
-e0
-00
-14
 68
 02
 00
@@ -4083,19 +4075,19 @@
 20
 40
 04
-dd
+da
 20
 40
 04
-53
+50
 20
 40
 05
-16
+13
 20
 40
 04
-d6
+d3
 20
 40
 42
@@ -4103,39 +4095,39 @@
 20
 40
 04
-3b
+38
 20
 40
 04
-4a
+47
 20
 40
 04
-af
+ac
 20
 40
 04
-a4
+a1
 20
 40
 04
-cd
+ca
 20
 40
 05
-03
+00
 20
 40
 05
-06
+03
 20
 40
 05
-0c
+09
 20
 40
 04
-ca
+c7
 20
 40
 42
@@ -4151,7 +4143,7 @@
 20
 3a
 04
-1f
+1c
 70
 40
 91
@@ -4183,7 +4175,7 @@
 24
 5a
 04
-37
+34
 68
 01
 4b
@@ -4203,7 +4195,7 @@
 20
 21
 04
-31
+2e
 68
 00
 cb
@@ -4220,10 +4212,6 @@
 60
 00
 00
-20
-60
-00
-00
 70
 40
 91
@@ -4243,7 +4231,7 @@
 24
 3a
 04
-28
+25
 68
 00
 ca
@@ -4251,7 +4239,7 @@
 c0
 00
 84
-28
+25
 70
 4b
 35
@@ -4267,7 +4255,7 @@
 24
 5a
 04
-35
+32
 20
 40
 05
@@ -4283,7 +4271,7 @@
 20
 40
 04
-fa
+f7
 68
 00
 cb
@@ -4291,7 +4279,7 @@
 c0
 80
 84
-37
+34
 20
 60
 00
@@ -4343,7 +4331,7 @@
 20
 40
 04
-d9
+d6
 60
 00
 cb
@@ -4363,7 +4351,7 @@
 20
 40
 04
-d9
+d6
 60
 00
 cb
@@ -4379,7 +4367,7 @@
 24
 3a
 04
-6b
+68
 70
 4a
 57
@@ -4403,7 +4391,7 @@
 c0
 40
 04
-4d
+4a
 20
 60
 00
@@ -4415,7 +4403,7 @@
 da
 40
 04
-50
+4d
 20
 20
 33
@@ -4439,7 +4427,7 @@
 c0
 00
 84
-72
+6f
 70
 4b
 2c
@@ -4447,7 +4435,7 @@
 20
 40
 04
-82
+7f
 70
 4b
 1b
@@ -4459,7 +4447,7 @@
 c0
 01
 04
-69
+66
 d8
 40
 00
@@ -4483,7 +4471,7 @@
 20
 42
 84
-61
+5e
 20
 60
 00
@@ -4499,7 +4487,7 @@
 20
 40
 04
-ad
+aa
 68
 00
 ca
@@ -4527,7 +4515,7 @@
 20
 20
 04
-5b
+58
 70
 4a
 52
@@ -4555,7 +4543,7 @@
 20
 20
 04
-6d
+6a
 68
 00
 ca
@@ -4563,7 +4551,7 @@
 20
 3a
 04
-89
+86
 da
 60
 4a
@@ -4571,7 +4559,7 @@
 da
 40
 04
-77
+74
 20
 20
 33
@@ -4591,7 +4579,7 @@
 20
 3a
 04
-80
+7d
 68
 00
 ca
@@ -4599,7 +4587,7 @@
 20
 3a
 04
-85
+82
 1f
 e0
 ff
@@ -4619,7 +4607,7 @@
 c0
 00
 84
-64
+61
 70
 4a
 54
@@ -4639,7 +4627,7 @@
 c0
 00
 04
-63
+60
 70
 4a
 52
@@ -4647,7 +4635,7 @@
 20
 20
 04
-63
+60
 68
 00
 cb
@@ -4655,7 +4643,7 @@
 24
 3a
 04
-a1
+9e
 20
 40
 40
@@ -4663,7 +4651,7 @@
 20
 3a
 04
-93
+90
 70
 4b
 35
@@ -4671,11 +4659,11 @@
 c0
 0a
 04
-63
+60
 c0
 01
 84
-9d
+9a
 1f
 e1
 7e
@@ -4687,7 +4675,7 @@
 20
 20
 04
-82
+7f
 68
 00
 ca
@@ -4695,11 +4683,11 @@
 c0
 00
 84
-96
+93
 20
 20
 04
-63
+60
 68
 00
 cb
@@ -4723,11 +4711,11 @@
 20
 40
 04
-6f
+6c
 20
 20
 04
-63
+60
 70
 4b
 22
@@ -4739,11 +4727,11 @@
 20
 5a
 04
-82
+7f
 20
 20
 04
-69
+66
 68
 00
 cb
@@ -4755,7 +4743,7 @@
 20
 20
 04
-63
+60
 68
 00
 cb
@@ -4807,7 +4795,7 @@
 24
 3a
 04
-b3
+b0
 20
 40
 40
@@ -4815,7 +4803,7 @@
 c0
 0a
 04
-b6
+b3
 68
 00
 ca
@@ -4835,7 +4823,7 @@
 20
 40
 04
-bc
+b9
 68
 00
 c6
@@ -4859,7 +4847,7 @@
 da
 40
 04
-bf
+bc
 20
 20
 33
@@ -4927,7 +4915,7 @@
 da
 40
 04
-d0
+cd
 20
 20
 33
@@ -4947,7 +4935,7 @@
 20
 42
 85
-14
+11
 20
 40
 05
@@ -5031,7 +5019,7 @@
 20
 21
 04
-6f
+6c
 68
 00
 cb
@@ -5039,7 +5027,7 @@
 24
 3a
 04
-ff
+fc
 70
 4a
 52
@@ -5055,11 +5043,11 @@
 20
 42
 84
-f8
+f5
 24
 41
 04
-6d
+6a
 1f
 e6
 7c
@@ -5067,7 +5055,7 @@
 24
 21
 04
-fa
+f7
 70
 4b
 c6
@@ -5099,7 +5087,7 @@
 20
 20
 04
-6f
+6c
 68
 00
 cd
@@ -5127,7 +5115,7 @@
 24
 3a
 04
-6f
+6c
 70
 4b
 2b
@@ -5155,7 +5143,7 @@
 da
 40
 05
-09
+06
 20
 20
 33
@@ -5187,7 +5175,7 @@
 da
 40
 05
-11
+0e
 20
 20
 33
@@ -5235,7 +5223,7 @@
 da
 40
 05
-1d
+1a
 20
 20
 33
@@ -5282,8 +5270,16 @@
 02
 20
 40
-05
-36
+68
+a8
+20
+40
+68
+eb
+20
+40
+69
+08
 60
 01
 47
@@ -5291,15 +5287,31 @@
 20
 40
 04
-66
+63
 70
 42
 2d
 00
 20
 40
-05
-36
+68
+a8
+20
+40
+68
+eb
+58
+00
+00
+82
+60
+01
+42
+2b
+20
+40
+69
+08
 60
 01
 4b
@@ -5319,7 +5331,7 @@
 c3
 00
 05
-33
+36
 70
 4a
 5e
@@ -5340,18 +5352,6 @@
 60
 00
 00
-20
-40
-68
-a8
-20
-40
-68
-eb
-20
-20
-69
-08
 ea
 24
 00
@@ -5967,7 +5967,7 @@
 c0
 88
 04
-ad
+aa
 68
 01
 4b
@@ -5983,7 +5983,7 @@
 20
 21
 04
-ad
+aa
 20
 40
 05
@@ -6996,8 +6996,8 @@
 20
 28
 fa
-f5
-38
+e2
+62
 aa
 55
 08
@@ -7438,7 +7438,7 @@
 47
 51
 00
-14
+27
 01
 4b
 00
@@ -7933,7 +7933,7 @@
 00
 e2
 4a
-14
+15
 00
 aa
 55
@@ -8045,8 +8045,8 @@
 0f
 0f
 0f
-cf
-75
+da
+f2
 ff
 ff
 ff
Index: output/program.lis
===================================================================
--- /branch/flip_pen/flip_pen_24G&BLE/output/program.lis	(revision 3280)
+++ /branch/flip_pen/flip_pen_24G&BLE/output/program.lis	(working copy)
@@ -331,7 +331,7 @@
 00f0 18440400 invert temp ,temp 
 00f1 793f8414 set0 20 ,temp 
 00f2 601a007c hstoret 4 ,core_gpio_pd0 
-00f3 202003f3 branch p_set_usb_gpio_wakeup 
+00f3 202003f1 branch p_set_usb_gpio_wakeup 
 
 p_g24_send_abort_packet:
 00f4 704bed01 jam 1 ,mem_24g_abort_pac 
@@ -553,7 +553,7 @@
 018e 60014ae4 store 2 ,mem_customer_key 
 018f 704b2b00 jam 0 ,mem_flip_connect_success 
 0190 6800cb1c fetch 1 ,mem_flip_device_charging 
-0191 205a0463 call p_mouse_multi_led_blink_off ,blank 
+0191 205a0460 call p_mouse_multi_led_blink_off ,blank 
 0192 704b3a01 jam 1 ,mem_flip_retransmit_fail 
 0193 20200196 branch p_g24_tx_attempt_fail 
 
@@ -941,7 +941,7 @@
 02b6 245582e3 ncall p_mouse_setting_config ,wake 
 02b7 20758000 rtn wake 
 02b8 20400325 call p_mouse_cb_fuction 
-02b9 2040051e call p_mouse_adc_read_once 
+02b9 2040051b call p_mouse_adc_read_once 
 02ba 20400319 call p_mouse_wakeup_from_power 
 
 p_mouse_check_reconn_target:
@@ -1010,8 +1010,8 @@
 02e3 680240a0 fetch 4 ,mem_lap 
 02e4 60024bf8 store 4 ,mem_24g_device_addr 
 02e5 20403e6e call mouse_gpio_init 
-02e6 204004ad call p_laser_led_off 
-02e7 20400464 call p_blue_led_off 
+02e6 204004aa call p_laser_led_off 
+02e7 20400461 call p_blue_led_off 
 02e8 20403e1e call mouse_param_init 
 02e9 580047c6 setarg mem_mouse_le_uuid_sup 
 02ea 600144bc store 2 ,mem_ui_le_uuid_table 
@@ -1109,7 +1109,7 @@
 032e 600141f5 store 2 ,mem_cb_bb_event_process 
 032f 580003e5 setarg p_mouse_before_hibernate 
 0330 600141eb store 2 ,mem_cb_before_hibernate 
-0331 580003fb setarg p_mouse_bb_event_timer 
+0331 580003f9 setarg p_mouse_bb_event_timer 
 0332 600141fd store 2 ,mem_cb_event_timer 
 0333 20600000 rtn 
 
@@ -1372,465 +1372,463 @@
 03e9 6012004c hstore 4 ,core_lpm_reg 
 03ea 20402c21 call lpm_write_ctrl 
 03eb 204074bd call disable_authrom 
-03ec 204004ad call p_laser_led_off 
-03ed 20400466 call p_blue_led_off2 
+03ec 204004aa call p_laser_led_off 
+03ed 20400463 call p_blue_led_off2 
 03ee 204000ec call p_mouse_setgpio_lpm_before 
 03ef d8400005 arg 0x05 ,temp 
-03f0 204067ed call gpio_clr_wake 
-03f1 d8e00014 arg 0x14 ,queue 
-03f2 20600000 rtn 
+03f0 202067ed branch gpio_clr_wake 
 
 p_set_usb_gpio_wakeup:
-03f3 d8e00014 arg 0x14 ,queue 
-03f4 680200a1 fetch 4 ,mem_gpio_wakeup_low 
-03f5 f93ffe00 qset0 pdata 
-03f6 600200a1 store 4 ,mem_gpio_wakeup_low 
-03f7 680200a5 fetch 4 ,mem_gpio_wakeup_high 
-03f8 f9207e00 qset1 pdata 
-03f9 600200a5 store 4 ,mem_gpio_wakeup_high 
-03fa 20600000 rtn 
+03f1 d8e00014 arg 0x14 ,queue 
+03f2 680200a1 fetch 4 ,mem_gpio_wakeup_low 
+03f3 f93ffe00 qset0 pdata 
+03f4 600200a1 store 4 ,mem_gpio_wakeup_low 
+03f5 680200a5 fetch 4 ,mem_gpio_wakeup_high 
+03f6 f9207e00 qset1 pdata 
+03f7 600200a5 store 4 ,mem_gpio_wakeup_high 
+03f8 20600000 rtn 
 
 p_mouse_bb_event_timer:
-03fb 204004dd call p_mouse_g24_pair_mode_timer 
-03fc 20400453 call p_flip_multi_led_blink_timer 
-03fd 20400516 call p_mouse_adc_read 
-03fe 204004d6 call p_mouse_le_switch_adv_timer 
-03ff 20404234 call mouse_check_discovery_timeout_timer 
-0400 2040043b call p_flip_charging_timer_init 
-0401 2040044a call p_send_alt_tab_payload_timer 
-0402 204004af call p_mouse_select_device 
-0403 204004a4 call p_g24_init_long_sleep_timer 
-0404 204004cd call p_mouse_check_direct_timeout_timer 
-0405 20400503 call p_mouse_le_enable_att_list_timer 
-0406 20400506 call p_mouse_le_current_mult_update_timer 
-0407 2040050c call p_le_send_smp_security_request_timer 
-0408 204004ca call p_mouse_poweron_bt_start_reconn_timer 
-0409 2040423a call mouse_check_no_data_timeout_timer 
+03f9 204004da call p_mouse_g24_pair_mode_timer 
+03fa 20400450 call p_flip_multi_led_blink_timer 
+03fb 20400513 call p_mouse_adc_read 
+03fc 204004d3 call p_mouse_le_switch_adv_timer 
+03fd 20404234 call mouse_check_discovery_timeout_timer 
+03fe 20400438 call p_flip_charging_timer_init 
+03ff 20400447 call p_send_alt_tab_payload_timer 
+0400 204004ac call p_mouse_select_device 
+0401 204004a1 call p_g24_init_long_sleep_timer 
+0402 204004ca call p_mouse_check_direct_timeout_timer 
+0403 20400500 call p_mouse_le_enable_att_list_timer 
+0404 20400503 call p_mouse_le_current_mult_update_timer 
+0405 20400509 call p_le_send_smp_security_request_timer 
+0406 204004c7 call p_mouse_poweron_bt_start_reconn_timer 
+0407 2040423a call mouse_check_no_data_timeout_timer 
 
 p_mouse_key_long_time_down_timer:
-040a 20404083 call mouse_check_key_gpio 
-040b 68094b26 fetcht 2 ,mem_timer_key 
-040c 203a041f branch p_mouse_no_key_press ,blank 
-040d 70409100 jam 0x00 ,mem_lpm_mode 
-040e 98467c00 isub temp ,null 
-040f 2442857c ncall p_key_press_timer_set0 ,zero 
-0410 1a227e00 copy rega ,pdata 
-0411 60014b26 store 2 ,mem_timer_key 
-0412 704b2f0a jam 0x0a ,mem_g24_discon_long_sleep_timeout 
-0413 6800cb3a fetch 1 ,mem_flip_retransmit_fail 
-0414 245a0437 ncall p_g24_reconn_start ,blank 
-0415 68014b14 fetch 2 ,mem_key_long_press_timer 
-0416 1fe0fe01 increase 1 ,pdata 
-0417 60014b14 store 2 ,mem_key_long_press_timer 
-0418 1fe67c0a sub pdata ,0x0a ,null 
-0419 20210431 branch p_flip_key_short_press ,positive 
-041a 6800cb25 fetch 1 ,mem_packet_send_finish 
-041b 247a0000 nrtn blank 
-041c 704b3702 jam 2 ,mem_key_long_short_press 
-041d 20600000 rtn 
-041e 20600000 rtn 
+0408 20404083 call mouse_check_key_gpio 
+0409 68094b26 fetcht 2 ,mem_timer_key 
+040a 203a041c branch p_mouse_no_key_press ,blank 
+040b 70409100 jam 0x00 ,mem_lpm_mode 
+040c 98467c00 isub temp ,null 
+040d 2442857c ncall p_key_press_timer_set0 ,zero 
+040e 1a227e00 copy rega ,pdata 
+040f 60014b26 store 2 ,mem_timer_key 
+0410 704b2f0a jam 0x0a ,mem_g24_discon_long_sleep_timeout 
+0411 6800cb3a fetch 1 ,mem_flip_retransmit_fail 
+0412 245a0434 ncall p_g24_reconn_start ,blank 
+0413 68014b14 fetch 2 ,mem_key_long_press_timer 
+0414 1fe0fe01 increase 1 ,pdata 
+0415 60014b14 store 2 ,mem_key_long_press_timer 
+0416 1fe67c0a sub pdata ,0x0a ,null 
+0417 2021042e branch p_flip_key_short_press ,positive 
+0418 6800cb25 fetch 1 ,mem_packet_send_finish 
+0419 247a0000 nrtn blank 
+041a 704b3702 jam 2 ,mem_key_long_short_press 
+041b 20600000 rtn 
 
 p_mouse_no_key_press:
-041f 70409101 jam 0x01 ,mem_lpm_mode 
-0420 704b1b00 jam 0 ,mem_device_change_finish 
-0421 704b2600 jam 0 ,mem_timer_key 
-0422 6800cb1c fetch 1 ,mem_flip_device_charging 
-0423 243a0428 nbranch p_mouse_no_key_init ,blank 
-0424 6800ca5e fetch 1 ,mem_mouse_adc_last_low_voltage_flag 
-0425 c0008428 beq 1 ,p_mouse_no_key_init 
-0426 704b3500 jam 0 ,mem_low_voltage_led_flag 
-0427 704a5200 jam off ,mem_mouse_multi_led_blink_enable 
+041c 70409101 jam 0x01 ,mem_lpm_mode 
+041d 704b1b00 jam 0 ,mem_device_change_finish 
+041e 704b2600 jam 0 ,mem_timer_key 
+041f 6800cb1c fetch 1 ,mem_flip_device_charging 
+0420 243a0425 nbranch p_mouse_no_key_init ,blank 
+0421 6800ca5e fetch 1 ,mem_mouse_adc_last_low_voltage_flag 
+0422 c0008425 beq 1 ,p_mouse_no_key_init 
+0423 704b3500 jam 0 ,mem_low_voltage_led_flag 
+0424 704a5200 jam off ,mem_mouse_multi_led_blink_enable 
 
 p_mouse_no_key_init:
-0428 6800cb2e fetch 1 ,mem_not_show_device_led 
-0429 245a0435 ncall p_multi_led_on_timer_set0 ,blank 
-042a 2040057c call p_key_press_timer_set0 
-042b 6800cb31 fetch 1 ,mem_key_g24_pairing_flag 
-042c 207a0000 rtn blank 
-042d 204004fa call p_g24_stop_pair_init 
-042e 6800cb2b fetch 1 ,mem_flip_connect_success 
-042f c0808437 bne 0x01 ,p_g24_reconn_start 
-0430 20600000 rtn 
+0425 6800cb2e fetch 1 ,mem_not_show_device_led 
+0426 245a0432 ncall p_multi_led_on_timer_set0 ,blank 
+0427 2040057c call p_key_press_timer_set0 
+0428 6800cb31 fetch 1 ,mem_key_g24_pairing_flag 
+0429 207a0000 rtn blank 
+042a 204004f7 call p_g24_stop_pair_init 
+042b 6800cb2b fetch 1 ,mem_flip_connect_success 
+042c c0808434 bne 0x01 ,p_g24_reconn_start 
+042d 20600000 rtn 
 
 p_flip_key_short_press:
-0431 6800cb25 fetch 1 ,mem_packet_send_finish 
-0432 247a0000 nrtn blank 
-0433 704b3701 jam 1 ,mem_key_long_short_press 
-0434 20600000 rtn 
+042e 6800cb25 fetch 1 ,mem_packet_send_finish 
+042f 247a0000 nrtn blank 
+0430 704b3701 jam 1 ,mem_key_long_short_press 
+0431 20600000 rtn 
 
 p_multi_led_on_timer_set0:
-0435 704a5a00 jam 0 ,mem_mouse_multi_led_on_timer 
-0436 20600000 rtn 
+0432 704a5a00 jam 0 ,mem_mouse_multi_led_on_timer 
+0433 20600000 rtn 
 
 p_g24_reconn_start:
-0437 204003cd call p_mouse_set_24g_addr_eeprom 
-0438 204065df call iicd_read_eep_data 
-0439 204001f0 call p_g24_start_24g_mode 
-043a 20600000 rtn 
+0434 204003cd call p_mouse_set_24g_addr_eeprom 
+0435 204065df call iicd_read_eep_data 
+0436 204001f0 call p_g24_start_24g_mode 
+0437 20600000 rtn 
 
 p_flip_charging_timer_init:
-043b 6808cb11 fetcht 1 ,mem_device_usb_gpio 
-043c 204004d9 call p_get_usb_bit 
-043d 6000cb1d store 1 ,mem_flip_device_usbing 
-043e 6808cb10 fetcht 1 ,mem_device_charge_gpio 
-043f 204067fb call gpio_config_input 
-0440 6808cb10 fetcht 1 ,mem_device_charge_gpio 
-0441 204004d9 call p_get_usb_bit 
-0442 6000cb1c store 1 ,mem_flip_device_charging 
-0443 c1808000 rtnne 1 
+0438 6808cb11 fetcht 1 ,mem_device_usb_gpio 
+0439 204004d6 call p_get_usb_bit 
+043a 6000cb1d store 1 ,mem_flip_device_usbing 
+043b 6808cb10 fetcht 1 ,mem_device_charge_gpio 
+043c 204067fb call gpio_config_input 
+043d 6808cb10 fetcht 1 ,mem_device_charge_gpio 
+043e 204004d6 call p_get_usb_bit 
+043f 6000cb1c store 1 ,mem_flip_device_charging 
+0440 c1808000 rtnne 1 
 
 p_flip_charging_led_init:
-0444 68014b26 fetch 2 ,mem_timer_key 
-0445 243a046b nbranch p_multi_led_blink_disable ,blank 
-0446 704a5705 jam 0x05 ,mem_mouse_multi_led_blink_timer_init 
-0447 704a5b00 jam 0 ,mem_mouse_multi_led_blink_count_limited 
-0448 704a5201 jam 1 ,mem_mouse_multi_led_blink_enable 
-0449 20600000 rtn 
+0441 68014b26 fetch 2 ,mem_timer_key 
+0442 243a0468 nbranch p_multi_led_blink_disable ,blank 
+0443 704a5705 jam 0x05 ,mem_mouse_multi_led_blink_timer_init 
+0444 704a5b00 jam 0 ,mem_mouse_multi_led_blink_count_limited 
+0445 704a5201 jam 1 ,mem_mouse_multi_led_blink_enable 
+0446 20600000 rtn 
 
 p_send_alt_tab_payload_timer:
-044a 68014b1e fetch 2 ,mem_key_send_payload_staus 
-044b c040044d beq 0x80 ,p_send_alt_tab_payload_timer_init 
-044c 20600000 rtn 
+0447 68014b1e fetch 2 ,mem_key_send_payload_staus 
+0448 c040044a beq 0x80 ,p_send_alt_tab_payload_timer_init 
+0449 20600000 rtn 
 
 p_send_alt_tab_payload_timer_init:
-044d da604b16 arg mem_long_press_send_tab_timer ,regc 
-044e da400450 arg p_send_alt_tab_payload_flag ,regb 
-044f 2020336d branch timer_single_step 
+044a da604b16 arg mem_long_press_send_tab_timer ,regc 
+044b da40044d arg p_send_alt_tab_payload_flag ,regb 
+044c 2020336d branch timer_single_step 
 
 p_send_alt_tab_payload_flag:
-0450 704b1605 jam 0x05 ,mem_long_press_send_tab_timer 
-0451 704b2801 jam 1 ,mem_alt_key 
-0452 20600000 rtn 
+044d 704b1605 jam 0x05 ,mem_long_press_send_tab_timer 
+044e 704b2801 jam 1 ,mem_alt_key 
+044f 20600000 rtn 
 
 p_flip_multi_led_blink_timer:
-0453 6800cb2e fetch 1 ,mem_not_show_device_led 
-0454 c0008472 beq multi_led_blink ,p_mouse_discovery_multi_led_blink 
+0450 6800cb2e fetch 1 ,mem_not_show_device_led 
+0451 c000846f beq multi_led_blink ,p_mouse_discovery_multi_led_blink 
 
 p_flip_device_led_type_on_init:
-0455 704b2c01 jam 1 ,mem_device_led_flag 
-0456 20400482 call p_blue_led_on 
-0457 704b1b01 jam 1 ,mem_device_change_finish 
-0458 6800c720 fetch 1 ,mem_device_flag 
-0459 c0010469 beq latest_mode_24g ,p_flip_led_type_on_1s_init 
-045a d8400006 arg 0x06 ,temp 
+0452 704b2c01 jam 1 ,mem_device_led_flag 
+0453 2040047f call p_blue_led_on 
+0454 704b1b01 jam 1 ,mem_device_change_finish 
+0455 6800c720 fetch 1 ,mem_device_flag 
+0456 c0010466 beq latest_mode_24g ,p_flip_led_type_on_1s_init 
+0457 d8400006 arg 0x06 ,temp 
 
 p_flip_device_led_type_on_start:
-045b 6800ca5a fetch 1 ,mem_mouse_multi_led_on_timer 
-045c 1fe0fe01 increase 1 ,pdata 
-045d 6000ca5a store 1 ,mem_mouse_multi_led_on_timer 
-045e 98467c00 isub temp ,null 
-045f 20428461 call p_mouse_device_led_off_poweron ,zero 
-0460 20600000 rtn 
+0458 6800ca5a fetch 1 ,mem_mouse_multi_led_on_timer 
+0459 1fe0fe01 increase 1 ,pdata 
+045a 6000ca5a store 1 ,mem_mouse_multi_led_on_timer 
+045b 98467c00 isub temp ,null 
+045c 2042845e call p_mouse_device_led_off_poweron ,zero 
+045d 20600000 rtn 
 
 p_mouse_device_led_off_poweron:
-0461 704b2e01 jam 1 ,mem_not_show_device_led 
-0462 704b2c00 jam 0 ,mem_device_led_flag 
+045e 704b2e01 jam 1 ,mem_not_show_device_led 
+045f 704b2c00 jam 0 ,mem_device_led_flag 
 
 p_mouse_multi_led_blink_off:
-0463 204004ad call p_laser_led_off 
+0460 204004aa call p_laser_led_off 
 
 p_blue_led_off:
-0464 6800ca54 fetch 1 ,mem_mouse_multi_led_state 
-0465 c1000000 rtneq off 
+0461 6800ca54 fetch 1 ,mem_mouse_multi_led_state 
+0462 c1000000 rtneq off 
 
 p_blue_led_off2:
-0466 704a5400 jam off ,mem_mouse_multi_led_state 
-0467 204005d9 call p_blue_led_init 
-0468 20206825 branch gpio_out_inactive 
+0463 704a5400 jam off ,mem_mouse_multi_led_state 
+0464 204005d9 call p_blue_led_init 
+0465 20206825 branch gpio_out_inactive 
 
 p_flip_led_type_on_1s_init:
-0469 d840000a arg 0x0a ,temp 
-046a 2020045b branch p_flip_device_led_type_on_start 
+0466 d840000a arg 0x0a ,temp 
+0467 20200458 branch p_flip_device_led_type_on_start 
 
 p_multi_led_blink_disable:
-046b 704a5200 jam off ,mem_mouse_multi_led_blink_enable 
-046c 20600000 rtn 
+0468 704a5200 jam off ,mem_mouse_multi_led_blink_enable 
+0469 20600000 rtn 
 
 p_multi_led_blink_enable:
-046d 704a5201 jam on ,mem_mouse_multi_led_blink_enable 
-046e 20600000 rtn 
+046a 704a5201 jam on ,mem_mouse_multi_led_blink_enable 
+046b 20600000 rtn 
 
 p_flip_multi_led_blink_init:
-046f 6008ca59 storet 1 ,mem_mouse_multi_led_blink_count 
-0470 704a5b01 jam 1 ,mem_mouse_multi_led_blink_count_limited 
-0471 2020046d branch p_multi_led_blink_enable 
+046c 6008ca59 storet 1 ,mem_mouse_multi_led_blink_count 
+046d 704a5b01 jam 1 ,mem_mouse_multi_led_blink_count_limited 
+046e 2020046a branch p_multi_led_blink_enable 
 
 p_mouse_discovery_multi_led_blink:
-0472 6800ca52 fetch 1 ,mem_mouse_multi_led_blink_enable 
-0473 203a0489 branch p_flip_key_led_show ,blank 
-0474 da604a58 arg mem_mouse_multi_led_blink_timer ,regc 
-0475 da400477 arg p_mouse_multi_led_type_blink_timeout ,regb 
-0476 2020336d branch timer_single_step 
+046f 6800ca52 fetch 1 ,mem_mouse_multi_led_blink_enable 
+0470 203a0486 branch p_flip_key_led_show ,blank 
+0471 da604a58 arg mem_mouse_multi_led_blink_timer ,regc 
+0472 da400474 arg p_mouse_multi_led_type_blink_timeout ,regb 
+0473 2020336d branch timer_single_step 
 
 p_mouse_multi_led_type_blink_timeout:
-0477 6800ca57 fetch 1 ,mem_mouse_multi_led_blink_timer_init 
-0478 6000ca58 store 1 ,mem_mouse_multi_led_blink_timer 
-0479 6800ca5b fetch 1 ,mem_mouse_multi_led_blink_count_limited 
-047a 203a0480 branch p_mouse_multi_led_blink_count_no_limited ,blank 
-047b 6800ca59 fetch 1 ,mem_mouse_multi_led_blink_count 
-047c 203a0485 branch p_mouse_multi_led_blink_finish ,blank 
-047d 1fe0ffff increase -1 ,pdata 
-047e 6000ca59 store 1 ,mem_mouse_multi_led_blink_count 
-047f 704b2f0a jam 0x0a ,mem_g24_discon_long_sleep_timeout 
+0474 6800ca57 fetch 1 ,mem_mouse_multi_led_blink_timer_init 
+0475 6000ca58 store 1 ,mem_mouse_multi_led_blink_timer 
+0476 6800ca5b fetch 1 ,mem_mouse_multi_led_blink_count_limited 
+0477 203a047d branch p_mouse_multi_led_blink_count_no_limited ,blank 
+0478 6800ca59 fetch 1 ,mem_mouse_multi_led_blink_count 
+0479 203a0482 branch p_mouse_multi_led_blink_finish ,blank 
+047a 1fe0ffff increase -1 ,pdata 
+047b 6000ca59 store 1 ,mem_mouse_multi_led_blink_count 
+047c 704b2f0a jam 0x0a ,mem_g24_discon_long_sleep_timeout 
 
 p_mouse_multi_led_blink_count_no_limited:
-0480 6800ca54 fetch 1 ,mem_mouse_multi_led_state 
-0481 c0008464 beq on ,p_blue_led_off 
+047d 6800ca54 fetch 1 ,mem_mouse_multi_led_state 
+047e c0008461 beq on ,p_blue_led_off 
 
 p_blue_led_on:
-0482 704a5401 jam on ,mem_mouse_multi_led_state 
-0483 204005d9 call p_blue_led_init 
-0484 20206829 branch gpio_out_active 
+047f 704a5401 jam on ,mem_mouse_multi_led_state 
+0480 204005d9 call p_blue_led_init 
+0481 20206829 branch gpio_out_active 
 
 p_mouse_multi_led_blink_finish:
-0485 6800ca5e fetch 1 ,mem_mouse_adc_last_low_voltage_flag 
-0486 c0000463 beq 0 ,p_mouse_multi_led_blink_off 
-0487 704a5200 jam off ,mem_mouse_multi_led_blink_enable 
-0488 20200463 branch p_mouse_multi_led_blink_off 
+0482 6800ca5e fetch 1 ,mem_mouse_adc_last_low_voltage_flag 
+0483 c0000460 beq 0 ,p_mouse_multi_led_blink_off 
+0484 704a5200 jam off ,mem_mouse_multi_led_blink_enable 
+0485 20200460 branch p_mouse_multi_led_blink_off 
 
 p_flip_key_led_show:
-0489 6800cb36 fetch 1 ,mem_device_turn_off 
-048a 243a04a1 nbranch p_full_change_led_off ,blank 
-048b 20404083 call mouse_check_key_gpio 
-048c 203a0493 branch p_flip_key_release_led ,blank 
-048d 704b3501 jam 1 ,mem_low_voltage_led_flag 
-048e c00a0463 beq 0x14 ,p_mouse_multi_led_blink_off 
-048f c001849d beq 0x03 ,p_flip_key_change_led 
-0490 1fe17e1f and_into 0x1f ,pdata 
-0491 204005d2 call p_laser_led_on 
-0492 20200482 branch p_blue_led_on 
+0486 6800cb36 fetch 1 ,mem_device_turn_off 
+0487 243a049e nbranch p_full_change_led_off ,blank 
+0488 20404083 call mouse_check_key_gpio 
+0489 203a0490 branch p_flip_key_release_led ,blank 
+048a 704b3501 jam 1 ,mem_low_voltage_led_flag 
+048b c00a0460 beq 0x14 ,p_mouse_multi_led_blink_off 
+048c c001849a beq 0x03 ,p_flip_key_change_led 
+048d 1fe17e1f and_into 0x1f ,pdata 
+048e 204005d2 call p_laser_led_on 
+048f 2020047f branch p_blue_led_on 
 
 p_flip_key_release_led:
-0493 6800ca5e fetch 1 ,mem_mouse_adc_last_low_voltage_flag 
-0494 c0008496 beq 1 ,p_low_voltage_led_init 
-0495 20200463 branch p_mouse_multi_led_blink_off 
+0490 6800ca5e fetch 1 ,mem_mouse_adc_last_low_voltage_flag 
+0491 c0008493 beq 1 ,p_low_voltage_led_init 
+0492 20200460 branch p_mouse_multi_led_blink_off 
 
 p_low_voltage_led_init:
-0496 6800cb35 fetch 1 ,mem_low_voltage_led_flag 
-0497 207a0000 rtn blank 
-0498 704b3500 jam 0 ,mem_low_voltage_led_flag 
-0499 704a5701 jam 1 ,mem_mouse_multi_led_blink_timer_init 
-049a d8400006 arg 6 ,temp 
-049b 2040046f call p_flip_multi_led_blink_init 
-049c 20200463 branch p_mouse_multi_led_blink_off 
+0493 6800cb35 fetch 1 ,mem_low_voltage_led_flag 
+0494 207a0000 rtn blank 
+0495 704b3500 jam 0 ,mem_low_voltage_led_flag 
+0496 704a5701 jam 1 ,mem_mouse_multi_led_blink_timer_init 
+0497 d8400006 arg 6 ,temp 
+0498 2040046c call p_flip_multi_led_blink_init 
+0499 20200460 branch p_mouse_multi_led_blink_off 
 
 p_flip_key_change_led:
-049d 704b2201 jam 1 ,mem_key_not_send_flag 
-049e 6800ca5a fetch 1 ,mem_mouse_multi_led_on_timer 
-049f 205a0482 call p_blue_led_on ,blank 
-04a0 20200469 branch p_flip_led_type_on_1s_init 
+049a 704b2201 jam 1 ,mem_key_not_send_flag 
+049b 6800ca5a fetch 1 ,mem_mouse_multi_led_on_timer 
+049c 205a047f call p_blue_led_on ,blank 
+049d 20200466 branch p_flip_led_type_on_1s_init 
 
 p_full_change_led_off:
-04a1 6800cb1c fetch 1 ,mem_flip_device_charging 
-04a2 247a0000 nrtn blank 
-04a3 20200463 branch p_mouse_multi_led_blink_off 
+049e 6800cb1c fetch 1 ,mem_flip_device_charging 
+049f 247a0000 nrtn blank 
+04a0 20200460 branch p_mouse_multi_led_blink_off 
 
 p_g24_init_long_sleep_timer:
-04a4 6800cb2b fetch 1 ,mem_flip_connect_success 
-04a5 247a0000 nrtn blank 
-04a6 6800c720 fetch 1 ,mem_device_flag 
-04a7 c1008000 rtneq mode_bt_device1 
-04a8 6800cb1c fetch 1 ,mem_flip_device_charging 
-04a9 247a0000 nrtn blank 
-04aa da604b2f arg mem_g24_discon_long_sleep_timeout ,regc 
-04ab da4003d3 arg p_g24_long_sleep_set ,regb 
-04ac 2020336d branch timer_single_step 
+04a1 6800cb2b fetch 1 ,mem_flip_connect_success 
+04a2 247a0000 nrtn blank 
+04a3 6800c720 fetch 1 ,mem_device_flag 
+04a4 c1008000 rtneq mode_bt_device1 
+04a5 6800cb1c fetch 1 ,mem_flip_device_charging 
+04a6 247a0000 nrtn blank 
+04a7 da604b2f arg mem_g24_discon_long_sleep_timeout ,regc 
+04a8 da4003d3 arg p_g24_long_sleep_set ,regb 
+04a9 2020336d branch timer_single_step 
 
 p_laser_led_off:
-04ad 204005d0 call p_laser_led_init 
-04ae 20206825 branch gpio_out_inactive 
+04aa 204005d0 call p_laser_led_init 
+04ab 20206825 branch gpio_out_inactive 
 
 p_mouse_select_device:
-04af 6800cb1b fetch 1 ,mem_device_change_finish 
-04b0 243a04b3 nbranch p_mouse_select_device_button_up ,blank 
-04b1 20404083 call mouse_check_key_gpio 
-04b2 c00a04b6 beq 0x14 ,p_mouse_select_device_button_down 
+04ac 6800cb1b fetch 1 ,mem_device_change_finish 
+04ad 243a04b0 nbranch p_mouse_select_device_button_up ,blank 
+04ae 20404083 call mouse_check_key_gpio 
+04af c00a04b3 beq 0x14 ,p_mouse_select_device_button_down 
 
 p_mouse_select_device_button_up:
-04b3 6800ca50 fetch 1 ,mem_mouse_button_select_device_timer_init 
-04b4 6000ca51 store 1 ,mem_mouse_button_select_device_count 
-04b5 2020433a branch mouse_select_device_commbination_key_up + 1 
+04b0 6800ca50 fetch 1 ,mem_mouse_button_select_device_timer_init 
+04b1 6000ca51 store 1 ,mem_mouse_button_select_device_count 
+04b2 2020433a branch mouse_select_device_commbination_key_up + 1 
 
 p_mouse_select_device_button_down:
-04b6 704b2201 jam 1 ,mem_key_not_send_flag 
-04b7 204004bc call p_mouse_button_select_device_timer 
-04b8 6800c6d9 fetch 1 ,mem_select_device_button_statue 
-04b9 c1000000 rtneq dpi_button_state_down 
-04ba 7046d900 jam dpi_button_state_down ,mem_select_device_button_statue 
-04bb 20600000 rtn 
+04b3 704b2201 jam 1 ,mem_key_not_send_flag 
+04b4 204004b9 call p_mouse_button_select_device_timer 
+04b5 6800c6d9 fetch 1 ,mem_select_device_button_statue 
+04b6 c1000000 rtneq dpi_button_state_down 
+04b7 7046d900 jam dpi_button_state_down ,mem_select_device_button_statue 
+04b8 20600000 rtn 
 
 p_mouse_button_select_device_timer:
-04bc da604a51 arg mem_mouse_button_select_device_count ,regc 
-04bd da4004bf arg p_mouse_long_button_select_device ,regb 
-04be 2020336d branch timer_single_step 
+04b9 da604a51 arg mem_mouse_button_select_device_count ,regc 
+04ba da4004bc arg p_mouse_long_button_select_device ,regb 
+04bb 2020336d branch timer_single_step 
 
 p_mouse_long_button_select_device:
-04bf d8e00006 arg mouse_long_bt_button_flag ,queue 
-04c0 204043ce call mouse_enable_function_flag 
+04bc d8e00006 arg mouse_long_bt_button_flag ,queue 
+04bd 204043ce call mouse_enable_function_flag 
 
 p_mouse_ready_reconnection_by_button:
-04c1 7041bd00 jam 0 ,mem_link_key_exists 
-04c2 6808c720 fetcht 1 ,mem_device_flag 
-04c3 18408401 increase 1 ,temp 
-04c4 6800c6d2 fetch 1 ,mem_device_number 
-04c5 98467c00 isub temp ,null 
-04c6 244143cc ncall mouse_select_device_count_clean ,positive 
-04c7 6008c720 storet 1 ,mem_device_flag 
-04c8 204042e4 call mouse_store_eeprom_device_info 
-04c9 20204378 branch mouse_ready_reconnection_by_button + 8 
+04be 7041bd00 jam 0 ,mem_link_key_exists 
+04bf 6808c720 fetcht 1 ,mem_device_flag 
+04c0 18408401 increase 1 ,temp 
+04c1 6800c6d2 fetch 1 ,mem_device_number 
+04c2 98467c00 isub temp ,null 
+04c3 244143cc ncall mouse_select_device_count_clean ,positive 
+04c4 6008c720 storet 1 ,mem_device_flag 
+04c5 204042e4 call mouse_store_eeprom_device_info 
+04c6 20204378 branch mouse_ready_reconnection_by_button + 8 
 
 p_mouse_poweron_bt_start_reconn_timer:
-04ca da604aa9 arg mem_mouse_poweron_bt_start_reconn_timer ,regc 
-04cb da4003d7 arg p_mouse_bt_start_reconn ,regb 
-04cc 2020336d branch timer_single_step 
+04c7 da604aa9 arg mem_mouse_poweron_bt_start_reconn_timer ,regc 
+04c8 da4003d7 arg p_mouse_bt_start_reconn ,regb 
+04c9 2020336d branch timer_single_step 
 
 p_mouse_check_direct_timeout_timer:
-04cd da6046ae arg mem_mouse_direct_timer ,regc 
-04ce da4004d0 arg p_mouse_check_direct_timeout ,regb 
-04cf 20203374 branch timer_single_step_2b 
+04ca da6046ae arg mem_mouse_direct_timer ,regc 
+04cb da4004cd arg p_mouse_check_direct_timeout ,regb 
+04cc 20203374 branch timer_single_step_2b 
 
 p_mouse_check_direct_timeout:
-04d0 704aaa01 jam 1 ,mem_mouse_le_not_tx_disconn 
-04d1 6800caa8 fetch 1 ,mem_mouse_latest_mode 
-04d2 1fe67cff sub pdata ,latest_mode_null ,null 
-04d3 20428514 call p_mouse_le_adv_start ,zero 
-04d4 204005f8 call p_mouse_le_adv_data_update 
-04d5 202043b8 branch mouse_long_button_bt_discovry 
+04cd 704aaa01 jam 1 ,mem_mouse_le_not_tx_disconn 
+04ce 6800caa8 fetch 1 ,mem_mouse_latest_mode 
+04cf 1fe67cff sub pdata ,latest_mode_null ,null 
+04d0 20428511 call p_mouse_le_adv_start ,zero 
+04d1 204005f8 call p_mouse_le_adv_data_update 
+04d2 202043b8 branch mouse_long_button_bt_discovry 
 
 p_mouse_le_switch_adv_timer:
-04d6 6800ca9b fetch 1 ,mem_le_switch_adv_flag 
-04d7 207a0000 rtn blank 
-04d8 202003af branch p_check_51cmd_adv 
+04d3 6800ca9b fetch 1 ,mem_le_switch_adv_flag 
+04d4 207a0000 rtn blank 
+04d5 202003af branch p_check_51cmd_adv 
 
 p_get_usb_bit:
-04d9 2040681d call gpio_get_bit 
-04da 58000000 setarg 0x00 
-04db 7920fe00 setflag true ,0 ,pdata 
-04dc 20600000 rtn 
+04d6 2040681d call gpio_get_bit 
+04d7 58000000 setarg 0x00 
+04d8 7920fe00 setflag true ,0 ,pdata 
+04d9 20600000 rtn 
 
 p_mouse_g24_pair_mode_timer:
-04dd 6800c720 fetch 1 ,mem_device_flag 
-04de c1008000 rtneq mode_bt_device1 
-04df 6800cb26 fetch 1 ,mem_timer_key 
-04e0 c1888000 rtnne 0x11 
-04e1 58000000 setarg 0 
-04e2 60014ae4 store 2 ,mem_customer_key 
-04e3 60024b1e store 4 ,mem_key_send_payload_staus 
-04e4 704a5701 jam 0x01 ,mem_mouse_multi_led_blink_timer_init 
-04e5 d8400000 arg 0 ,temp 
-04e6 68014b14 fetch 2 ,mem_key_long_press_timer 
-04e7 1fe67c0a sub pdata ,0x0a ,null 
-04e8 2021046f branch p_flip_multi_led_blink_init ,positive 
-04e9 6800cb2b fetch 1 ,mem_flip_connect_success 
-04ea 243a04ff nbranch p_g24_pairing_succ ,blank 
-04eb 704a5200 jam 0 ,mem_mouse_multi_led_blink_enable 
-04ec 68014b14 fetch 2 ,mem_key_long_press_timer 
-04ed 1fe67c60 sub pdata ,0x60 ,null 
-04ee 204284f8 call p_g24_stop_pair_mode ,zero 
-04ef 2441046d ncall p_multi_led_blink_enable ,positive 
-04f0 1fe67c64 sub pdata ,0x64 ,null 
-04f1 242104fa nbranch p_g24_stop_pair_init ,positive 
+04da 6800c720 fetch 1 ,mem_device_flag 
+04db c1008000 rtneq mode_bt_device1 
+04dc 6800cb26 fetch 1 ,mem_timer_key 
+04dd c1888000 rtnne 0x11 
+04de 58000000 setarg 0 
+04df 60014ae4 store 2 ,mem_customer_key 
+04e0 60024b1e store 4 ,mem_key_send_payload_staus 
+04e1 704a5701 jam 0x01 ,mem_mouse_multi_led_blink_timer_init 
+04e2 d8400000 arg 0 ,temp 
+04e3 68014b14 fetch 2 ,mem_key_long_press_timer 
+04e4 1fe67c0a sub pdata ,0x0a ,null 
+04e5 2021046c branch p_flip_multi_led_blink_init ,positive 
+04e6 6800cb2b fetch 1 ,mem_flip_connect_success 
+04e7 243a04fc nbranch p_g24_pairing_succ ,blank 
+04e8 704a5200 jam 0 ,mem_mouse_multi_led_blink_enable 
+04e9 68014b14 fetch 2 ,mem_key_long_press_timer 
+04ea 1fe67c60 sub pdata ,0x60 ,null 
+04eb 204284f5 call p_g24_stop_pair_mode ,zero 
+04ec 2441046a ncall p_multi_led_blink_enable ,positive 
+04ed 1fe67c64 sub pdata ,0x64 ,null 
+04ee 242104f7 nbranch p_g24_stop_pair_init ,positive 
 
 p_mouse_g24_stop_mode_timeout:
-04f2 704bc600 jam 0 ,mem_24g_ensure 
-04f3 20407fe7 call enable_user 
-04f4 6800cb31 fetch 1 ,mem_key_g24_pairing_flag 
-04f5 247a0000 nrtn blank 
-04f6 704b3101 jam 1 ,mem_key_g24_pairing_flag 
-04f7 2020031e branch p_g24_auto_pair_start 
+04ef 704bc600 jam 0 ,mem_24g_ensure 
+04f0 20407fe7 call enable_user 
+04f1 6800cb31 fetch 1 ,mem_key_g24_pairing_flag 
+04f2 247a0000 nrtn blank 
+04f3 704b3101 jam 1 ,mem_key_g24_pairing_flag 
+04f4 2020031e branch p_g24_auto_pair_start 
 
 p_g24_stop_pair_mode:
-04f8 d8400004 arg 4 ,temp 
-04f9 2020046f branch p_flip_multi_led_blink_init 
+04f5 d8400004 arg 4 ,temp 
+04f6 2020046c branch p_flip_multi_led_blink_init 
 
 p_g24_stop_pair_init:
-04fa 6800cd10 fetch 1 ,mem_g24_conn_sm 
-04fb 793ffe01 set0 state_24g_pair ,pdata 
-04fc 6000cd10 store 1 ,mem_g24_conn_sm 
-04fd 704b3100 jam 0 ,mem_key_g24_pairing_flag 
-04fe 20600000 rtn 
+04f7 6800cd10 fetch 1 ,mem_g24_conn_sm 
+04f8 793ffe01 set0 state_24g_pair ,pdata 
+04f9 6000cd10 store 1 ,mem_g24_conn_sm 
+04fa 704b3100 jam 0 ,mem_key_g24_pairing_flag 
+04fb 20600000 rtn 
 
 p_g24_pairing_succ:
-04ff 6800cb31 fetch 1 ,mem_key_g24_pairing_flag 
-0500 243a046f nbranch p_flip_multi_led_blink_init ,blank 
-0501 704b2b00 jam 0 ,mem_flip_connect_success 
-0502 20600000 rtn 
+04fc 6800cb31 fetch 1 ,mem_key_g24_pairing_flag 
+04fd 243a046c nbranch p_flip_multi_led_blink_init ,blank 
+04fe 704b2b00 jam 0 ,mem_flip_connect_success 
+04ff 20600000 rtn 
 
 p_mouse_le_enable_att_list_timer:
-0503 da6046c6 arg mem_le_start_encrypt_timer ,regc 
-0504 da403d60 arg mouse_le_write_enable ,regb 
-0505 2020336d branch timer_single_step 
+0500 da6046c6 arg mem_le_start_encrypt_timer ,regc 
+0501 da403d60 arg mouse_le_write_enable ,regb 
+0502 2020336d branch timer_single_step 
 
 p_mouse_le_current_mult_update_timer:
-0506 da604a8e arg mem_mouse_le_current_mult_timer ,regc 
-0507 da400509 arg p_mouse_le_current_mult_reinit ,regb 
-0508 2020336d branch timer_single_step 
+0503 da604a8e arg mem_mouse_le_current_mult_timer ,regc 
+0504 da400506 arg p_mouse_le_current_mult_reinit ,regb 
+0505 2020336d branch timer_single_step 
 
 p_mouse_le_current_mult_reinit:
-0509 6800c7c5 fetch 1 ,mem_lpm_mult_init 
-050a 6000c172 store 1 ,mem_lpm_mult 
-050b 20600000 rtn 
+0506 6800c7c5 fetch 1 ,mem_lpm_mult_init 
+0507 6000c172 store 1 ,mem_lpm_mult 
+0508 20600000 rtn 
 
 p_le_send_smp_security_request_timer:
-050c 6800ca92 fetch 1 ,mem_mouse_le_bb_connected_flag 
-050d 207a0000 rtn blank 
-050e da604a90 arg mem_mouse_send_secutiry_request_timer ,regc 
-050f da400511 arg p_le_pairing_sm_start_check ,regb 
-0510 2020336d branch timer_single_step 
+0509 6800ca92 fetch 1 ,mem_mouse_le_bb_connected_flag 
+050a 207a0000 rtn blank 
+050b da604a90 arg mem_mouse_send_secutiry_request_timer ,regc 
+050c da40050e arg p_le_pairing_sm_start_check ,regb 
+050d 2020336d branch timer_single_step 
 
 p_le_pairing_sm_start_check:
-0511 6800ca91 fetch 1 ,mem_le_send_security_request_flag 
-0512 247a0000 nrtn blank 
-0513 20205bf5 branch le_pairing_sm_start 
+050e 6800ca91 fetch 1 ,mem_le_send_security_request_flag 
+050f 247a0000 nrtn blank 
+0510 20205bf5 branch le_pairing_sm_start 
 
 p_mouse_le_adv_start:
-0514 704a9f01 jam 1 ,mem_mouse_le_adv_start 
-0515 20600000 rtn 
+0511 704a9f01 jam 1 ,mem_mouse_le_adv_start 
+0512 20600000 rtn 
 
 p_mouse_adc_read:
-0516 6800cb2c fetch 1 ,mem_device_led_flag 
-0517 247a0000 nrtn blank 
-0518 6800ca54 fetch 1 ,mem_mouse_multi_led_state 
-0519 c1008000 rtneq on 
-051a da6046ce arg mem_adc_read_timer ,regc 
-051b da40051d arg p_mouse_adc_read_timeout ,regb 
-051c 2020336d branch timer_single_step 
+0513 6800cb2c fetch 1 ,mem_device_led_flag 
+0514 247a0000 nrtn blank 
+0515 6800ca54 fetch 1 ,mem_mouse_multi_led_state 
+0516 c1008000 rtneq on 
+0517 da6046ce arg mem_adc_read_timer ,regc 
+0518 da40051a arg p_mouse_adc_read_timeout ,regb 
+0519 2020336d branch timer_single_step 
 
 p_mouse_adc_read_timeout:
-051d 7046ce0a jam 10 ,mem_adc_read_timer 
+051a 7046ce0a jam 10 ,mem_adc_read_timer 
 
 p_mouse_adc_read_once:
-051e d8400005 arg 0x05 ,temp 
-051f 204067fb call gpio_config_input 
-0520 6810807c hfetch 1 ,core_gpio_pd0 
+051b d8400005 arg 0x05 ,temp 
+051c 204067fb call gpio_config_input 
+051d 6810807c hfetch 1 ,core_gpio_pd0 
+051e 793ffe05 set0 5 ,pdata 
+051f 6010807c hstore 1 ,core_gpio_pd0 
+0520 68108078 hfetch 1 ,core_gpio_pu0 
 0521 793ffe05 set0 5 ,pdata 
-0522 6010807c hstore 1 ,core_gpio_pd0 
-0523 68108078 hfetch 1 ,core_gpio_pu0 
-0524 793ffe05 set0 5 ,pdata 
-0525 60108078 hstore 1 ,core_gpio_pu0 
-0526 70422d02 jam adc_config_gpio ,mem_adc_config_flag 
-0527 20400536 call p_mouse_adc_read_set 
-0528 6001470f store 2 ,mem_mouse_vdd_now_vol 
-0529 20400466 call p_blue_led_off2 
-052a 70422d00 jam adc_config_vinlpm ,mem_adc_config_flag 
-052b 20400536 call p_mouse_adc_read_set 
-052c 60014b38 store 2 ,mem_mouse_vinlpm_vol 
-052d da204709 arg mem_mouse_vdd_calculate_set ,rega 
-052e 20400539 call p_adc_bat_percent_lowpower_out 
-052f 6800c231 fetch 1 ,mem_adc_power_flag 
-0530 c3000533 bbit0 0 ,p_mouse_adc_no_low_voltage 
-0531 704a5e01 jam 1 ,mem_mouse_adc_last_low_voltage_flag 
-0532 202043e7 branch mouse_adc_low_voltage 
+0522 60108078 hstore 1 ,core_gpio_pu0 
+0523 70422d02 jam adc_config_gpio ,mem_adc_config_flag 
+0524 204068a8 call adc_init_data 
+0525 204068eb call adc_set_mode 
+0526 20406908 call vdd_calculate_by_mode 
+0527 6001470f store 2 ,mem_mouse_vdd_now_vol 
+0528 20400463 call p_blue_led_off2 
+0529 70422d00 jam adc_config_vinlpm ,mem_adc_config_flag 
+052a 204068a8 call adc_init_data 
+052b 204068eb call adc_set_mode 
+052c 58000082 setarg 130 
+052d 6001422b store 2 ,mem_reference_voltage 
+052e 20406908 call vdd_calculate_by_mode 
+052f 60014b38 store 2 ,mem_mouse_vinlpm_vol 
+0530 da204709 arg mem_mouse_vdd_calculate_set ,rega 
+0531 20400539 call p_adc_bat_percent_lowpower_out 
+0532 6800c231 fetch 1 ,mem_adc_power_flag 
+0533 c3000536 bbit0 0 ,p_mouse_adc_no_low_voltage 
+0534 704a5e01 jam 1 ,mem_mouse_adc_last_low_voltage_flag 
+0535 202043e7 branch mouse_adc_low_voltage 
 
 p_mouse_adc_no_low_voltage:
-0533 204043e9 call mouse_adc_no_low_voltage 
-0534 704a5e00 jam 0 ,mem_mouse_adc_last_low_voltage_flag 
-0535 20600000 rtn 
-
-p_mouse_adc_read_set:
-0536 204068a8 call adc_init_data 
-0537 204068eb call adc_set_mode 
-0538 20206908 branch vdd_calculate_by_mode 
+0536 204043e9 call mouse_adc_no_low_voltage 
+0537 704a5e00 jam 0 ,mem_mouse_adc_last_low_voltage_flag 
+0538 20600000 rtn 
 
 p_adc_bat_percent_lowpower_out:
 0539 ea240000 ifetch 8 ,rega 
@@ -2050,11 +2048,11 @@
 05d1 2020680e branch gpio_config_output 
 
 p_laser_led_on:
-05d2 c08804ad bne 0x10 ,p_laser_led_off 
+05d2 c08804aa bne 0x10 ,p_laser_led_off 
 05d3 68014b14 fetch 2 ,mem_key_long_press_timer 
 05d4 68094b12 fetcht 2 ,mem_key_long_press_sleep_timer 
 05d5 98467c00 isub temp ,null 
-05d6 202104ad branch p_laser_led_off ,positive 
+05d6 202104aa branch p_laser_led_off ,positive 
 05d7 204005d0 call p_laser_led_init 
 05d8 20206829 branch gpio_out_active 
 
Index: program/patch.prog
===================================================================
--- /branch/flip_pen/flip_pen_24G&BLE/program/patch.prog	(revision 3280)
+++ /branch/flip_pen/flip_pen_24G&BLE/program/patch.prog	(working copy)
@@ -1822,7 +1822,6 @@
 	nrtn blank
 	jam 2,mem_key_long_short_press
 	rtn
-	rtn
 p_mouse_no_key_press:
 	jam 0x01,mem_lpm_mode
 	jam 0,mem_device_change_finish
@@ -2256,34 +2255,37 @@
 	hstore 1,core_gpio_pu0
 
 	jam ADC_CONFIG_GPIO,mem_adc_config_flag
-	call p_mouse_adc_read_set
+	call adc_init_data
+	call adc_set_mode
+	call vdd_calculate_by_mode
 	store 2,mem_mouse_vdd_now_vol
 	call p_blue_led_off2
 
 	jam ADC_CONFIG_VINLPM,mem_adc_config_flag
-	call p_mouse_adc_read_set
+	call adc_init_data
+	call adc_set_mode
+
+	setarg 130
+	store 2,mem_reference_voltage //set reference voltage = 1.3V
+
+	call vdd_calculate_by_mode
 	store 2,mem_mouse_vinlpm_vol
 
-	//fetch 1,mem_adc_read_once
-	//ncall p_mouse_adc_read_once2,blank
+//	fetch 1,mem_adc_read_once
+//	ncall p_mouse_adc_read_once2,blank
 	arg mem_mouse_vdd_calculate_set,rega
 	call p_adc_bat_percent_lowpower_out
 	fetch 1,mem_adc_power_flag
-	//bbit1 1,app_enter_hibernate
+//	bbit1 1,app_enter_hibernate
 	bbit0 0,p_mouse_adc_no_low_voltage
 	jam 1,mem_mouse_adc_last_low_voltage_flag
 	branch mouse_adc_low_voltage
 p_mouse_adc_no_low_voltage:
 	call mouse_adc_no_low_voltage
-	//fetch 1,mem_mouse_adc_last_low_voltage_flag
-	//rtn blank
+//	fetch 1,mem_mouse_adc_last_low_voltage_flag
+//	rtn blank
 	jam 0,mem_mouse_adc_last_low_voltage_flag
 	rtn
-
-p_mouse_adc_read_set:
-	call adc_init_data
-	call adc_set_mode
-	branch vdd_calculate_by_mode
 	
 //p_mouse_adc_read_once2:
 //	jam OFF,mem_adc_read_once
Index: sched/mouse.dat
===================================================================
--- /branch/flip_pen/flip_pen_24G&BLE/sched/mouse.dat	(revision 3280)
+++ /branch/flip_pen/flip_pen_24G&BLE/sched/mouse.dat	(working copy)
@@ -141,7 +141,7 @@
 mem_adc_config_flag:02 #0 vinlpm 1 hvin 2 gpio
 mem_adc_channel:32 #gpio5
 mem_mouse_vdd_full_vol:51 00#4.2v
-14 01#mem_mouse_vdd_empty_vol:5a 00#3.3v
+27 01#mem_mouse_vdd_empty_vol:5a 00#3.3v
 4b 00#mem_mouse_vdd_low_vol:64 00  #3.4v
 mem_adc_read_timer:28
 
@@ -424,7 +424,7 @@
 mem_24g_pairing_sm:ff
 mem_24g_common_temp:00 00 00 00 00 00 00 00 00 00
 mem_24g_enter_hibernate:00 ee 02	
-mem_firmware_version:14 00
+mem_firmware_version:15 00
 
 mem_flip_retransmit_fail:00
 mem_hibernate_flag:00
