Index: output/eeprom.dat
===================================================================
--- /YC1308AC/branch/mouse_project/mouse_pubulic/output/eeprom.dat	(revision 1306)
+++ /YC1308AC/branch/mouse_project/mouse_pubulic/output/eeprom.dat	(working copy)
@@ -2,7 +2,7 @@
 02
 aa
 55
-8a
+5a
 15
 c2
 84
@@ -127,19 +127,19 @@
 c0
 71
 04
-c5
+b9
 c0
 74
 84
-ec
+e0
 c0
 75
-04
-0a
+03
+fe
 c0
 76
 04
-73
+67
 20
 20
 13
@@ -179,7 +179,7 @@
 20
 40
 04
-c1
+b5
 20
 40
 40
@@ -387,15 +387,15 @@
 c0
 1e
 05
-23
+17
 c0
 1c
 85
-1c
+10
 c0
 1d
 05
-2e
+22
 20
 20
 43
@@ -1271,7 +1271,7 @@
 da
 40
 05
-42
+36
 20
 20
 44
@@ -1295,7 +1295,7 @@
 c0
 00
 05
-59
+4d
 20
 20
 43
@@ -3943,7 +3943,7 @@
 20
 20
 04
-41
+35
 78
 57
 fc
@@ -4076,10 +4076,6 @@
 60
 00
 00
-c6
-1a
-00
-00
 c5
 13
 a4
@@ -4092,54 +4088,10 @@
 e0
 c8
 a1
-c2
-80
-a3
-40
-c2
-81
-25
-80
-6f
-e0
-c8
-bd
-c0
-00
-84
-03
 20
 20
 26
-21
-20
-40
-22
-ea
-24
-34
-03
-fc
-20
-40
-26
-db
-6f
-e1
-48
-be
-1f
-e0
-fe
-01
-67
-e1
-48
-be
-20
-20
-26
-21
+1d
 20
 40
 26
@@ -4147,11 +4099,11 @@
 24
 34
 04
-57
+4b
 20
 40
 04
-3e
+32
 6f
 e0
 cb
@@ -4159,7 +4111,7 @@
 24
 3a
 04
-13
+07
 6f
 e4
 48
@@ -4199,7 +4151,7 @@
 24
 22
 84
-38
+2c
 68
 49
 4c
@@ -4211,7 +4163,7 @@
 20
 22
 84
-2e
+22
 6f
 e2
 4c
@@ -4219,7 +4171,7 @@
 20
 3a
 04
-2e
+22
 68
 4a
 4c
@@ -4235,7 +4187,7 @@
 24
 21
 04
-31
+25
 6f
 e1
 c8
@@ -4247,7 +4199,7 @@
 24
 21
 04
-3c
+30
 d8
 40
 06
@@ -4259,7 +4211,7 @@
 24
 21
 04
-3c
+30
 67
 e2
 4c
@@ -4267,7 +4219,7 @@
 20
 40
 04
-35
+29
 6f
 e2
 4c
@@ -4287,7 +4239,7 @@
 20
 40
 04
-35
+29
 6f
 e1
 c8
@@ -4295,7 +4247,7 @@
 20
 20
 04
-28
+1c
 18
 46
 04
@@ -4311,7 +4263,7 @@
 20
 20
 04
-28
+1c
 58
 00
 00
@@ -4339,7 +4291,7 @@
 20
 20
 04
-1e
+12
 70
 4c
 69
@@ -4383,7 +4335,7 @@
 20
 40
 04
-7f
+73
 20
 40
 26
@@ -4391,7 +4343,7 @@
 20
 40
 04
-4a
+3e
 20
 20
 26
@@ -4403,7 +4355,7 @@
 24
 5a
 04
-4e
+42
 70
 4b
 e1
@@ -4455,7 +4407,7 @@
 20
 5a
 04
-65
+59
 6f
 e0
 c8
@@ -4487,7 +4439,7 @@
 20
 40
 04
-c1
+b5
 6f
 e0
 cb
@@ -4559,7 +4511,7 @@
 20
 20
 04
-0c
+00
 6f
 e0
 cb
@@ -4615,7 +4567,7 @@
 c0
 00
 84
-bd
+b1
 6f
 e0
 cc
@@ -4623,7 +4575,7 @@
 20
 3a
 04
-bd
+b1
 1b
 22
 7e
@@ -4691,7 +4643,7 @@
 20
 22
 84
-97
+8b
 18
 40
 84
@@ -4763,7 +4715,7 @@
 20
 21
 04
-b1
+a5
 1f
 e6
 7e
@@ -4799,7 +4751,7 @@
 24
 21
 04
-bb
+af
 60
 49
 c8
@@ -4839,7 +4791,7 @@
 20
 21
 04
-bb
+af
 60
 49
 c8
@@ -4927,19 +4879,19 @@
 c0
 00
 84
-d3
+c7
 c0
 01
 04
-d5
+c9
 c0
 01
 84
-db
+cf
 c0
 02
 04
-e1
+d5
 20
 60
 00
@@ -4951,7 +4903,7 @@
 20
 20
 04
-e2
+d6
 6f
 e0
 c8
@@ -4959,7 +4911,7 @@
 20
 3a
 04
-d9
+cd
 6f
 e2
 48
@@ -4975,7 +4927,7 @@
 20
 20
 04
-e2
+d6
 70
 47
 c6
@@ -4987,7 +4939,7 @@
 20
 3a
 04
-e2
+d6
 6f
 e2
 48
@@ -4999,7 +4951,7 @@
 20
 20
 04
-e4
+d8
 70
 47
 c6
@@ -5059,7 +5011,7 @@
 20
 3a
 04
-f4
+e8
 6f
 e1
 48
@@ -5087,11 +5039,11 @@
 24
 2c
 05
-0d
+01
 24
 37
 85
-0d
+01
 20
 40
 26
@@ -5126,8 +5078,8 @@
 00
 20
 42
-85
-09
+84
+fd
 6f
 e0
 c8
@@ -5223,7 +5175,7 @@
 c0
 02
 05
-1a
+0e
 20
 20
 25
@@ -5287,7 +5239,7 @@
 c0
 00
 05
-2b
+1f
 20
 40
 00
@@ -5295,7 +5247,7 @@
 20
 20
 05
-2c
+20
 20
 40
 48
@@ -5315,7 +5267,7 @@
 24
 3a
 05
-59
+4d
 6f
 e0
 c8
@@ -5323,15 +5275,15 @@
 c0
 01
 05
-35
+29
 c0
 02
 05
-4d
+41
 c0
 01
 85
-52
+46
 20
 20
 48
@@ -5343,11 +5295,11 @@
 c2
 97
 85
-3e
+32
 c2
 98
 05
-3e
+32
 c3
 1d
 48
@@ -5367,7 +5319,7 @@
 20
 22
 85
-42
+36
 20
 20
 48
@@ -5439,7 +5391,7 @@
 c3
 17
 85
-57
+4b
 6f
 e0
 cb
@@ -5447,7 +5399,7 @@
 c0
 00
 85
-57
+4b
 20
 20
 48
@@ -5459,15 +5411,15 @@
 c3
 17
 85
-57
+4b
 c2
 89
 85
-57
+4b
 c2
 89
 05
-57
+4b
 20
 20
 48
@@ -5515,9 +5467,9 @@
 20
 20
 04
-5c
-5e
-2f
+50
+1f
+0f
 aa
 55
 40
@@ -6448,8 +6400,8 @@
 55
 f7
 24
-39
-d8
+c1
+a6
 ff
 ff
 ff
@@ -8188,5 +8140,53 @@
 ff
 ff
 ff
-15
-57
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+8a
+f4
Index: output/flash.dat
===================================================================
--- /YC1308AC/branch/mouse_project/mouse_pubulic/output/flash.dat	(revision 1306)
+++ /YC1308AC/branch/mouse_project/mouse_pubulic/output/flash.dat	(working copy)
@@ -2,7 +2,7 @@
 02
 aa
 55
-8a
+5a
 15
 c2
 84
@@ -127,19 +127,19 @@
 c0
 71
 04
-c5
+b9
 c0
 74
 84
-ec
+e0
 c0
 75
-04
-0a
+03
+fe
 c0
 76
 04
-73
+67
 20
 20
 13
@@ -179,7 +179,7 @@
 20
 40
 04
-c1
+b5
 20
 40
 40
@@ -387,15 +387,15 @@
 c0
 1e
 05
-23
+17
 c0
 1c
 85
-1c
+10
 c0
 1d
 05
-2e
+22
 20
 20
 43
@@ -1271,7 +1271,7 @@
 da
 40
 05
-42
+36
 20
 20
 44
@@ -1295,7 +1295,7 @@
 c0
 00
 05
-59
+4d
 20
 20
 43
@@ -3943,7 +3943,7 @@
 20
 20
 04
-41
+35
 78
 57
 fc
@@ -4076,10 +4076,6 @@
 60
 00
 00
-c6
-1a
-00
-00
 c5
 13
 a4
@@ -4092,54 +4088,10 @@
 e0
 c8
 a1
-c2
-80
-a3
-40
-c2
-81
-25
-80
-6f
-e0
-c8
-bd
-c0
-00
-84
-03
 20
 20
 26
-21
-20
-40
-22
-ea
-24
-34
-03
-fc
-20
-40
-26
-db
-6f
-e1
-48
-be
-1f
-e0
-fe
-01
-67
-e1
-48
-be
-20
-20
-26
-21
+1d
 20
 40
 26
@@ -4147,11 +4099,11 @@
 24
 34
 04
-57
+4b
 20
 40
 04
-3e
+32
 6f
 e0
 cb
@@ -4159,7 +4111,7 @@
 24
 3a
 04
-13
+07
 6f
 e4
 48
@@ -4199,7 +4151,7 @@
 24
 22
 84
-38
+2c
 68
 49
 4c
@@ -4211,7 +4163,7 @@
 20
 22
 84
-2e
+22
 6f
 e2
 4c
@@ -4219,7 +4171,7 @@
 20
 3a
 04
-2e
+22
 68
 4a
 4c
@@ -4235,7 +4187,7 @@
 24
 21
 04
-31
+25
 6f
 e1
 c8
@@ -4247,7 +4199,7 @@
 24
 21
 04
-3c
+30
 d8
 40
 06
@@ -4259,7 +4211,7 @@
 24
 21
 04
-3c
+30
 67
 e2
 4c
@@ -4267,7 +4219,7 @@
 20
 40
 04
-35
+29
 6f
 e2
 4c
@@ -4287,7 +4239,7 @@
 20
 40
 04
-35
+29
 6f
 e1
 c8
@@ -4295,7 +4247,7 @@
 20
 20
 04
-28
+1c
 18
 46
 04
@@ -4311,7 +4263,7 @@
 20
 20
 04
-28
+1c
 58
 00
 00
@@ -4339,7 +4291,7 @@
 20
 20
 04
-1e
+12
 70
 4c
 69
@@ -4383,7 +4335,7 @@
 20
 40
 04
-7f
+73
 20
 40
 26
@@ -4391,7 +4343,7 @@
 20
 40
 04
-4a
+3e
 20
 20
 26
@@ -4403,7 +4355,7 @@
 24
 5a
 04
-4e
+42
 70
 4b
 e1
@@ -4455,7 +4407,7 @@
 20
 5a
 04
-65
+59
 6f
 e0
 c8
@@ -4487,7 +4439,7 @@
 20
 40
 04
-c1
+b5
 6f
 e0
 cb
@@ -4559,7 +4511,7 @@
 20
 20
 04
-0c
+00
 6f
 e0
 cb
@@ -4615,7 +4567,7 @@
 c0
 00
 84
-bd
+b1
 6f
 e0
 cc
@@ -4623,7 +4575,7 @@
 20
 3a
 04
-bd
+b1
 1b
 22
 7e
@@ -4691,7 +4643,7 @@
 20
 22
 84
-97
+8b
 18
 40
 84
@@ -4763,7 +4715,7 @@
 20
 21
 04
-b1
+a5
 1f
 e6
 7e
@@ -4799,7 +4751,7 @@
 24
 21
 04
-bb
+af
 60
 49
 c8
@@ -4839,7 +4791,7 @@
 20
 21
 04
-bb
+af
 60
 49
 c8
@@ -4927,19 +4879,19 @@
 c0
 00
 84
-d3
+c7
 c0
 01
 04
-d5
+c9
 c0
 01
 84
-db
+cf
 c0
 02
 04
-e1
+d5
 20
 60
 00
@@ -4951,7 +4903,7 @@
 20
 20
 04
-e2
+d6
 6f
 e0
 c8
@@ -4959,7 +4911,7 @@
 20
 3a
 04
-d9
+cd
 6f
 e2
 48
@@ -4975,7 +4927,7 @@
 20
 20
 04
-e2
+d6
 70
 47
 c6
@@ -4987,7 +4939,7 @@
 20
 3a
 04
-e2
+d6
 6f
 e2
 48
@@ -4999,7 +4951,7 @@
 20
 20
 04
-e4
+d8
 70
 47
 c6
@@ -5059,7 +5011,7 @@
 20
 3a
 04
-f4
+e8
 6f
 e1
 48
@@ -5087,11 +5039,11 @@
 24
 2c
 05
-0d
+01
 24
 37
 85
-0d
+01
 20
 40
 26
@@ -5126,8 +5078,8 @@
 00
 20
 42
-85
-09
+84
+fd
 6f
 e0
 c8
@@ -5223,7 +5175,7 @@
 c0
 02
 05
-1a
+0e
 20
 20
 25
@@ -5287,7 +5239,7 @@
 c0
 00
 05
-2b
+1f
 20
 40
 00
@@ -5295,7 +5247,7 @@
 20
 20
 05
-2c
+20
 20
 40
 48
@@ -5315,7 +5267,7 @@
 24
 3a
 05
-59
+4d
 6f
 e0
 c8
@@ -5323,15 +5275,15 @@
 c0
 01
 05
-35
+29
 c0
 02
 05
-4d
+41
 c0
 01
 85
-52
+46
 20
 20
 48
@@ -5343,11 +5295,11 @@
 c2
 97
 85
-3e
+32
 c2
 98
 05
-3e
+32
 c3
 1d
 48
@@ -5367,7 +5319,7 @@
 20
 22
 85
-42
+36
 20
 20
 48
@@ -5439,7 +5391,7 @@
 c3
 17
 85
-57
+4b
 6f
 e0
 cb
@@ -5447,7 +5399,7 @@
 c0
 00
 85
-57
+4b
 20
 20
 48
@@ -5459,15 +5411,15 @@
 c3
 17
 85
-57
+4b
 c2
 89
 85
-57
+4b
 c2
 89
 05
-57
+4b
 20
 20
 48
@@ -5515,9 +5467,9 @@
 20
 20
 04
-5c
-5e
-2f
+50
+1f
+0f
 aa
 55
 40
@@ -6448,8 +6400,8 @@
 55
 f7
 24
-39
-d8
+c1
+a6
 ff
 ff
 ff
@@ -8188,5 +8140,53 @@
 ff
 ff
 ff
-15
-57
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+8a
+f4
Index: output/program.lis
===================================================================
--- /YC1308AC/branch/mouse_project/mouse_pubulic/output/program.lis	(revision 1300)
+++ /YC1308AC/branch/mouse_project/mouse_pubulic/output/program.lis	(working copy)
@@ -32,10 +32,10 @@
 001b c06e83fa beq patch3b_5 ,p_g24_dispatch 
 001c c06f03ae beq patch3b_6 ,p_g24_receive_packet 
 001d c070838e beq patch3c_1 ,p_g24_transmit 
-001e c07104c5 beq patch3c_2 ,p_g24_pair_dispatch 
-001f c07484ec beq patch3d_1 ,p_g24_reconn_dispatch 
-0020 c075040a beq patch3d_2 ,p_g24_transmit_no_interrupt 
-0021 c0760473 beq patch3d_4 ,p_g24_lpm_wait 
+001e c07104b9 beq patch3c_2 ,p_g24_pair_dispatch 
+001f c07484e0 beq patch3d_1 ,p_g24_reconn_dispatch 
+0020 c07503fe beq patch3d_2 ,p_g24_transmit_no_interrupt 
+0021 c0760467 beq patch3d_4 ,p_g24_lpm_wait 
 0022 2020137c branch loop 
 
 p_app_init:
@@ -47,7 +47,7 @@
 0028 2040029c call p_g24_report 
 0029 6fe1c8ad fetch 3 ,mem_24g_short_sleep_set 
 002a 67e1cc64 store 3 ,mem_24g_short_sleep_set_init 
-002b 204004c1 call p_send_time_long_wake 
+002b 204004b5 call p_send_time_long_wake 
 002c 2040408e call mouse_dpi_config 
 002d 20403d8a call mouse_usb_check_enable 
 002e 20404728 call mouse_drawing_optima_init 
@@ -111,9 +111,9 @@
 
 p_mouse_priority_bb_event:
 005e 1a627e00 copy regc ,pdata 
-005f c01e0523 beq bt_evt_24g_attempt_success ,p_mouse_24g_attempt_success 
-0060 c01c851c beq bt_evt_24g_pairing_complete ,p_mouse_24g_pairing_complete 
-0061 c01d052e beq bt_evt_24g_attempt_fail ,p_mouse_24g_attempt_fail 
+005f c01e0517 beq bt_evt_24g_attempt_success ,p_mouse_24g_attempt_success 
+0060 c01c8510 beq bt_evt_24g_pairing_complete ,p_mouse_24g_pairing_complete 
+0061 c01d0522 beq bt_evt_24g_attempt_fail ,p_mouse_24g_attempt_fail 
 0062 20204336 branch mouse_priority_bb_event + 2 
 
 p_mouse_start_work:
@@ -418,7 +418,7 @@
 013b 20600000 rtn 
 
 p_mouse_combination_ui_timer:
-013c da400542 arg p_mouse_24g_start_pair_mode ,regb 
+013c da400536 arg p_mouse_24g_start_pair_mode ,regb 
 013d 202044f7 branch mouse_combination_ui_timer + 1 
 
 p_mouse_check_no_data_timeout_timer:
@@ -428,7 +428,7 @@
 
 p_mouse_check_no_data_timeout:
 0141 6fe0c938 fetch 1 ,mem_device_flag 
-0142 c0000559 beq mode_24g_device ,p_mouse_24g_hibernate_set 
+0142 c000054d beq mode_24g_device ,p_mouse_24g_hibernate_set 
 0143 2020431b branch mouse_disconnect 
 
 p_mouse_drawing_optima:
@@ -1318,7 +1318,7 @@
 03d5 6fe14c67 fetch 2 ,mem_retransmit 
 03d6 1fe0fe01 increase 1 ,pdata 
 03d7 67e14c67 store 2 ,mem_retransmit 
-03d8 20200441 branch p_g24_transmit_loop 
+03d8 20200435 branch p_g24_transmit_loop 
 
 p_g24_transmit_receive_ack:
 03d9 7857fc00 disable user3 
@@ -1362,468 +1362,454 @@
 03f9 20600000 rtn 
 
 p_g24_dispatch:
-03fa c61a0000 rtnmark1 mark_adc_enable 
-03fb c513a40e bmark1 mark_24g_rxmode ,g24_receive_dispatch 
+03fa c513a40e bmark1 mark_24g_rxmode ,g24_receive_dispatch 
 
 p_g24_transmit_dispatch:
-03fc c6930000 rtnmark0 mark_24g 
-03fd 6fe0c8a1 fetch 1 ,mem_24g_conn_sm 
-03fe c280a340 bbit1 state_24g_pair ,g24_pair_dispatch 
-03ff c2812580 bbit1 state_24g_reconn ,g24_reconn_dispatch 
-0400 6fe0c8bd fetch 1 ,mem_24g_transmit_by_interrupt 
-0401 c0008403 beq g24_tx_timer_int_enable ,p_g24_transmit_by_interrupt 
-0402 20202621 branch g24_transmit_no_interrupt 
-
-p_g24_transmit_by_interrupt:
-0403 204022ea call g24_timer_check 
-0404 243403fc nbranch p_g24_transmit_dispatch ,user 
-0405 204026db call g24_interval_calibrate 
-0406 6fe148be fetch 2 ,mem_24g_transmit_by_interrupt_exit_count 
-0407 1fe0fe01 increase 1 ,pdata 
-0408 67e148be store 2 ,mem_24g_transmit_by_interrupt_exit_count 
-0409 20202621 branch g24_transmit_no_interrupt 
+03fb c6930000 rtnmark0 mark_24g 
+03fc 6fe0c8a1 fetch 1 ,mem_24g_conn_sm 
+03fd 2020261d branch g24_transmit_dispatch + 2 
 
 p_g24_transmit_no_interrupt:
-040a 20402631 call g24_txdata_prep 
-040b 24340457 nbranch p_g24_nodata_transmit ,user 
+03fe 20402631 call g24_txdata_prep 
+03ff 2434044b nbranch p_g24_nodata_transmit ,user 
 
 p_g24_transmit_start:
-040c 2040043e call p_g24_transmit_process 
-040d 6fe0cbe1 fetch 1 ,mem_sensor_shutdown_flag 
-040e 243a0413 nbranch p_g24_short_sleep ,blank 
-040f 6fe448b0 fetch 8 ,mem_24g_long_sleep_set 
-0410 67e4485c store 8 ,mem_24g_enter_hibernate 
-0411 6fe148c2 fetch 2 ,mem_24g_long_sleep_param_update_timer_init 
-0412 67e148c4 store 2 ,mem_24g_long_sleep_param_update_timer 
+0400 20400432 call p_g24_transmit_process 
+0401 6fe0cbe1 fetch 1 ,mem_sensor_shutdown_flag 
+0402 243a0407 nbranch p_g24_short_sleep ,blank 
+0403 6fe448b0 fetch 8 ,mem_24g_long_sleep_set 
+0404 67e4485c store 8 ,mem_24g_enter_hibernate 
+0405 6fe148c2 fetch 2 ,mem_24g_long_sleep_param_update_timer_init 
+0406 67e148c4 store 2 ,mem_24g_long_sleep_param_update_timer 
 
 p_g24_short_sleep:
-0413 204026bb call g24_lpm_wait 
-0414 24740000 nrtn user 
-0415 6fe0cc69 fetch 1 ,mem_sleep_miss 
-0416 704c6900 jam 0 ,mem_sleep_miss 
-0417 1fe67c00 sub pdata ,0 ,null 
-0418 24228438 nbranch p_g24_short_sleep_last_miss ,zero 
-0419 68494c67 fetcht 2 ,mem_retransmit 
-041a 18467c00 sub temp ,0 ,null 
-041b 2022842e branch p_g24_short_sleep_default ,zero 
-041c 6fe24c59 fetch 4 ,mem_tx_time_last_delt 
-041d 203a042e branch p_g24_short_sleep_default ,blank 
+0407 204026bb call g24_lpm_wait 
+0408 24740000 nrtn user 
+0409 6fe0cc69 fetch 1 ,mem_sleep_miss 
+040a 704c6900 jam 0 ,mem_sleep_miss 
+040b 1fe67c00 sub pdata ,0 ,null 
+040c 2422842c nbranch p_g24_short_sleep_last_miss ,zero 
+040d 68494c67 fetcht 2 ,mem_retransmit 
+040e 18467c00 sub temp ,0 ,null 
+040f 20228422 branch p_g24_short_sleep_default ,zero 
+0410 6fe24c59 fetch 4 ,mem_tx_time_last_delt 
+0411 203a0422 branch p_g24_short_sleep_default ,blank 
 
 p_g24_short_sleep_notify:
-041e 684a4c4e fetcht 4 ,mem_24g_tsniff 
-041f 98460400 isub temp ,temp 
-0420 604a4c6e storet 4 ,mem_sleep_miss_temp 
-0421 24210431 nbranch p_g24_short_sleep_long ,positive 
-0422 6fe1c8ad fetch 3 ,mem_24g_short_sleep_set 
-0423 98467e00 isub temp ,pdata 
-0424 2421043c nbranch p_g24_short_sleep_2 ,positive 
-0425 d8400600 arg 0x600 ,temp 
-0426 98467c00 isub temp ,null 
-0427 2421043c nbranch p_g24_short_sleep_2 ,positive 
+0412 684a4c4e fetcht 4 ,mem_24g_tsniff 
+0413 98460400 isub temp ,temp 
+0414 604a4c6e storet 4 ,mem_sleep_miss_temp 
+0415 24210425 nbranch p_g24_short_sleep_long ,positive 
+0416 6fe1c8ad fetch 3 ,mem_24g_short_sleep_set 
+0417 98467e00 isub temp ,pdata 
+0418 24210430 nbranch p_g24_short_sleep_2 ,positive 
+0419 d8400600 arg 0x600 ,temp 
+041a 98467c00 isub temp ,null 
+041b 24210430 nbranch p_g24_short_sleep_2 ,positive 
 
 p_g24_short_sleep2:
-0428 67e24c6a store 4 ,mem_sleep_time_temp 
-0429 20400435 call p_g24_miss_temp_clear 
-042a 6fe24c6a fetch 4 ,mem_sleep_time_temp 
-042b 20407daa call clk2lpo 
-042c 604a4160 storet 4 ,mem_sleep_counter 
-042d 2020030c branch p_lpm_short_sleep 
+041c 67e24c6a store 4 ,mem_sleep_time_temp 
+041d 20400429 call p_g24_miss_temp_clear 
+041e 6fe24c6a fetch 4 ,mem_sleep_time_temp 
+041f 20407daa call clk2lpo 
+0420 604a4160 storet 4 ,mem_sleep_counter 
+0421 2020030c branch p_lpm_short_sleep 
 
 p_g24_short_sleep_default:
-042e 20400435 call p_g24_miss_temp_clear 
-042f 6fe1c8ad fetch 3 ,mem_24g_short_sleep_set 
-0430 20200428 branch p_g24_short_sleep2 
+0422 20400429 call p_g24_miss_temp_clear 
+0423 6fe1c8ad fetch 3 ,mem_24g_short_sleep_set 
+0424 2020041c branch p_g24_short_sleep2 
 
 p_g24_short_sleep_long:
-0431 18460400 sub temp ,0 ,temp 
-0432 6fe1c8ad fetch 3 ,mem_24g_short_sleep_set 
-0433 9840fe00 iadd temp ,pdata 
-0434 20200428 branch p_g24_short_sleep2 
+0425 18460400 sub temp ,0 ,temp 
+0426 6fe1c8ad fetch 3 ,mem_24g_short_sleep_set 
+0427 9840fe00 iadd temp ,pdata 
+0428 2020041c branch p_g24_short_sleep2 
 
 p_g24_miss_temp_clear:
-0435 58000000 setarg 0 
-0436 67e24c6e store 4 ,mem_sleep_miss_temp 
-0437 20600000 rtn 
+0429 58000000 setarg 0 
+042a 67e24c6e store 4 ,mem_sleep_miss_temp 
+042b 20600000 rtn 
 
 p_g24_short_sleep_last_miss:
-0438 6fe24c59 fetch 4 ,mem_tx_time_last_delt 
-0439 684a4c6e fetcht 4 ,mem_sleep_miss_temp 
-043a 9840fe00 iadd temp ,pdata 
-043b 2020041e branch p_g24_short_sleep_notify 
+042c 6fe24c59 fetch 4 ,mem_tx_time_last_delt 
+042d 684a4c6e fetcht 4 ,mem_sleep_miss_temp 
+042e 9840fe00 iadd temp ,pdata 
+042f 20200412 branch p_g24_short_sleep_notify 
 
 p_g24_short_sleep_2:
-043c 704c6901 jam 1 ,mem_sleep_miss 
-043d 20600000 rtn 
+0430 704c6901 jam 1 ,mem_sleep_miss 
+0431 20600000 rtn 
 
 p_g24_transmit_process:
-043e 7048a600 jam 0 ,mem_24g_retry 
-043f 58000000 setarg 0 
-0440 67e14c67 store 2 ,mem_retransmit 
+0432 7048a600 jam 0 ,mem_24g_retry 
+0433 58000000 setarg 0 
+0434 67e14c67 store 2 ,mem_retransmit 
 
 p_g24_transmit_loop:
-0441 204003d9 call p_g24_transmit_receive_ack 
-0442 6fe0c82c fetch 1 ,mem_24g_no_ack 
-0443 c000a651 beq no_ack_24g ,g24_transmit_no_ack 
-0444 242c03ca nbranch p_g24_retransmit ,sync 
-0445 243783ca nbranch p_g24_retransmit ,user3 
-0446 2040047f call p_send_time_check 
-0447 20402672 call g24_ackpayload_parse 
-0448 2040044a call p_mouse_wakeup_24g 
-0449 20202651 branch g24_transmit_no_ack 
+0435 204003d9 call p_g24_transmit_receive_ack 
+0436 6fe0c82c fetch 1 ,mem_24g_no_ack 
+0437 c000a651 beq no_ack_24g ,g24_transmit_no_ack 
+0438 242c03ca nbranch p_g24_retransmit ,sync 
+0439 243783ca nbranch p_g24_retransmit ,user3 
+043a 20400473 call p_send_time_check 
+043b 20402672 call g24_ackpayload_parse 
+043c 2040043e call p_mouse_wakeup_24g 
+043d 20202651 branch g24_transmit_no_ack 
 
 p_mouse_wakeup_24g:
-044a 6fe0cbe1 fetch 1 ,mem_sensor_shutdown_flag 
-044b 245a044e ncall p_mouse_wakeup_24g_from_long_sleep ,blank 
-044c 704be100 jam 0 ,mem_sensor_shutdown_flag 
-044d 20600000 rtn 
+043e 6fe0cbe1 fetch 1 ,mem_sensor_shutdown_flag 
+043f 245a0442 ncall p_mouse_wakeup_24g_from_long_sleep ,blank 
+0440 704be100 jam 0 ,mem_sensor_shutdown_flag 
+0441 20600000 rtn 
 
 p_mouse_wakeup_24g_from_long_sleep:
-044e 204041aa call mouse_init_sensor_wakeup 
-044f 6fe44bab fetch mouse_flag_len ,mem_mouse_flag 
-0450 c41e0000 rtnbit0 mouse_enable_wheel_wake_up_cancel 
+0442 204041aa call mouse_init_sensor_wakeup 
+0443 6fe44bab fetch mouse_flag_len ,mem_mouse_flag 
+0444 c41e0000 rtnbit0 mouse_enable_wheel_wake_up_cancel 
 
 p_mouse_wheel_set_wakeup:
-0451 6fe0c913 fetch 1 ,mem_whee_a_data_gpio 
-0452 d8400040 arg gpcfg_pullup ,temp 
-0453 20406093 call gpio_config_function_int 
-0454 6fe0c914 fetch 1 ,mem_whee_b_data_gpio 
-0455 d8400040 arg gpcfg_pullup ,temp 
-0456 20206093 branch gpio_config_function_int 
+0445 6fe0c913 fetch 1 ,mem_whee_a_data_gpio 
+0446 d8400040 arg gpcfg_pullup ,temp 
+0447 20406093 call gpio_config_function_int 
+0448 6fe0c914 fetch 1 ,mem_whee_b_data_gpio 
+0449 d8400040 arg gpcfg_pullup ,temp 
+044a 20206093 branch gpio_config_function_int 
 
 p_g24_nodata_transmit:
-0457 6fe0c8a7 fetch 1 ,mem_24g_abort_pac 
-0458 205a0465 call p_g24_send_abort_packet ,blank 
-0459 6fe0c8bd fetch 1 ,mem_24g_transmit_by_interrupt 
-045a c1008000 rtneq g24_tx_timer_int_enable 
-045b 2040269f call g24_search_receiver 
+044b 6fe0c8a7 fetch 1 ,mem_24g_abort_pac 
+044c 205a0459 call p_g24_send_abort_packet ,blank 
+044d 6fe0c8bd fetch 1 ,mem_24g_transmit_by_interrupt 
+044e c1008000 rtneq g24_tx_timer_int_enable 
+044f 2040269f call g24_search_receiver 
 
 p_g24_long_sleep:
-045c 204026bb call g24_lpm_wait 
-045d 24740000 nrtn user 
-045e 204026c4 call g24_setgpio_lpm_before 
-045f 704c6900 jam 0 ,mem_sleep_miss 
-0460 204004c1 call p_send_time_long_wake 
-0461 6fe0cbe1 fetch 1 ,mem_sensor_shutdown_flag 
-0462 245a3e33 ncall mouse_setgpio_hibernate ,blank 
-0463 6fe2485c fetch 4 ,mem_24g_enter_hibernate 
-0464 202026b8 branch g24_long_sleep + 3 
+0450 204026bb call g24_lpm_wait 
+0451 24740000 nrtn user 
+0452 204026c4 call g24_setgpio_lpm_before 
+0453 704c6900 jam 0 ,mem_sleep_miss 
+0454 204004b5 call p_send_time_long_wake 
+0455 6fe0cbe1 fetch 1 ,mem_sensor_shutdown_flag 
+0456 245a3e33 ncall mouse_setgpio_hibernate ,blank 
+0457 6fe2485c fetch 4 ,mem_24g_enter_hibernate 
+0458 202026b8 branch g24_long_sleep + 3 
 
 p_g24_send_abort_packet:
-0465 70483601 jam type_ms ,mem_24g_data_type 
-0466 7048a701 jam 1 ,mem_24g_abort_pac 
-0467 20402642 call g24_transmit_rf_ctrl_clear 
-0468 67e0c7c6 store 1 ,mem_24g_txbuf 
-0469 58000000 setarg 0 
-046a 67e3c7c7 store 7 ,mem_24g_txbuf + 1 
-046b 6fe248a9 fetch 4 ,mem_24g_device_addr 
-046c 67e247ce store 4 ,mem_24g_txbuf + 8 
-046d 7048350c jam 12 ,mem_24g_datalen 
-046e 6fe0c836 fetch 1 ,mem_24g_data_type 
-046f 79207e03 set1 bit_abort ,pdata 
-0470 67e0c836 store 1 ,mem_24g_data_type 
-0471 20402291 call g24_transmit_prep 
-0472 2020040c branch p_g24_transmit_start 
+0459 70483601 jam type_ms ,mem_24g_data_type 
+045a 7048a701 jam 1 ,mem_24g_abort_pac 
+045b 20402642 call g24_transmit_rf_ctrl_clear 
+045c 67e0c7c6 store 1 ,mem_24g_txbuf 
+045d 58000000 setarg 0 
+045e 67e3c7c7 store 7 ,mem_24g_txbuf + 1 
+045f 6fe248a9 fetch 4 ,mem_24g_device_addr 
+0460 67e247ce store 4 ,mem_24g_txbuf + 8 
+0461 7048350c jam 12 ,mem_24g_datalen 
+0462 6fe0c836 fetch 1 ,mem_24g_data_type 
+0463 79207e03 set1 bit_abort ,pdata 
+0464 67e0c836 store 1 ,mem_24g_data_type 
+0465 20402291 call g24_transmit_prep 
+0466 20200400 branch p_g24_transmit_start 
 
 p_g24_lpm_wait:
-0473 6fe0cbaa fetch 1 ,mem_24g_device_led_status 
-0474 245a26e1 ncall g24_transmit_by_interrupt_enable ,blank 
-0475 78347c00 enable user 
-0476 20401465 call lpo_calibration 
-0477 6fe1c174 fetch 3 ,mem_clks_per_lpo 
-0478 203a7e56 branch disable_user ,blank 
-0479 6fe0c099 fetch 1 ,mem_lpm_mode 
-047a 203a7e56 branch disable_user ,blank 
-047b 6fe0c8bd fetch 1 ,mem_24g_transmit_by_interrupt 
-047c c000fe56 beq g24_tx_timer_int_enable ,disable_user 
-047d 78347c00 enable user 
-047e 20600000 rtn 
+0467 6fe0cbaa fetch 1 ,mem_24g_device_led_status 
+0468 245a26e1 ncall g24_transmit_by_interrupt_enable ,blank 
+0469 78347c00 enable user 
+046a 20401465 call lpo_calibration 
+046b 6fe1c174 fetch 3 ,mem_clks_per_lpo 
+046c 203a7e56 branch disable_user ,blank 
+046d 6fe0c099 fetch 1 ,mem_lpm_mode 
+046e 203a7e56 branch disable_user ,blank 
+046f 6fe0c8bd fetch 1 ,mem_24g_transmit_by_interrupt 
+0470 c000fe56 beq g24_tx_timer_int_enable ,disable_user 
+0471 78347c00 enable user 
+0472 20600000 rtn 
 
 p_send_time_check:
-047f 6fe0c8bd fetch 1 ,mem_24g_transmit_by_interrupt 
-0480 c00084bd beq g24_tx_timer_int_enable ,p_send_timer_first 
-0481 6fe0cc52 fetch 1 ,mem_tx_count 
-0482 203a04bd branch p_send_timer_first ,blank 
-0483 1b227e00 copy clkn ,pdata 
-0484 684b4c53 fetcht 6 ,mem_tx_time_last 
-0485 67e34c53 store 6 ,mem_tx_time_last 
-0486 20407d95 call clk_diff_rt 
-0487 67e24c59 store 4 ,mem_tx_time_last_delt 
-0488 6fe0cc69 fetch 1 ,mem_sleep_miss 
-0489 247a0000 nrtn blank 
-048a 6fe14c67 fetch 2 ,mem_retransmit 
-048b 247a0000 nrtn blank 
-048c 6fe24c59 fetch 4 ,mem_tx_time_last_delt 
-048d 684acc5d fetcht 5 ,mem_tx_time_sum 
-048e 9840fe00 iadd temp ,pdata 
-048f 67e2cc5d store 5 ,mem_tx_time_sum 
-0490 6848cc52 fetcht 1 ,mem_tx_count 
-0491 6fe0cc62 fetch 1 ,mem_tx_time_sum_count 
-0492 98467c00 isub temp ,null 
-0493 20228497 branch p_send_time_check_average ,zero 
-0494 18408401 increase 1 ,temp 
-0495 6048cc52 storet 1 ,mem_tx_count 
-0496 20600000 rtn 
+0473 6fe0c8bd fetch 1 ,mem_24g_transmit_by_interrupt 
+0474 c00084b1 beq g24_tx_timer_int_enable ,p_send_timer_first 
+0475 6fe0cc52 fetch 1 ,mem_tx_count 
+0476 203a04b1 branch p_send_timer_first ,blank 
+0477 1b227e00 copy clkn ,pdata 
+0478 684b4c53 fetcht 6 ,mem_tx_time_last 
+0479 67e34c53 store 6 ,mem_tx_time_last 
+047a 20407d95 call clk_diff_rt 
+047b 67e24c59 store 4 ,mem_tx_time_last_delt 
+047c 6fe0cc69 fetch 1 ,mem_sleep_miss 
+047d 247a0000 nrtn blank 
+047e 6fe14c67 fetch 2 ,mem_retransmit 
+047f 247a0000 nrtn blank 
+0480 6fe24c59 fetch 4 ,mem_tx_time_last_delt 
+0481 684acc5d fetcht 5 ,mem_tx_time_sum 
+0482 9840fe00 iadd temp ,pdata 
+0483 67e2cc5d store 5 ,mem_tx_time_sum 
+0484 6848cc52 fetcht 1 ,mem_tx_count 
+0485 6fe0cc62 fetch 1 ,mem_tx_time_sum_count 
+0486 98467c00 isub temp ,null 
+0487 2022848b branch p_send_time_check_average ,zero 
+0488 18408401 increase 1 ,temp 
+0489 6048cc52 storet 1 ,mem_tx_count 
+048a 20600000 rtn 
 
 p_send_time_check_average:
-0497 704c5201 jam 1 ,mem_tx_count 
-0498 d8400000 arg 0 ,temp 
-0499 6fe2cc5d fetch 5 ,mem_tx_time_sum 
-049a 604acc5d storet 5 ,mem_tx_time_sum 
-049b 6848cc62 fetcht 1 ,mem_tx_time_sum_count 
-049c 9846fc00 idiv temp 
-049d 20407def call wait_div_end 
-049e 1807a200 quotient rega 
-049f 6fe24c4e fetch 4 ,mem_24g_tsniff 
-04a0 6848cc63 fetcht 1 ,mem_tx_time_offset 
-04a1 98460400 isub temp ,temp 
-04a2 184085d8 increase -40 ,temp 
-04a3 1a227e00 copy rega ,pdata 
-04a4 98467e00 isub temp ,pdata 
-04a5 202104b1 branch p_send_time_check_average_late ,positive 
-04a6 1fe67e00 sub pdata ,0 ,pdata 
-04a7 1feb7e00 rshift2 pdata ,pdata 
-04a8 6849c8ad fetcht 3 ,mem_24g_short_sleep_set 
-04a9 98408400 iadd temp ,temp 
-04aa 6fe1cc64 fetch 3 ,mem_24g_short_sleep_set_init 
-04ab da201800 arg 0x1800 ,rega 
-04ac 9a20fe00 iadd rega ,pdata 
-04ad 98467c00 isub temp ,null 
-04ae 242104bb nbranch p_send_time_check_average_min ,positive 
-04af 6049c8ad storet 3 ,mem_24g_short_sleep_set 
-04b0 20600000 rtn 
+048b 704c5201 jam 1 ,mem_tx_count 
+048c d8400000 arg 0 ,temp 
+048d 6fe2cc5d fetch 5 ,mem_tx_time_sum 
+048e 604acc5d storet 5 ,mem_tx_time_sum 
+048f 6848cc62 fetcht 1 ,mem_tx_time_sum_count 
+0490 9846fc00 idiv temp 
+0491 20407def call wait_div_end 
+0492 1807a200 quotient rega 
+0493 6fe24c4e fetch 4 ,mem_24g_tsniff 
+0494 6848cc63 fetcht 1 ,mem_tx_time_offset 
+0495 98460400 isub temp ,temp 
+0496 184085d8 increase -40 ,temp 
+0497 1a227e00 copy rega ,pdata 
+0498 98467e00 isub temp ,pdata 
+0499 202104a5 branch p_send_time_check_average_late ,positive 
+049a 1fe67e00 sub pdata ,0 ,pdata 
+049b 1feb7e00 rshift2 pdata ,pdata 
+049c 6849c8ad fetcht 3 ,mem_24g_short_sleep_set 
+049d 98408400 iadd temp ,temp 
+049e 6fe1cc64 fetch 3 ,mem_24g_short_sleep_set_init 
+049f da201800 arg 0x1800 ,rega 
+04a0 9a20fe00 iadd rega ,pdata 
+04a1 98467c00 isub temp ,null 
+04a2 242104af nbranch p_send_time_check_average_min ,positive 
+04a3 6049c8ad storet 3 ,mem_24g_short_sleep_set 
+04a4 20600000 rtn 
 
 p_send_time_check_average_late:
-04b1 1feb0400 rshift2 pdata ,temp 
-04b2 6fe1c8ad fetch 3 ,mem_24g_short_sleep_set 
-04b3 98460400 isub temp ,temp 
-04b4 6fe1cc64 fetch 3 ,mem_24g_short_sleep_set_init 
-04b5 da201800 arg 0x1800 ,rega 
-04b6 9a267e00 isub rega ,pdata 
-04b7 98467c00 isub temp ,null 
-04b8 202104bb branch p_send_time_check_average_min ,positive 
-04b9 6049c8ad storet 3 ,mem_24g_short_sleep_set 
-04ba 20600000 rtn 
+04a5 1feb0400 rshift2 pdata ,temp 
+04a6 6fe1c8ad fetch 3 ,mem_24g_short_sleep_set 
+04a7 98460400 isub temp ,temp 
+04a8 6fe1cc64 fetch 3 ,mem_24g_short_sleep_set_init 
+04a9 da201800 arg 0x1800 ,rega 
+04aa 9a267e00 isub rega ,pdata 
+04ab 98467c00 isub temp ,null 
+04ac 202104af branch p_send_time_check_average_min ,positive 
+04ad 6049c8ad storet 3 ,mem_24g_short_sleep_set 
+04ae 20600000 rtn 
 
 p_send_time_check_average_min:
-04bb 67e1c8ad store 3 ,mem_24g_short_sleep_set 
-04bc 20600000 rtn 
+04af 67e1c8ad store 3 ,mem_24g_short_sleep_set 
+04b0 20600000 rtn 
 
 p_send_timer_first:
-04bd 704c5201 jam 1 ,mem_tx_count 
-04be 1b227e00 copy clkn ,pdata 
-04bf 67e34c53 store 6 ,mem_tx_time_last 
-04c0 20600000 rtn 
+04b1 704c5201 jam 1 ,mem_tx_count 
+04b2 1b227e00 copy clkn ,pdata 
+04b3 67e34c53 store 6 ,mem_tx_time_last 
+04b4 20600000 rtn 
 
 p_send_time_long_wake:
-04c1 58000000 setarg 0 
-04c2 67e0cc52 store 1 ,mem_tx_count 
-04c3 67e2cc5d store 5 ,mem_tx_time_sum 
-04c4 20600000 rtn 
+04b5 58000000 setarg 0 
+04b6 67e0cc52 store 1 ,mem_tx_count 
+04b7 67e2cc5d store 5 ,mem_tx_time_sum 
+04b8 20600000 rtn 
 
 p_g24_pair_dispatch:
-04c5 70488b00 jam default_24g_device ,mem_24g_reconn_type 
-04c6 6fe14beb fetch 2 ,mem_24g_pair_count 
-04c7 1fe0fe01 increase 1 ,pdata 
-04c8 67e14beb store 2 ,mem_24g_pair_count 
-04c9 6fe0cbeb fetch 1 ,mem_24g_pair_count 
-04ca 1fe17eff and pdata ,0xff ,pdata 
-04cb 247a0000 nrtn blank 
-04cc 6fe0c87f fetch 1 ,mem_24g_pair_sm 
-04cd c07fa38e beq state_24g_pairing_success ,g24_pair_exit 
-04ce c00084d3 beq state_24g_pairing_1 ,p_g24_pair_sm_1 
-04cf c00104d5 beq state_24g_pairing_2 ,p_g24_pair_sm_2 
-04d0 c00184db beq state_24g_pairing_3 ,p_g24_pair_sm_3 
-04d1 c00204e1 beq state_24g_pairing_4 ,p_g24_pair_sm_4 
-04d2 20600000 rtn 
+04b9 70488b00 jam default_24g_device ,mem_24g_reconn_type 
+04ba 6fe14beb fetch 2 ,mem_24g_pair_count 
+04bb 1fe0fe01 increase 1 ,pdata 
+04bc 67e14beb store 2 ,mem_24g_pair_count 
+04bd 6fe0cbeb fetch 1 ,mem_24g_pair_count 
+04be 1fe17eff and pdata ,0xff ,pdata 
+04bf 247a0000 nrtn blank 
+04c0 6fe0c87f fetch 1 ,mem_24g_pair_sm 
+04c1 c07fa38e beq state_24g_pairing_success ,g24_pair_exit 
+04c2 c00084c7 beq state_24g_pairing_1 ,p_g24_pair_sm_1 
+04c3 c00104c9 beq state_24g_pairing_2 ,p_g24_pair_sm_2 
+04c4 c00184cf beq state_24g_pairing_3 ,p_g24_pair_sm_3 
+04c5 c00204d5 beq state_24g_pairing_4 ,p_g24_pair_sm_4 
+04c6 20600000 rtn 
 
 p_g24_pair_sm_1:
-04d3 7047c6ff jam datatype_attemp ,mem_24g_txbuf 
-04d4 202004e2 branch p_g24_pair_sm_prep 
+04c7 7047c6ff jam datatype_attemp ,mem_24g_txbuf 
+04c8 202004d6 branch p_g24_pair_sm_prep 
 
 p_g24_pair_sm_2:
-04d5 6fe0c85b fetch 1 ,mem_24g_pair_switch 
-04d6 203a04d9 branch p_g24_pair_sm_2_skip ,blank 
-04d7 6fe248a9 fetch 4 ,mem_24g_device_addr 
-04d8 204022dc call g24_update_addr_and_synccrc8 
+04c9 6fe0c85b fetch 1 ,mem_24g_pair_switch 
+04ca 203a04cd branch p_g24_pair_sm_2_skip ,blank 
+04cb 6fe248a9 fetch 4 ,mem_24g_device_addr 
+04cc 204022dc call g24_update_addr_and_synccrc8 
 
 p_g24_pair_sm_2_skip:
-04d9 7047c6aa jam datatype_bind ,mem_24g_txbuf 
-04da 202004e2 branch p_g24_pair_sm_prep 
+04cd 7047c6aa jam datatype_bind ,mem_24g_txbuf 
+04ce 202004d6 branch p_g24_pair_sm_prep 
 
 p_g24_pair_sm_3:
-04db 7047c655 jam datatype_config ,mem_24g_txbuf 
-04dc 6fe0c85b fetch 1 ,mem_24g_pair_switch 
-04dd 203a04e2 branch p_g24_pair_sm_prep ,blank 
-04de 6fe24891 fetch 4 ,mem_24g_receiver_addr 
-04df 67e247c8 store 4 ,mem_24g_txbuf + 2 
-04e0 202004e4 branch p_g24_pair_sm_common 
+04cf 7047c655 jam datatype_config ,mem_24g_txbuf 
+04d0 6fe0c85b fetch 1 ,mem_24g_pair_switch 
+04d1 203a04d6 branch p_g24_pair_sm_prep ,blank 
+04d2 6fe24891 fetch 4 ,mem_24g_receiver_addr 
+04d3 67e247c8 store 4 ,mem_24g_txbuf + 2 
+04d4 202004d8 branch p_g24_pair_sm_common 
 
 p_g24_pair_sm_4:
-04e1 7047c622 jam datatype_ok ,mem_24g_txbuf 
+04d5 7047c622 jam datatype_ok ,mem_24g_txbuf 
 
 p_g24_pair_sm_prep:
-04e2 6fe248a9 fetch 4 ,mem_24g_device_addr 
-04e3 67e247c8 store 4 ,mem_24g_txbuf + 2 
+04d6 6fe248a9 fetch 4 ,mem_24g_device_addr 
+04d7 67e247c8 store 4 ,mem_24g_txbuf + 2 
 
 p_g24_pair_sm_common:
-04e4 6fe0c836 fetch 1 ,mem_24g_data_type 
-04e5 1fe17e07 and_into bits_data ,pdata 
-04e6 67e0c7c7 store 1 ,mem_24g_txbuf + 1 
-04e7 7047cc00 jam 0 ,mem_24g_txbuf + 6 
-04e8 70483507 jam 7 ,mem_24g_datalen 
-04e9 20402291 call g24_transmit_prep 
-04ea 204003d9 call p_g24_transmit_receive_ack 
-04eb 20202360 branch g24_pair_sm_common + 7 
+04d8 6fe0c836 fetch 1 ,mem_24g_data_type 
+04d9 1fe17e07 and_into bits_data ,pdata 
+04da 67e0c7c7 store 1 ,mem_24g_txbuf + 1 
+04db 7047cc00 jam 0 ,mem_24g_txbuf + 6 
+04dc 70483507 jam 7 ,mem_24g_datalen 
+04dd 20402291 call g24_transmit_prep 
+04de 204003d9 call p_g24_transmit_receive_ack 
+04df 20202360 branch g24_pair_sm_common + 7 
 
 p_g24_reconn_dispatch:
-04ec 6fe14889 fetch 2 ,mem_24g_reconn_count 
-04ed d84001f8 arg 0x01f8 ,temp 
-04ee 98417e00 iand temp ,pdata 
-04ef 203a04f4 branch p_g24_reconn_dispatch_next ,blank 
-04f0 6fe14889 fetch 2 ,mem_24g_reconn_count 
-04f1 1fe0fe01 increase 1 ,pdata 
-04f2 67e14889 store 2 ,mem_24g_reconn_count 
-04f3 20600000 rtn 
+04e0 6fe14889 fetch 2 ,mem_24g_reconn_count 
+04e1 d84001f8 arg 0x01f8 ,temp 
+04e2 98417e00 iand temp ,pdata 
+04e3 203a04e8 branch p_g24_reconn_dispatch_next ,blank 
+04e4 6fe14889 fetch 2 ,mem_24g_reconn_count 
+04e5 1fe0fe01 increase 1 ,pdata 
+04e6 67e14889 store 2 ,mem_24g_reconn_count 
+04e7 20600000 rtn 
 
 p_g24_reconn_dispatch_next:
-04f4 2040259a call g24_reconn_data_prep 
-04f5 204003d9 call p_g24_transmit_receive_ack 
-04f6 242c050d nbranch p_g24_reconn_device_fail ,sync 
-04f7 2437850d nbranch p_g24_reconn_device_fail ,user3 
-04f8 20402672 call g24_ackpayload_parse 
-04f9 6fe24877 fetch 4 ,mem_24g_pair_addr 
-04fa 684a483c fetcht 4 ,mem_24g_addr 
-04fb 98467c00 isub temp ,null 
-04fc 2022a32e branch g24_pair_start ,zero 
-04fd 6fe248a9 fetch 4 ,mem_24g_device_addr 
-04fe 684a483c fetcht 4 ,mem_24g_addr 
-04ff 98467c00 isub temp ,null 
-0500 20428509 call p_g24_store_receiver_addr ,zero 
-0501 6fe0c8a1 fetch 1 ,mem_24g_conn_sm 
-0502 793ffe02 set0 state_24g_reconn ,pdata 
-0503 67e0c8a1 store 1 ,mem_24g_conn_sm 
-0504 58000000 setarg 0 
-0505 67e14883 store 2 ,mem_24g_pair_timeout 
-0506 67e14889 store 2 ,mem_24g_reconn_count 
-0507 67e14887 store 2 ,mem_24g_reconn_timeout 
-0508 20202595 branch g24_reconn_attempt_success 
+04e8 2040259a call g24_reconn_data_prep 
+04e9 204003d9 call p_g24_transmit_receive_ack 
+04ea 242c0501 nbranch p_g24_reconn_device_fail ,sync 
+04eb 24378501 nbranch p_g24_reconn_device_fail ,user3 
+04ec 20402672 call g24_ackpayload_parse 
+04ed 6fe24877 fetch 4 ,mem_24g_pair_addr 
+04ee 684a483c fetcht 4 ,mem_24g_addr 
+04ef 98467c00 isub temp ,null 
+04f0 2022a32e branch g24_pair_start ,zero 
+04f1 6fe248a9 fetch 4 ,mem_24g_device_addr 
+04f2 684a483c fetcht 4 ,mem_24g_addr 
+04f3 98467c00 isub temp ,null 
+04f4 204284fd call p_g24_store_receiver_addr ,zero 
+04f5 6fe0c8a1 fetch 1 ,mem_24g_conn_sm 
+04f6 793ffe02 set0 state_24g_reconn ,pdata 
+04f7 67e0c8a1 store 1 ,mem_24g_conn_sm 
+04f8 58000000 setarg 0 
+04f9 67e14883 store 2 ,mem_24g_pair_timeout 
+04fa 67e14889 store 2 ,mem_24g_reconn_count 
+04fb 67e14887 store 2 ,mem_24g_reconn_timeout 
+04fc 20202595 branch g24_reconn_attempt_success 
 
 p_g24_store_receiver_addr:
-0509 6fe2480c fetch 4 ,mem_24g_rxpayload + 2 
-050a 207a0000 rtn blank 
-050b 67e24891 store 4 ,mem_24g_receiver_addr 
-050c 2020257e branch g24_ch_syncword_crc8_init 
+04fd 6fe2480c fetch 4 ,mem_24g_rxpayload + 2 
+04fe 207a0000 rtn blank 
+04ff 67e24891 store 4 ,mem_24g_receiver_addr 
+0500 2020257e branch g24_ch_syncword_crc8_init 
 
 p_g24_reconn_device_fail:
-050d 6fe0c88c fetch 1 ,mem_24g_fast_conn_enable 
-050e 203a22cb branch g24_ch ,blank 
-050f 6fe14889 fetch 2 ,mem_24g_reconn_count 
-0510 1fe0fe01 increase 1 ,pdata 
-0511 67e14889 store 2 ,mem_24g_reconn_count 
-0512 6fe0c88a fetch 1 ,mem_24g_reconn_count + 1 
-0513 2feffe01 isolate1 1 ,pdata 
-0514 6fe0c88b fetch 1 ,mem_24g_reconn_type 
-0515 c000a5ad beq fast_conn_and_receiver ,g24_reconn_fast_conn_and_receiver 
-0516 c00125af beq fast_conn_and_3_0_addr ,g24_reconn_fast_conn_and_3_0 
-0517 c001a5b1 beq receiver_and_3_0_addr ,g24_reconn_receiver_and_3_0 
-0518 c002051a beq pair_and_3_0_addr ,p_g24_reconn_pair_and_3_0 
-0519 2020256e branch g24_reconn_receiver_addr 
+0501 6fe0c88c fetch 1 ,mem_24g_fast_conn_enable 
+0502 203a22cb branch g24_ch ,blank 
+0503 6fe14889 fetch 2 ,mem_24g_reconn_count 
+0504 1fe0fe01 increase 1 ,pdata 
+0505 67e14889 store 2 ,mem_24g_reconn_count 
+0506 6fe0c88a fetch 1 ,mem_24g_reconn_count + 1 
+0507 2feffe01 isolate1 1 ,pdata 
+0508 6fe0c88b fetch 1 ,mem_24g_reconn_type 
+0509 c000a5ad beq fast_conn_and_receiver ,g24_reconn_fast_conn_and_receiver 
+050a c00125af beq fast_conn_and_3_0_addr ,g24_reconn_fast_conn_and_3_0 
+050b c001a5b1 beq receiver_and_3_0_addr ,g24_reconn_receiver_and_3_0 
+050c c002050e beq pair_and_3_0_addr ,p_g24_reconn_pair_and_3_0 
+050d 2020256e branch g24_reconn_receiver_addr 
 
 p_g24_reconn_pair_and_3_0:
-051a 2020a575 branch g24_reconn_device_3_0_addr ,true 
-051b 20202339 branch g24_pair_init_param 
+050e 2020a575 branch g24_reconn_device_3_0_addr ,true 
+050f 20202339 branch g24_pair_init_param 
 
 p_mouse_24g_pairing_complete:
-051c 20404544 call mouse_no_data_timer_init 
-051d d8e00001 arg mouse_24g_pairing_flag ,queue 
-051e 204046f4 call mouse_disable_function_flag 
-051f 6fe0cc40 fetch 1 ,mem_mouse_1io2led_led_enable 
-0520 c0004859 beq 0 ,mouse_24g_pairing_complete_enable_poweron_timer 
-0521 204000de call p_mouse_multi_led_on_enable 
-0522 2020485a branch mouse_24g_pairing_complete_skip_poweron_timer 
+0510 20404544 call mouse_no_data_timer_init 
+0511 d8e00001 arg mouse_24g_pairing_flag ,queue 
+0512 204046f4 call mouse_disable_function_flag 
+0513 6fe0cc40 fetch 1 ,mem_mouse_1io2led_led_enable 
+0514 c0004859 beq 0 ,mouse_24g_pairing_complete_enable_poweron_timer 
+0515 204000de call p_mouse_multi_led_on_enable 
+0516 2020485a branch mouse_24g_pairing_complete_skip_poweron_timer 
 
 p_mouse_24g_attempt_success:
-0523 6fe2483c fetch 4 ,mem_24g_addr 
-0524 67e24891 store 4 ,mem_24g_receiver_addr 
-0525 67e24993 store 4 ,mem_mouse_24g_addr 
-0526 2040257e call g24_ch_syncword_crc8_init 
-0527 6fe0cc40 fetch 1 ,mem_mouse_1io2led_led_enable 
-0528 c000052b beq 0 ,p_mouse_24g_attempt_success_next 
-0529 204000de call p_mouse_multi_led_on_enable 
-052a 2020052c branch p_mouse_24g_attempt_success_next + 1 
+0517 6fe2483c fetch 4 ,mem_24g_addr 
+0518 67e24891 store 4 ,mem_24g_receiver_addr 
+0519 67e24993 store 4 ,mem_mouse_24g_addr 
+051a 2040257e call g24_ch_syncword_crc8_init 
+051b 6fe0cc40 fetch 1 ,mem_mouse_1io2led_led_enable 
+051c c000051f beq 0 ,p_mouse_24g_attempt_success_next 
+051d 204000de call p_mouse_multi_led_on_enable 
+051e 20200520 branch p_mouse_24g_attempt_success_next + 1 
 
 p_mouse_24g_attempt_success_next:
-052b 204048c6 call mouse_device_poweron_timer_init 
-052c 20404544 call mouse_no_data_timer_init 
-052d 2020484e branch mouse_24g_attempt_success 
+051f 204048c6 call mouse_device_poweron_timer_init 
+0520 20404544 call mouse_no_data_timer_init 
+0521 2020484e branch mouse_24g_attempt_success 
 
 p_mouse_24g_attempt_fail:
-052e 6fe0c8a5 fetch 1 ,mem_24g_attempt_fail_flag 
-052f 243a0559 nbranch p_mouse_24g_hibernate_set ,blank 
-0530 6fe0c88b fetch 1 ,mem_24g_reconn_type 
-0531 c0010535 beq fast_conn_and_3_0_addr ,p_mouse_24g_fast_conn_attempt_fail 
-0532 c002054d beq pair_and_3_0_addr ,p_mouse_24g_auto_pair_attempt_fail 
-0533 c0018552 beq receiver_and_3_0_addr ,p_mouse_reconn_dongle_attempt_fail 
-0534 20204839 branch mouse_24g_attempt_fail_enter_hibernate 
+0522 6fe0c8a5 fetch 1 ,mem_24g_attempt_fail_flag 
+0523 243a054d nbranch p_mouse_24g_hibernate_set ,blank 
+0524 6fe0c88b fetch 1 ,mem_24g_reconn_type 
+0525 c0010529 beq fast_conn_and_3_0_addr ,p_mouse_24g_fast_conn_attempt_fail 
+0526 c0020541 beq pair_and_3_0_addr ,p_mouse_24g_auto_pair_attempt_fail 
+0527 c0018546 beq receiver_and_3_0_addr ,p_mouse_reconn_dongle_attempt_fail 
+0528 20204839 branch mouse_24g_attempt_fail_enter_hibernate 
 
 p_mouse_24g_fast_conn_attempt_fail:
-0535 6fe44bab fetch mouse_flag_len ,mem_mouse_flag 
-0536 c297853e bbit1 mouse_enable_24g_first_auto_pairing ,p_mouse_24g_start_auto_pair 
-0537 c298053e bbit1 mouse_enable_auto_24g_paring ,p_mouse_24g_start_auto_pair 
-0538 c31d4806 bbit0 mouse_enable_24g_auto_pair_nerver_been_paired ,mouse_24g_reconn_dongle_start 
-0539 6fe24993 fetch 4 ,mem_mouse_24g_addr 
-053a 684a4974 fetcht 4 ,mem_mouse_compare_addr_ff 
-053b 98467c00 isub temp ,null 
-053c 20228542 branch p_mouse_24g_start_pair_mode ,zero 
-053d 20204806 branch mouse_24g_reconn_dongle_start 
+0529 6fe44bab fetch mouse_flag_len ,mem_mouse_flag 
+052a c2978532 bbit1 mouse_enable_24g_first_auto_pairing ,p_mouse_24g_start_auto_pair 
+052b c2980532 bbit1 mouse_enable_auto_24g_paring ,p_mouse_24g_start_auto_pair 
+052c c31d4806 bbit0 mouse_enable_24g_auto_pair_nerver_been_paired ,mouse_24g_reconn_dongle_start 
+052d 6fe24993 fetch 4 ,mem_mouse_24g_addr 
+052e 684a4974 fetcht 4 ,mem_mouse_compare_addr_ff 
+052f 98467c00 isub temp ,null 
+0530 20228536 branch p_mouse_24g_start_pair_mode ,zero 
+0531 20204806 branch mouse_24g_reconn_dongle_start 
 
 p_mouse_24g_start_auto_pair:
-053e 6fe0cc40 fetch 1 ,mem_mouse_1io2led_led_enable 
-053f c0004811 beq 0 ,mouse_24g_start_auto_pair 
-0540 204000d9 call p_mouse_multi_led_blink_enable 
-0541 20204812 branch mouse_24g_start_auto_pair + 1 
+0532 6fe0cc40 fetch 1 ,mem_mouse_1io2led_led_enable 
+0533 c0004811 beq 0 ,mouse_24g_start_auto_pair 
+0534 204000d9 call p_mouse_multi_led_blink_enable 
+0535 20204812 branch mouse_24g_start_auto_pair + 1 
 
 p_mouse_24g_start_pair_mode:
-0542 70488b00 jam 0 ,mem_24g_reconn_type 
-0543 d8e00001 arg mouse_24g_pairing_flag ,queue 
-0544 204046f0 call mouse_enable_function_flag 
-0545 58000000 setarg 0 
-0546 67e14887 store 2 ,mem_24g_reconn_timeout 
-0547 20404576 call mouse_stop_discovery 
-0548 2040498e call mouse_low_voltage_led_blink_disable 
-0549 6fe0cc40 fetch 1 ,mem_mouse_1io2led_led_enable 
-054a c000482d beq 0 ,mouse_24g_start_pair_mode_enable_blink_timer 
-054b 204000d9 call p_mouse_multi_led_blink_enable 
-054c 2020482e branch mouse_24g_start_pair_mode_skip_blink_timer 
+0536 70488b00 jam 0 ,mem_24g_reconn_type 
+0537 d8e00001 arg mouse_24g_pairing_flag ,queue 
+0538 204046f0 call mouse_enable_function_flag 
+0539 58000000 setarg 0 
+053a 67e14887 store 2 ,mem_24g_reconn_timeout 
+053b 20404576 call mouse_stop_discovery 
+053c 2040498e call mouse_low_voltage_led_blink_disable 
+053d 6fe0cc40 fetch 1 ,mem_mouse_1io2led_led_enable 
+053e c000482d beq 0 ,mouse_24g_start_pair_mode_enable_blink_timer 
+053f 204000d9 call p_mouse_multi_led_blink_enable 
+0540 2020482e branch mouse_24g_start_pair_mode_skip_blink_timer 
 
 p_mouse_24g_auto_pair_attempt_fail:
-054d 6fe44bab fetch mouse_flag_len ,mem_mouse_flag 
-054e c3178557 bbit0 mouse_enable_24g_first_auto_pairing ,p_mouse_24g_attempt_fail_enter_hibernate 
-054f 6fe0cbb4 fetch 1 ,mem_device_number 
-0550 c0008557 beq 1 ,p_mouse_24g_attempt_fail_enter_hibernate 
-0551 2020481a branch mouse_24g_first_bluetooth_reconnect 
+0541 6fe44bab fetch mouse_flag_len ,mem_mouse_flag 
+0542 c317854b bbit0 mouse_enable_24g_first_auto_pairing ,p_mouse_24g_attempt_fail_enter_hibernate 
+0543 6fe0cbb4 fetch 1 ,mem_device_number 
+0544 c000854b beq 1 ,p_mouse_24g_attempt_fail_enter_hibernate 
+0545 2020481a branch mouse_24g_first_bluetooth_reconnect 
 
 p_mouse_reconn_dongle_attempt_fail:
-0552 6fe44bab fetch mouse_flag_len ,mem_mouse_flag 
-0553 c3178557 bbit0 mouse_enable_24g_first_auto_pairing ,p_mouse_24g_attempt_fail_enter_hibernate 
-0554 c2898557 bbit1 mouse_enable_eeprom ,p_mouse_24g_attempt_fail_enter_hibernate 
-0555 c2890557 bbit1 mouse_enable_flash ,p_mouse_24g_attempt_fail_enter_hibernate 
-0556 20204812 branch mouse_24g_start_auto_pair + 1 
+0546 6fe44bab fetch mouse_flag_len ,mem_mouse_flag 
+0547 c317854b bbit0 mouse_enable_24g_first_auto_pairing ,p_mouse_24g_attempt_fail_enter_hibernate 
+0548 c289854b bbit1 mouse_enable_eeprom ,p_mouse_24g_attempt_fail_enter_hibernate 
+0549 c289054b bbit1 mouse_enable_flash ,p_mouse_24g_attempt_fail_enter_hibernate 
+054a 20204812 branch mouse_24g_start_auto_pair + 1 
 
 p_mouse_24g_attempt_fail_enter_hibernate:
-0557 6fe44bab fetch mouse_flag_len ,mem_mouse_flag 
-0558 c31e4839 bbit0 mouse_enable_wheel_wake_up_cancel ,mouse_24g_attempt_fail_enter_hibernate 
+054b 6fe44bab fetch mouse_flag_len ,mem_mouse_flag 
+054c c31e4839 bbit0 mouse_enable_wheel_wake_up_cancel ,mouse_24g_attempt_fail_enter_hibernate 
 
 p_mouse_24g_hibernate_set:
-0559 7048a500 jam 0 ,mem_24g_attempt_fail_flag 
-055a 20402652 call g24_transmit_next_packet 
-055b 5fffffff setarg -1 
-055c 67e2485c store 4 ,mem_24g_enter_hibernate 
-055d 58000000 setarg 0 
-055e 67e3c8d0 store 7 ,mem_mouse_key 
-055f 704be101 jam 1 ,mem_sensor_shutdown_flag 
-0560 20400153 call p_mouse_sensor_powerdown 
-0561 2020045c branch p_g24_long_sleep 
+054d 7048a500 jam 0 ,mem_24g_attempt_fail_flag 
+054e 20402652 call g24_transmit_next_packet 
+054f 5fffffff setarg -1 
+0550 67e2485c store 4 ,mem_24g_enter_hibernate 
+0551 58000000 setarg 0 
+0552 67e3c8d0 store 7 ,mem_mouse_key 
+0553 704be101 jam 1 ,mem_sensor_shutdown_flag 
+0554 20400153 call p_mouse_sensor_powerdown 
+0555 20200450 branch p_g24_long_sleep 
               org 0x800
 
 start:
Index: program/patch.prog
===================================================================
--- /YC1308AC/branch/mouse_project/mouse_pubulic/program/patch.prog	(revision 1306)
+++ /YC1308AC/branch/mouse_project/mouse_pubulic/program/patch.prog	(working copy)
@@ -1593,9 +1593,7 @@
 	rtn
 
 
-
 p_g24_dispatch:
-	rtnmark1 mark_adc_enable
 	bmark1 mark_24g_rxmode,g24_receive_dispatch
 p_g24_transmit_dispatch:
 	rtnmark0 mark_24g
@@ -1603,20 +1601,7 @@
 ifdef G24_OTA
 	bbit1 STATE_24G_OTA,p_g24_ota_dispatch
 endif
-	bbit1 STATE_24G_PAIR,g24_pair_dispatch
-	bbit1 STATE_24G_RECONN,g24_reconn_dispatch
-	fetch 1,mem_24g_transmit_by_interrupt
-	beq G24_TX_TIMER_INT_ENABLE,p_g24_transmit_by_interrupt
-	branch g24_transmit_no_interrupt
-
-p_g24_transmit_by_interrupt:
-	call g24_timer_check
-	nbranch p_g24_transmit_dispatch,user
-	call g24_interval_calibrate
-	fetch 2,mem_24g_transmit_by_interrupt_exit_count
-	increase 1,pdata
-	store 2,mem_24g_transmit_by_interrupt_exit_count
-	branch g24_transmit_no_interrupt
+	branch g24_transmit_dispatch+2
 
 
 p_g24_transmit_no_interrupt:
Index: program_patch/24g_spec_code/patch_24g.prog
===================================================================
--- /YC1308AC/branch/mouse_project/mouse_pubulic/program_patch/24g_spec_code/patch_24g.prog	(revision 1300)
+++ /YC1308AC/branch/mouse_project/mouse_pubulic/program_patch/24g_spec_code/patch_24g.prog	(working copy)
@@ -131,9 +131,7 @@
 	rtn
 
 
-
 p_g24_dispatch:
-	rtnmark1 mark_adc_enable
 	bmark1 mark_24g_rxmode,g24_receive_dispatch
 p_g24_transmit_dispatch:
 	rtnmark0 mark_24g
@@ -141,20 +139,7 @@
 ifdef G24_OTA
 	bbit1 STATE_24G_OTA,p_g24_ota_dispatch
 endif
-	bbit1 STATE_24G_PAIR,g24_pair_dispatch
-	bbit1 STATE_24G_RECONN,g24_reconn_dispatch
-	fetch 1,mem_24g_transmit_by_interrupt
-	beq G24_TX_TIMER_INT_ENABLE,p_g24_transmit_by_interrupt
-	branch g24_transmit_no_interrupt
-
-p_g24_transmit_by_interrupt:
-	call g24_timer_check
-	nbranch p_g24_transmit_dispatch,user
-	call g24_interval_calibrate
-	fetch 2,mem_24g_transmit_by_interrupt_exit_count
-	increase 1,pdata
-	store 2,mem_24g_transmit_by_interrupt_exit_count
-	branch g24_transmit_no_interrupt
+	branch g24_transmit_dispatch+2
 
 
 p_g24_transmit_no_interrupt:
