Index: output/flash.dat
===================================================================
--- /branch/mouse_project/YDN_Project/YDN_1066_227D/output/flash.dat	(revision 3908)
+++ /branch/mouse_project/YDN_Project/YDN_1066_227D/output/flash.dat	(working copy)
@@ -2,8 +2,8 @@
 02
 aa
 55
-f6
-1f
+6e
+1e
 20
 20
 00
@@ -23,7 +23,7 @@
 20
 40
 07
-14
+16
 68
 00
 c6
@@ -50,16 +50,12 @@
 29
 20
 40
-07
-a2
-20
-40
 00
-10
+0f
 20
 40
 00
-23
+22
 20
 40
 00
@@ -87,7 +83,7 @@
 58
 00
 06
-5a
+5c
 60
 01
 41
@@ -155,7 +151,7 @@
 24
 55
 80
-2b
+2a
 20
 40
 02
@@ -260,6 +256,10 @@
 00
 00
 01
+20
+00
+00
+01
 c2
 84
 00
@@ -275,43 +275,43 @@
 c0
 42
 87
-76
+78
 c0
 44
 87
-49
+4b
 c0
 0d
 86
-6f
+71
 c0
 13
 06
-71
+73
 c0
 24
 06
-8c
+8e
 c0
 25
 06
-93
+95
 c0
 28
 86
-9c
+9e
 c0
 2c
 86
-8a
+8c
 c0
 53
 86
-a1
+a3
 c0
 56
 86
-b7
+b9
 c0
 65
 b3
@@ -319,7 +319,7 @@
 c0
 74
 86
-c8
+ca
 c0
 50
 80
@@ -347,15 +347,15 @@
 c0
 75
 05
-a4
+a6
 c0
 75
 85
-aa
+ac
 c0
 76
 05
-be
+c0
 20
 20
 2a
@@ -363,51 +363,51 @@
 c0
 31
 85
-c8
+ca
 c0
 33
 05
-f8
+fa
 c0
 33
 86
-0f
+11
 c0
 35
 06
-45
+47
 c0
 3b
 86
-50
+52
 c0
 02
 86
-ca
+cc
 c0
 40
 06
-cc
+ce
 c0
 41
 06
-d6
+d8
 c0
 44
 06
-d8
+da
 c0
 46
 06
-5c
+5e
 c0
 46
 86
-68
+6a
 c0
 7d
 06
-fc
+fe
 20
 20
 2a
@@ -699,7 +699,7 @@
 20
 40
 07
-1d
+1f
 20
 40
 00
@@ -1167,7 +1167,7 @@
 20
 40
 05
-e9
+eb
 68
 08
 cc
@@ -1223,7 +1223,7 @@
 20
 40
 05
-e9
+eb
 70
 4d
 39
@@ -1559,7 +1559,7 @@
 20
 40
 07
-17
+19
 68
 00
 cc
@@ -1747,11 +1747,11 @@
 20
 40
 07
-40
+42
 20
 40
 05
-e9
+eb
 20
 20
 01
@@ -1831,11 +1831,11 @@
 20
 20
 07
-78
+7a
 20
 40
 07
-14
+16
 70
 11
 c5
@@ -1843,7 +1843,7 @@
 20
 20
 07
-78
+7a
 70
 4b
 6f
@@ -1855,7 +1855,7 @@
 20
 20
 07
-78
+7a
 79
 3f
 80
@@ -3071,7 +3071,7 @@
 20
 20
 07
-78
+7a
 68
 08
 cb
@@ -3395,7 +3395,7 @@
 20
 40
 05
-ac
+ae
 20
 40
 43
@@ -3459,7 +3459,7 @@
 20
 20
 07
-78
+7a
 20
 40
 44
@@ -3887,7 +3887,7 @@
 20
 40
 05
-96
+98
 68
 08
 c6
@@ -3903,7 +3903,7 @@
 20
 40
 05
-9f
+a1
 68
 00
 c6
@@ -3967,7 +3967,7 @@
 20
 40
 05
-9f
+a1
 20
 20
 3d
@@ -4135,7 +4135,7 @@
 20
 20
 07
-78
+7a
 20
 40
 04
@@ -4147,7 +4147,7 @@
 20
 20
 07
-78
+7a
 70
 0a
 99
@@ -4163,7 +4163,7 @@
 20
 20
 07
-78
+7a
 70
 11
 c5
@@ -4171,7 +4171,7 @@
 20
 20
 07
-78
+7a
 68
 08
 c6
@@ -4211,7 +4211,7 @@
 20
 20
 07
-78
+7a
 20
 40
 43
@@ -4227,7 +4227,7 @@
 20
 20
 07
-78
+7a
 20
 40
 02
@@ -4259,7 +4259,7 @@
 20
 20
 07
-78
+7a
 70
 11
 c5
@@ -4267,7 +4267,7 @@
 20
 20
 07
-78
+7a
 20
 40
 04
@@ -4283,7 +4283,7 @@
 20
 20
 07
-78
+7a
 20
 40
 04
@@ -4295,7 +4295,7 @@
 20
 20
 07
-78
+7a
 20
 40
 04
@@ -4335,7 +4335,7 @@
 20
 20
 07
-78
+7a
 68
 00
 cb
@@ -4819,7 +4819,7 @@
 20
 40
 05
-9f
+a1
 68
 08
 c6
@@ -5511,7 +5511,7 @@
 20
 40
 05
-67
+66
 20
 40
 40
@@ -5523,15 +5523,11 @@
 20
 40
 05
-72
+74
 24
 34
 05
-6f
-20
-40
-07
-99
+72
 20
 20
 3f
@@ -5558,8 +5554,8 @@
 c8
 c0
 05
-3f
-cb
+05
+6e
 78
 54
 7c
@@ -5568,10 +5564,22 @@
 20
 3f
 e7
+58
+00
+00
+19
 20
 40
-07
-a2
+64
+14
+60
+00
+cf
+f0
+20
+20
+3f
+cb
 70
 4b
 39
@@ -5583,7 +5591,7 @@
 20
 40
 05
-74
+76
 20
 20
 40
@@ -5595,11 +5603,11 @@
 20
 40
 05
-7a
+7c
 20
 40
 05
-78
+7a
 20
 20
 40
@@ -5607,11 +5615,11 @@
 20
 40
 05
-8a
+8c
 20
 20
 05
-90
+92
 68
 08
 c6
@@ -5619,7 +5627,7 @@
 20
 40
 05
-9f
+a1
 68
 08
 c6
@@ -5639,7 +5647,7 @@
 20
 40
 05
-9f
+a1
 68
 08
 c6
@@ -5659,7 +5667,7 @@
 20
 40
 05
-9f
+a1
 68
 08
 c6
@@ -5683,7 +5691,7 @@
 20
 40
 05
-96
+98
 68
 08
 c6
@@ -5699,7 +5707,7 @@
 20
 20
 05
-9f
+a1
 68
 08
 c6
@@ -5707,7 +5715,7 @@
 20
 40
 05
-96
+98
 68
 08
 c6
@@ -5723,7 +5731,7 @@
 20
 20
 05
-9f
+a1
 79
 3f
 84
@@ -5779,7 +5787,7 @@
 20
 20
 05
-9a
+9c
 20
 40
 04
@@ -5803,7 +5811,7 @@
 20
 20
 07
-78
+7a
 70
 11
 c5
@@ -5811,7 +5819,7 @@
 20
 20
 07
-78
+7a
 20
 40
 03
@@ -5931,11 +5939,11 @@
 c2
 82
 85
-e8
+ea
 20
 40
 07
-17
+19
 68
 00
 c7
@@ -5943,7 +5951,7 @@
 24
 3a
 05
-d2
+d4
 68
 00
 84
@@ -5951,7 +5959,7 @@
 c3
 02
 05
-d6
+d8
 68
 00
 82
@@ -5959,7 +5967,7 @@
 20
 3a
 05
-d6
+d8
 20
 20
 56
@@ -5987,7 +5995,7 @@
 c0
 82
 85
-d9
+db
 70
 47
 8e
@@ -6055,7 +6063,7 @@
 20
 40
 05
-dc
+de
 68
 00
 cd
@@ -6067,7 +6075,7 @@
 24
 41
 07
-1b
+1d
 68
 00
 cd
@@ -6171,7 +6179,7 @@
 c0
 01
 86
-07
+09
 20
 20
 56
@@ -6183,7 +6191,7 @@
 c0
 00
 86
-0a
+0c
 20
 20
 5c
@@ -6215,11 +6223,11 @@
 c0
 02
 06
-13
+15
 c0
 03
 06
-40
+42
 20
 20
 56
@@ -6231,7 +6239,7 @@
 20
 40
 05
-f1
+f3
 20
 40
 7e
@@ -6247,7 +6255,7 @@
 c0
 08
 06
-22
+24
 1f
 ec
 84
@@ -6259,7 +6267,7 @@
 20
 21
 06
-30
+32
 d8
 40
 47
@@ -6343,7 +6351,7 @@
 c0
 05
 06
-32
+34
 20
 20
 58
@@ -6359,7 +6367,7 @@
 c2
 81
 86
-39
+3b
 68
 01
 04
@@ -6387,7 +6395,7 @@
 24
 22
 86
-35
+37
 20
 40
 5a
@@ -6395,7 +6403,7 @@
 24
 34
 06
-35
+37
 70
 04
 7a
@@ -6411,7 +6419,7 @@
 c0
 02
 86
-43
+45
 20
 20
 5a
@@ -6423,7 +6431,7 @@
 20
 20
 07
-78
+7a
 68
 00
 80
@@ -6435,7 +6443,7 @@
 20
 40
 06
-4b
+4d
 d8
 e0
 00
@@ -6475,7 +6483,7 @@
 20
 37
 06
-53
+55
 24
 36
 d8
@@ -6515,7 +6523,7 @@
 20
 20
 07
-78
+7a
 68
 10
 80
@@ -6555,7 +6563,7 @@
 20
 40
 06
-69
+6b
 60
 18
 80
@@ -6599,7 +6607,7 @@
 20
 20
 07
-78
+7a
 20
 40
 21
@@ -6635,7 +6643,7 @@
 c5
 05
 86
-7e
+80
 20
 40
 24
@@ -6643,11 +6651,11 @@
 24
 3a
 06
-77
+79
 c5
 16
 86
-86
+88
 20
 20
 21
@@ -6683,7 +6691,7 @@
 20
 20
 06
-77
+79
 68
 02
 01
@@ -6747,7 +6755,7 @@
 20
 40
 86
-97
+99
 20
 20
 24
@@ -6763,15 +6771,15 @@
 20
 40
 85
-e9
+eb
 24
 40
 87
-17
+19
 20
 20
 07
-1d
+1f
 20
 40
 24
@@ -6823,7 +6831,7 @@
 20
 3a
 06
-ab
+ad
 68
 00
 c5
@@ -6931,7 +6939,7 @@
 20
 5a
 06
-c5
+c7
 20
 20
 2b
@@ -6955,7 +6963,7 @@
 20
 20
 07
-78
+7a
 70
 11
 c5
@@ -6963,7 +6971,7 @@
 20
 20
 07
-78
+7a
 68
 00
 85
@@ -6975,7 +6983,7 @@
 c0
 09
 86
-d0
+d2
 20
 20
 5d
@@ -7011,7 +7019,7 @@
 20
 20
 07
-78
+7a
 20
 40
 62
@@ -7031,11 +7039,11 @@
 c0
 02
 06
-fa
+fc
 c0
 08
 06
-df
+e1
 20
 20
 63
@@ -7051,7 +7059,7 @@
 c0
 00
 86
-e3
+e5
 20
 20
 63
@@ -7067,7 +7075,7 @@
 c2
 80
 06
-e7
+e9
 20
 20
 63
@@ -7135,7 +7143,7 @@
 24
 21
 06
-f8
+fa
 20
 20
 63
@@ -7175,15 +7183,15 @@
 c0
 0f
 87
-04
+06
 c0
 10
 07
-07
+09
 c0
 09
 07
-11
+13
 20
 20
 7d
@@ -7199,7 +7207,7 @@
 20
 20
 07
-09
+0b
 70
 01
 85
@@ -7323,7 +7331,7 @@
 c5
 13
 07
-27
+29
 58
 00
 00
@@ -7335,7 +7343,7 @@
 24
 21
 07
-3f
+41
 68
 00
 cd
@@ -7347,7 +7355,7 @@
 24
 21
 07
-2f
+31
 68
 00
 cd
@@ -7355,7 +7363,7 @@
 c0
 00
 07
-40
+42
 20
 60
 00
@@ -7383,7 +7391,7 @@
 c5
 13
 07
-36
+38
 58
 00
 00
@@ -7403,7 +7411,7 @@
 c0
 00
 07
-47
+49
 1f
 e0
 ff
@@ -7415,7 +7423,7 @@
 c0
 00
 07
-47
+49
 70
 41
 de
@@ -7435,7 +7443,7 @@
 c0
 01
 07
-45
+47
 1f
 e0
 fe
@@ -7447,7 +7455,7 @@
 c0
 00
 87
-3d
+3f
 70
 41
 de
@@ -7531,19 +7539,19 @@
 c0
 01
 07
-61
+63
 c0
 02
 07
-69
+6b
 c0
 10
 07
-73
+75
 20
 40
 07
-6e
+70
 70
 89
 55
@@ -7595,7 +7603,7 @@
 20
 40
 07
-6e
+70
 70
 89
 55
@@ -7671,7 +7679,7 @@
 20
 22
 87
-97
+99
 60
 08
 cb
@@ -7747,7 +7755,7 @@
 24
 22
 87
-88
+8a
 20
 40
 03
@@ -7784,408 +7792,8 @@
 20
 00
 01
-68
-02
-46
-9b
-20
-7a
-00
-00
-20
-40
-07
-ec
-58
-00
-00
-06
-20
-40
-07
-df
-58
-00
-00
-03
-20
-40
-07
-e5
-68
-00
-cb
-0d
-c0
-00
-87
-a5
-df
-20
-00
-05
-d8
-a0
-4b
-0d
-20
-20
-7e
-d4
-68
-01
-4b
-0e
-60
-01
-11
-be
-68
-01
-46
-9b
-60
-01
-11
-c0
-20
-40
-07
-b8
-68
-01
-11
-be
-60
-01
-4b
-0e
-68
-01
-11
-c0
-60
-01
-46
-9b
-68
-01
-4b
-10
-60
-01
-11
-be
-68
-01
-46
-9d
-60
-01
-11
-c0
-20
-40
-07
-b8
-68
-01
-11
-be
-60
-01
-4b
-10
-68
-01
-11
-c0
-60
-01
-46
-9d
-20
-60
-00
-00
-68
-01
-11
-be
-68
-09
-11
-c0
-98
-40
-fe
-00
-60
-01
-91
-c2
-2f
-ef
-fe
-10
-20
-20
-87
-c5
-68
-00
-91
-c3
-c0
-7f
-87
-cc
-68
-00
-91
-c2
-1f
-e3
-7e
-00
-60
-01
-11
-be
-60
-01
-11
-c0
-20
-60
-00
-00
-68
-00
-91
-c3
-c0
-00
-07
-c9
-68
-01
-91
-c2
-20
-20
-07
-c1
-70
-11
-c4
-00
-68
-00
-91
-c2
-20
-20
-07
-c1
-68
-00
-91
-c2
-20
-40
-07
-d7
-60
-00
-91
-be
-60
-00
-91
-c0
-20
-3a
-07
-d5
-58
-00
-00
-ff
-60
-00
-91
-bf
-60
-00
-91
-c1
-20
-60
-00
-00
-58
-00
-00
-00
-20
-20
-07
-d2
-1f
-e6
-7e
-00
-60
-00
-8a
-ae
-68
-00
-8a
-ae
-1f
-e3
-7e
-00
-60
-00
-8a
-ae
-68
-00
-8a
-ae
-1f
-e6
-7e
-00
-20
-60
-00
-00
-9a
-26
-7c
-00
-24
-21
-07
-ea
-9a
-46
-7c
-00
-24
-21
-07
-ea
-70
-4b
-0d
-00
-20
-60
-00
-00
-9a
-26
-7c
-00
-24
-61
-00
-00
-9a
-46
-7c
-00
-24
-61
-00
-00
-20
-20
-07
-e3
-70
-4b
-0d
-01
-20
-60
-00
-00
-68
-01
-46
-9b
-60
-01
-11
-c0
-20
-40
-07
-f5
-1f
-e2
-22
-00
-68
-01
-46
-9d
-60
-01
-11
-c0
-20
-40
-07
-f5
-1f
-e2
-24
-00
-20
-60
-00
-00
-68
-00
-91
-c1
-c0
-7f
-87
-fa
-68
-00
-91
-c0
-1f
-e1
-7e
-ff
-20
-60
-00
-00
-68
-01
-11
-c0
-1f
-e6
-7e
-00
-20
-20
-07
-f8
-bc
-9f
+1b
+a7
 aa
 55
 08
@@ -8446,12 +8054,12 @@
 00
 a0
 40
-20
+26
 51
 17
-01
+51
 20
-10
+11
 aa
 55
 15
@@ -8862,7 +8470,7 @@
 08
 aa
 55
-0e
+0c
 00
 72
 4b
@@ -8870,8 +8478,6 @@
 a5
 26
 34
-19
-10
 6a
 c0
 69
@@ -9201,14 +8807,14 @@
 00
 53
 4b
-02
-30
+78
+2e
 00
 55
 aa
 aa
 55
-31
+5d
 f4
 ff
 20
@@ -10078,7 +9684,7 @@
 20
 40
 05
-a8
+aa
 20
 40
 04
@@ -10798,7 +10404,7 @@
 20
 40
 05
-ac
+ae
 68
 09
 47
@@ -10902,7 +10508,7 @@
 20
 40
 05
-ba
+bc
 20
 20
 7d
@@ -11870,7 +11476,7 @@
 20
 40
 05
-74
+76
 c0
 02
 82
@@ -11882,7 +11488,7 @@
 20
 40
 05
-9f
+a1
 68
 08
 c6
@@ -12287,5 +11893,5 @@
 55
 00
 00
-c9
-9b
+f3
+53
Index: output/program.lis
===================================================================
--- /branch/mouse_project/YDN_Project/YDN_1066_227D/output/program.lis	(revision 3890)
+++ /branch/mouse_project/YDN_Project/YDN_1066_227D/output/program.lis	(working copy)
@@ -10,56 +10,56 @@
 0001 20400382 call p_mouse_data_init 
 0002 6800c1de fetch 1 ,mem_tx_power 
 0003 6000ccbd store 1 ,mem_tx_power_temp 
-0004 20400714 call power_ctrl_pac_succ_cnt_init 
+0004 20400716 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 6800cb33 fetch 1 ,mem_bt_ui_button_timeout 
 0008 6000cb34 store 1 ,mem_bt_ui_button_count 
 0009 204043ca call mouse_bt_discovery_button_down_disable 
 000a 20400329 call p_mouse_spi_init 
-000b 204007a2 call p_drawing_optima_init 
-000c 20400010 call p_mouse_cb_fuction 
-000d 20400023 call p_mouse_wakeup_from_power 
-000e 20400070 call p_mouse_select_device_button_wakeup_check 
-000f 202002fd branch p_mouse_setting_config 
+000b 2040000f call p_mouse_cb_fuction 
+000c 20400022 call p_mouse_wakeup_from_power 
+000d 20400070 call p_mouse_select_device_button_wakeup_check 
+000e 202002fd branch p_mouse_setting_config 
 
 p_mouse_cb_fuction:
-0010 58000360 setarg p_mouse_g24_package_data 
-0011 60014d37 store 2 ,mem_cb_24g_data 
-0012 58000367 setarg p_mouse_le 
-0013 600141ef store 2 ,mem_cb_le_process 
-0014 5800065a setarg p_le_mouse_bb_event_connect_complete 
-0015 600141f9 store 2 ,mem_cb_att_write 
-0016 5800039d setarg p_mouse_bt 
-0017 600141f1 store 2 ,mem_cb_bt_process 
-0018 580002a5 setarg p_mouse_before_lpm 
-0019 600141ed store 2 ,mem_cb_before_lpm 
-001a 580003f4 setarg p_mouse_priority_bb_event 
-001b 600141f5 store 2 ,mem_cb_bb_event_process 
-001c 580003c5 setarg p_mouse_idle 
-001d 600141f3 store 2 ,mem_cb_idle_process 
-001e 58000438 setarg p_mouse_before_hibernate 
-001f 600141eb store 2 ,mem_cb_before_hibernate 
-0020 58000445 setarg p_mouse_bb_event_timer 
-0021 600141fd store 2 ,mem_cb_event_timer 
-0022 20600000 rtn 
+000f 58000360 setarg p_mouse_g24_package_data 
+0010 60014d37 store 2 ,mem_cb_24g_data 
+0011 58000367 setarg p_mouse_le 
+0012 600141ef store 2 ,mem_cb_le_process 
+0013 5800065c setarg p_le_mouse_bb_event_connect_complete 
+0014 600141f9 store 2 ,mem_cb_att_write 
+0015 5800039d setarg p_mouse_bt 
+0016 600141f1 store 2 ,mem_cb_bt_process 
+0017 580002a5 setarg p_mouse_before_lpm 
+0018 600141ed store 2 ,mem_cb_before_lpm 
+0019 580003f4 setarg p_mouse_priority_bb_event 
+001a 600141f5 store 2 ,mem_cb_bb_event_process 
+001b 580003c5 setarg p_mouse_idle 
+001c 600141f3 store 2 ,mem_cb_idle_process 
+001d 58000438 setarg p_mouse_before_hibernate 
+001e 600141eb store 2 ,mem_cb_before_hibernate 
+001f 58000445 setarg p_mouse_bb_event_timer 
+0020 600141fd store 2 ,mem_cb_event_timer 
+0021 20600000 rtn 
 
 p_mouse_wakeup_from_power:
-0023 58000019 setarg 25 
-0024 60014d49 store 2 ,mem_24g_transmit_by_interrupt_exit_count_init 
-0025 2455802b ncall p_mouse_24g_transmit_by_interrupt_exit_count_max ,wake 
-0026 204002d1 call p_mouse_init_sunt 
-0027 2040043e call p_mouse_sensor_powerdown 
+0022 58000019 setarg 25 
+0023 60014d49 store 2 ,mem_24g_transmit_by_interrupt_exit_count_init 
+0024 2455802a ncall p_mouse_24g_transmit_by_interrupt_exit_count_max ,wake 
+0025 204002d1 call p_mouse_init_sunt 
+0026 2040043e call p_mouse_sensor_powerdown 
 
 p_mouse_wakeup_no_from_power:
-0028 6800c71f fetch 1 ,mem_reconn_times_init 
-0029 6000c71e store 1 ,mem_reconn_times 
-002a 20600000 rtn 
+0027 6800c71f fetch 1 ,mem_reconn_times_init 
+0028 6000c71e store 1 ,mem_reconn_times 
+0029 20600000 rtn 
 
 p_mouse_24g_transmit_by_interrupt_exit_count_max:
-002b 58000177 setarg 375 
-002c 60014d49 store 2 ,mem_24g_transmit_by_interrupt_exit_count_init 
-002d 20600000 rtn 
+002a 58000177 setarg 375 
+002b 60014d49 store 2 ,mem_24g_transmit_by_interrupt_exit_count_init 
+002c 20600000 rtn 
+002d 20000001 nop 1 
 002e 20000001 nop 1 
 002f 20000001 nop 1 
 0030 20000001 nop 1 
@@ -83,42 +83,42 @@
 0040 c2840059 bbit1 8 ,pf_patch_ext 
 0041 c000807f beq patch00_1 ,p_soft_reset_1 
 0042 c0010088 beq patch00_2 ,p_soft_reset_2 
-0043 c0428776 beq patch10_5 ,p_shutdown_radio 
-0044 c0448749 beq patch11_1 ,p_set_freq_tx 
-0045 c00d866f beq patch03_3 ,p_page_wait_fhs_reply_ok 
-0046 c0130671 beq patch04_6 ,p_role_switch_master 
-0047 c024068c beq patch09_0 ,p_quit_connection_cont 
-0048 c0250693 beq patch09_2 ,p_prepare_tx 
-0049 c028869c beq patch0a_1 ,p_slave_conn_recv_packet 
-004a c02c868a beq patch0b_1 ,p_process_dmh 
-004b c05386a1 beq patch14_7 ,p_lpm_dispatch 
-004c c05686b7 beq patch15_5 ,p_lpm_set_mult 
+0043 c0428778 beq patch10_5 ,p_shutdown_radio 
+0044 c044874b beq patch11_1 ,p_set_freq_tx 
+0045 c00d8671 beq patch03_3 ,p_page_wait_fhs_reply_ok 
+0046 c0130673 beq patch04_6 ,p_role_switch_master 
+0047 c024068e beq patch09_0 ,p_quit_connection_cont 
+0048 c0250695 beq patch09_2 ,p_prepare_tx 
+0049 c028869e beq patch0a_1 ,p_slave_conn_recv_packet 
+004a c02c868c beq patch0b_1 ,p_process_dmh 
+004b c05386a3 beq patch14_7 ,p_lpm_dispatch 
+004c c05686b9 beq patch15_5 ,p_lpm_set_mult 
 004d c065b3e4 beq patch19_3 ,app_bt_start_reconnect + 3 
-004e c07486c8 beq patch1d_1 ,p_mouse_bb_disconnected 
+004e c07486ca beq patch1d_1 ,p_mouse_bb_disconnected 
 004f c0508091 beq patch14_1 ,p_init_param 
 0050 c0588096 beq patch16_1 ,p_lpm_check_wake_lock 
 0051 c05900a4 beq patch16_2 ,p_g24_dispatch 
 0052 c06202b1 beq patch18_4 ,p_device_init 
 0053 c07183e0 beq patch1c_3 ,p_mouse_seting_dpi 
 0054 c073055d beq patch1c_6 ,p_mouse_motion 
-0055 c07505a4 beq patch1d_2 ,p_mouse_bb_event_discovery_btn 
-0056 c07585aa beq patch1d_3 ,p_mouse_start_discovery 
-0057 c07605be beq patch1d_4 ,p_mouse_stop_discovery 
+0055 c07505a6 beq patch1d_2 ,p_mouse_bb_event_discovery_btn 
+0056 c07585ac beq patch1d_3 ,p_mouse_start_discovery 
+0057 c07605c0 beq patch1d_4 ,p_mouse_stop_discovery 
 0058 20202a8e branch loop 
 
 pf_patch_ext:
-0059 c03185c8 beq patch2c_3 ,p_le_prepare_tx 
-005a c03305f8 beq patch2c_6 ,p_le_parse 
-005b c033860f beq patch2c_7 ,p_le_parse_l2cap 
-005c c0350645 beq patch2d_2 ,p_le_adv_not_match 
-005d c03b8650 beq patch2e_7 ,p_le_lpm_setmult 
-005e c00286ca beq patch20_5 ,p_hid_rx_process 
-005f c04006cc beq patch30_0 ,p_parse_lmp_accepted 
-0060 c04106d6 beq patch30_2 ,p_send_lmp 
-0061 c04406d8 beq patch31_0 ,p_process_conn_sm 
-0062 c046065c beq patch31_4 ,p_twspi_reset 
-0063 c0468668 beq patch31_5 ,p_spid_init 
-0064 c07d06fc beq patch3f_2 ,p_check_51cmd_once_continue 
+0059 c03185ca beq patch2c_3 ,p_le_prepare_tx 
+005a c03305fa beq patch2c_6 ,p_le_parse 
+005b c0338611 beq patch2c_7 ,p_le_parse_l2cap 
+005c c0350647 beq patch2d_2 ,p_le_adv_not_match 
+005d c03b8652 beq patch2e_7 ,p_le_lpm_setmult 
+005e c00286cc beq patch20_5 ,p_hid_rx_process 
+005f c04006ce beq patch30_0 ,p_parse_lmp_accepted 
+0060 c04106d8 beq patch30_2 ,p_send_lmp 
+0061 c04406da beq patch31_0 ,p_process_conn_sm 
+0062 c046065e beq patch31_4 ,p_twspi_reset 
+0063 c046866a beq patch31_5 ,p_spid_init 
+0064 c07d06fe beq patch3f_2 ,p_check_51cmd_once_continue 
 0065 20202a8e branch loop 
 
 p_rssi_signal:
@@ -213,7 +213,7 @@
 00aa 2040017c call p_g24_transmit_packet 
 00ab 6800cc16 fetch 1 ,mem_24g_pairing_sm 
 00ac c1ff8000 rtnne state_24g_pairing_success 
-00ad 2040071d call power_ctrl_start 
+00ad 2040071f call power_ctrl_start 
 00ae 204000b8 call g24_long_sleep_shorter_param_update 
 00af 6800cb29 fetch 1 ,mem_mouse_multi_led_state 
 00b0 c0008363 beq on ,p_g24_transmit_by_interrupt_enable 
@@ -370,7 +370,7 @@
 011f 793ffe04 set0 bit_hop ,pdata 
 0120 6000cc07 store 1 ,mem_24g_data_type 
 0121 6000cbc2 store 1 ,mem_24g_txpayload 
-0122 204005e9 call power_ctrl_pac_succ_decrs 
+0122 204005eb call power_ctrl_pac_succ_decrs 
 
 p_g24_ch:
 0123 6808cc11 fetcht 1 ,mem_24g_current_ch_number 
@@ -392,7 +392,7 @@
 012f 2020017c branch p_g24_transmit_packet 
 
 p_g24_rf_hop_fastly_exit:
-0130 204005e9 call power_ctrl_pac_succ_decrs 
+0130 204005eb call power_ctrl_pac_succ_decrs 
 0131 704d3900 jam 0 ,mem_24g_hop_fastly_cnt 
 0132 20200115 branch p_g24_transmit_rf_ctrl_clear 
 
@@ -506,7 +506,7 @@
 0181 243781a3 nbranch p_g24_retransmit ,user3 
 0182 20400192 call p_g24_txbuf_clear 
 0183 204001c0 call p_g24_ackpayload_parse 
-0184 20400717 call power_ctrl_pac_succ_incrs 
+0184 20400719 call power_ctrl_pac_succ_incrs 
 
 p_g24_transmit_next_packet:
 0185 6800cc05 fetch 1 ,mem_24g_pid 
@@ -571,8 +571,8 @@
 01b2 20202dd4 branch g24_stop_24g_mode 
 
 p_g24_tx_fast_hop:
-01b3 20400740 call power_ctrl_txpower_incrs 
-01b4 204005e9 call power_ctrl_pac_succ_decrs 
+01b3 20400742 call power_ctrl_txpower_incrs 
+01b4 204005eb call power_ctrl_pac_succ_decrs 
 01b5 20200123 branch p_g24_ch 
 
 p_g24_tx_hop_ch_process:
@@ -598,19 +598,19 @@
 
 p_g24_pairing_sm:
 01c7 7011c590 jam zcode_90 ,mem_zcode_temp_param0 
-01c8 20200778 branch p_zcode_entrance 
+01c8 2020077a branch p_zcode_entrance 
 
 p_g24_paring_mode_start:
-01c9 20400714 call power_ctrl_pac_succ_cnt_init 
+01c9 20400716 call power_ctrl_pac_succ_cnt_init 
 
 p_g24_paring_mode:
 01ca 7011c591 jam zcode_91 ,mem_zcode_temp_param0 
-01cb 20200778 branch p_zcode_entrance 
+01cb 2020077a branch p_zcode_entrance 
 
 p_g24_auto_pair_start:
 01cc 704b6f00 jam 0 ,mem_mouse_long_button_select_device 
 01cd 7011c570 jam zcode_70 ,mem_zcode_temp_param0 
-01ce 20200778 branch p_zcode_entrance 
+01ce 2020077a branch p_zcode_entrance 
 
 p_g24_check_51cmd_stop_24g:
 01cf 793f8026 set0 mark_24g ,mark 
@@ -1010,7 +1010,7 @@
 
 p_mouse_setting_config:
 02fd 7011c580 jam zcode_80 ,mem_zcode_temp_param0 
-02fe 20200778 branch p_zcode_entrance 
+02fe 2020077a branch p_zcode_entrance 
 
 p_flash_ncs_disable:
 02ff 6808cb47 fetcht 1 ,mem_flash_ncs_gpio 
@@ -1117,7 +1117,7 @@
 034c 2040035c call p_flash_release_deep_power_down 
 034d 20400346 call p_mouse_information_flash_parameters 
 034e 20406562 call spid_read_flash 
-034f 204005ac call p_mouse_load_random_addr_increase_count 
+034f 204005ae call p_mouse_load_random_addr_increase_count 
 0350 2040431a call mouse_select_reconn_device 
 0351 6802477b fetch 4 ,mem_mouse_24g_addr 
 0352 60024c2e store 4 ,mem_24g_addr 
@@ -1143,7 +1143,7 @@
 
 p_g24_start_24g_mode:
 035e 7011c560 jam zcode_60 ,mem_zcode_temp_param0 
-035f 20200778 branch p_zcode_entrance 
+035f 2020077a branch p_zcode_entrance 
 
 p_mouse_g24_package_data:
 0360 20404401 call mouse_g24_package_data 
@@ -1284,11 +1284,11 @@
 03c7 6808cb26 fetcht 1 ,mem_24g_sw_gpio 
 03c8 2040680e call gpio_config_output 
 03c9 6808c6e7 fetcht 1 ,mem_dpi_button_gpio 
-03ca 20400596 call p_gpio_set_input_pd 
+03ca 20400598 call p_gpio_set_input_pd 
 03cb 6808c6e7 fetcht 1 ,mem_dpi_button_gpio 
 03cc 2040681d call gpio_get_bit 
 03cd 202083dd branch p_mouse_dpi_up ,true 
-03ce 2040059f call p_gpio_set_input_pu 
+03ce 204005a1 call p_gpio_set_input_pu 
 
 p_mouse_dpi_down:
 03cf 6800c6b6 fetch 1 ,mem_mouse_dpi_button_state 
@@ -1308,7 +1308,7 @@
 
 p_mouse_dpi_up:
 03dd 704b7100 jam 0 ,mem_mouse_dpi_no_enter_long_sleep_flag 
-03de 2040059f call p_gpio_set_input_pu 
+03de 204005a1 call p_gpio_set_input_pu 
 03df 20203d62 branch mouse_dpi_up 
 
 p_mouse_seting_dpi:
@@ -1368,12 +1368,12 @@
 p_mouse_le_bb_event_connected:
 0406 204002da call p_mouse_init_sensor_reset 
 0407 7011c5b0 jam zcode_b0 ,mem_zcode_temp_param0 
-0408 20200778 branch p_zcode_entrance 
+0408 2020077a branch p_zcode_entrance 
 
 p_mouse_le_bb_disconnected:
 0409 2040043b call p_mouse_sensor_powerdown_check 
 040a 7011c5a2 jam zcode_a2 ,mem_zcode_temp_param0 
-040b 20200778 branch p_zcode_entrance 
+040b 2020077a branch p_zcode_entrance 
 
 p_mouse_le_enc_info:
 
@@ -1383,11 +1383,11 @@
 
 p_mouse_le_ll_start_encryt:
 040e 7011c5b3 jam zcode_b3 ,mem_zcode_temp_param0 
-040f 20200778 branch p_zcode_entrance 
+040f 2020077a branch p_zcode_entrance 
 
 p_mouse_le_conn_param_update_rsp_recieved:
 0410 7011c5a1 jam zcode_a1 ,mem_zcode_temp_param0 
-0411 20200778 branch p_zcode_entrance 
+0411 2020077a branch p_zcode_entrance 
 
 p_mouse_set_gpio_control_sensor:
 
@@ -1407,7 +1407,7 @@
 
 p_mouse_bb_event_reconn_failed:
 041a 7011c5a3 jam zcode_a3 ,mem_zcode_temp_param0 
-041b 20200778 branch p_zcode_entrance 
+041b 2020077a branch p_zcode_entrance 
 
 p_mouse_irtual_cable_unplug:
 041c 2040438e call mouse_irtual_cable_unplug 
@@ -1415,7 +1415,7 @@
 
 p_mouse_sniff_not_accept:
 041e 7011c5b1 jam zcode_b1 ,mem_zcode_temp_param0 
-041f 20200778 branch p_zcode_entrance 
+041f 2020077a branch p_zcode_entrance 
 
 p_mouse_bb_event_connected:
 0420 204002da call p_mouse_init_sensor_reset 
@@ -1427,22 +1427,22 @@
 p_mouse_bb_event_disconnected:
 0425 2040043b call p_mouse_sensor_powerdown_check 
 0426 7011c5b4 jam zcode_b4 ,mem_zcode_temp_param0 
-0427 20200778 branch p_zcode_entrance 
+0427 2020077a branch p_zcode_entrance 
 
 p_mouse_enter_sniff_check:
 0428 7011c5b2 jam zcode_b2 ,mem_zcode_temp_param0 
-0429 20200778 branch p_zcode_entrance 
+0429 2020077a branch p_zcode_entrance 
 
 p_mouse_24g_pairing_complete:
 042a 204004f9 call p_mouse_discovey_led_blink_off 
 042b 204002da call p_mouse_init_sensor_reset 
 042c 7011c592 jam zcode_92 ,mem_zcode_temp_param0 
-042d 20200778 branch p_zcode_entrance 
+042d 2020077a branch p_zcode_entrance 
 
 p_mouse_24g_attempt_fail:
 042e 2040043b call p_mouse_sensor_powerdown_check 
 042f 7011c5a0 jam zcode_a0 ,mem_zcode_temp_param0 
-0430 20200778 branch p_zcode_entrance 
+0430 2020077a branch p_zcode_entrance 
 
 p_mouse_24g_attempt_success:
 0431 204004f9 call p_mouse_discovey_led_blink_off 
@@ -1458,7 +1458,7 @@
 p_mouse_before_hibernate:
 0438 2040043b call p_mouse_sensor_powerdown_check 
 0439 7011c5a4 jam zcode_a4 ,mem_zcode_temp_param0 
-043a 20200778 branch p_zcode_entrance 
+043a 2020077a branch p_zcode_entrance 
 
 p_mouse_sensor_powerdown_check:
 043b 6800cb00 fetch 1 ,mem_mouse_init_sensor_reset_flag 
@@ -1639,7 +1639,7 @@
 
 p_mouse_24g_pairing_button_down_first:
 04b2 6808c6ec fetcht 1 ,mem_config_bt_button_gpio 
-04b3 2040059f call p_gpio_set_input_pu 
+04b3 204005a1 call p_gpio_set_input_pu 
 04b4 6808c6ec fetcht 1 ,mem_config_bt_button_gpio 
 04b5 2040681d call gpio_get_bit 
 04b6 202084b8 branch p_mouse_24g_pairing_timer ,true 
@@ -1880,935 +1880,801 @@
 055d 78547c00 disable user 
 055e 58000000 setarg 0 
 055f 6003469b store 6 ,mem_mouse_x 
-0560 20400567 call p_mouse_cheak_sensor_data 
+0560 20400566 call p_mouse_cheak_sensor_data 
 0561 20404079 call mouse_zwheel 
 0562 2040407e call mouse_t_zwheel 
-0563 20400572 call p_mouse_key 
-0564 2434056f nbranch p_mouse_motion_nodata ,user 
-0565 20400799 call p_drawing_optima 
-0566 20203fa0 branch mouse_motion + 9 
+0563 20400574 call p_mouse_key 
+0564 24340572 nbranch p_mouse_motion_nodata ,user 
+0565 20203fa0 branch mouse_motion + 9 
 
 p_mouse_cheak_sensor_data:
-0567 6800c239 fetch 1 ,mem_spi_write_flash_sm 
-0568 c1800000 rtnne flash_sm_no_buys 
-0569 20403fc0 call mouse_clear_sensor_data 
-056a 6800c6e0 fetch 1 ,mem_config_sensor_type 
-056b c0023fc8 beq p3212 ,mouse_p3212_sensor_motion_1 
-056c c0053fcb beq ka5857 ,mouse_p3212_sensor_motion_1 + 3 
-056d 78547c00 disable user 
-056e 20203fe7 branch mouse_p32xx_sensor_motion_2 
+0566 6800c239 fetch 1 ,mem_spi_write_flash_sm 
+0567 c1800000 rtnne flash_sm_no_buys 
+0568 20403fc0 call mouse_clear_sensor_data 
+0569 6800c6e0 fetch 1 ,mem_config_sensor_type 
+056a c0023fc8 beq p3212 ,mouse_p3212_sensor_motion_1 
+056b c005056e beq ka5857 ,p_mouse_ka5857_sensor_motion 
+056c 78547c00 disable user 
+056d 20203fe7 branch mouse_p32xx_sensor_motion_2 
+
+p_mouse_ka5857_sensor_motion:
+056e 58000019 setarg 0x19 
+056f 20406414 call twspi_read 
+0570 6000cff0 store 1 ,0x4ff0 
+0571 20203fcb branch mouse_p3212_sensor_motion_1 + 3 
 
 p_mouse_motion_nodata:
-056f 204007a2 call p_drawing_optima_init 
-0570 704b3900 jam 0 ,mem_low_power_check_count 
-0571 20600000 rtn 
+0572 704b3900 jam 0 ,mem_low_power_check_count 
+0573 20600000 rtn 
 
 p_mouse_key:
-0572 20400574 call p_mouse_check_key_gpio 
-0573 2020409a branch mouse_key + 1 
+0574 20400576 call p_mouse_check_key_gpio 
+0575 2020409a branch mouse_key + 1 
 
 p_mouse_check_key_gpio:
-0574 da200000 arg 0 ,rega 
-0575 2040057a call p_mouse_check_lkey_gpio 
-0576 20400578 call p_mouse_check_skey_gpio 
-0577 2020408e branch mouse_check_key_gpio_output 
+0576 da200000 arg 0 ,rega 
+0577 2040057c call p_mouse_check_lkey_gpio 
+0578 2040057a call p_mouse_check_skey_gpio 
+0579 2020408e branch mouse_check_key_gpio_output 
 
 p_mouse_check_skey_gpio:
-0578 2040058a call p_mouse_check_bk_key_gpio 
-0579 20200590 branch p_mouse_check_fw_key_gpio 
+057a 2040058c call p_mouse_check_bk_key_gpio 
+057b 20200592 branch p_mouse_check_fw_key_gpio 
 
 p_mouse_check_lkey_gpio:
-057a 6808c6e2 fetcht 1 ,mem_lbutton_gpio 
-057b 2040059f call p_gpio_set_input_pu 
 057c 6808c6e2 fetcht 1 ,mem_lbutton_gpio 
-057d 2040681d call gpio_get_bit 
-057e 7920a200 setflag true ,0 ,rega 
+057d 204005a1 call p_gpio_set_input_pu 
+057e 6808c6e2 fetcht 1 ,mem_lbutton_gpio 
+057f 2040681d call gpio_get_bit 
+0580 7920a200 setflag true ,0 ,rega 
 
 p_mouse_check_rkey_gpio:
-057f 6808c6e3 fetcht 1 ,mem_rbutton_gpio 
-0580 2040059f call p_gpio_set_input_pu 
 0581 6808c6e3 fetcht 1 ,mem_rbutton_gpio 
-0582 2040681d call gpio_get_bit 
-0583 7920a201 setflag true ,1 ,rega 
+0582 204005a1 call p_gpio_set_input_pu 
+0583 6808c6e3 fetcht 1 ,mem_rbutton_gpio 
+0584 2040681d call gpio_get_bit 
+0585 7920a201 setflag true ,1 ,rega 
 
 p_mouse_check_mkey_gpio:
-0584 6808c6e4 fetcht 1 ,mem_mbutton_gpio 
-0585 2040059f call p_gpio_set_input_pu 
 0586 6808c6e4 fetcht 1 ,mem_mbutton_gpio 
-0587 2040681d call gpio_get_bit 
-0588 7920a202 setflag true ,2 ,rega 
-0589 20600000 rtn 
+0587 204005a1 call p_gpio_set_input_pu 
+0588 6808c6e4 fetcht 1 ,mem_mbutton_gpio 
+0589 2040681d call gpio_get_bit 
+058a 7920a202 setflag true ,2 ,rega 
+058b 20600000 rtn 
 
 p_mouse_check_bk_key_gpio:
-058a 6808c6e5 fetcht 1 ,mem_bk_button_gpio 
-058b 20400596 call p_gpio_set_input_pd 
 058c 6808c6e5 fetcht 1 ,mem_bk_button_gpio 
-058d 2040681d call gpio_get_bit 
-058e 7d20a203 nsetflag true ,3 ,rega 
-058f 2020059f branch p_gpio_set_input_pu 
+058d 20400598 call p_gpio_set_input_pd 
+058e 6808c6e5 fetcht 1 ,mem_bk_button_gpio 
+058f 2040681d call gpio_get_bit 
+0590 7d20a203 nsetflag true ,3 ,rega 
+0591 202005a1 branch p_gpio_set_input_pu 
 
 p_mouse_check_fw_key_gpio:
-0590 6808c6e6 fetcht 1 ,mem_fw_button_gpio 
-0591 20400596 call p_gpio_set_input_pd 
 0592 6808c6e6 fetcht 1 ,mem_fw_button_gpio 
-0593 2040681d call gpio_get_bit 
-0594 7d20a204 nsetflag true ,4 ,rega 
-0595 2020059f branch p_gpio_set_input_pu 
+0593 20400598 call p_gpio_set_input_pd 
+0594 6808c6e6 fetcht 1 ,mem_fw_button_gpio 
+0595 2040681d call gpio_get_bit 
+0596 7d20a204 nsetflag true ,4 ,rega 
+0597 202005a1 branch p_gpio_set_input_pu 
 
 p_gpio_set_input_pd:
-0596 793f8407 set0 gpio_active_bit ,temp 
-0597 d8a08078 arg core_gpio_pu0 ,contw 
-0598 20406830 call gpio_set_bit 
-0599 79200407 set1 gpio_active_bit ,temp 
+0598 793f8407 set0 gpio_active_bit ,temp 
+0599 d8a08078 arg core_gpio_pu0 ,contw 
+059a 20406830 call gpio_set_bit 
+059b 79200407 set1 gpio_active_bit ,temp 
 
 p_gpio_set_input_pd4:
-059a d8a0807c arg core_gpio_pd0 ,contw 
-059b 20406830 call gpio_set_bit 
-059c 793f8407 set0 gpio_active_bit ,temp 
-059d d8a08070 arg core_gpio_oe0 ,contw 
-059e 20206830 branch gpio_set_bit 
+059c d8a0807c arg core_gpio_pd0 ,contw 
+059d 20406830 call gpio_set_bit 
+059e 793f8407 set0 gpio_active_bit ,temp 
+059f d8a08070 arg core_gpio_oe0 ,contw 
+05a0 20206830 branch gpio_set_bit 
 
 p_gpio_set_input_pu:
-059f 79200407 set1 gpio_active_bit ,temp 
+05a1 79200407 set1 gpio_active_bit ,temp 
 
 p_gpio_set_input_pu1:
-05a0 d8a08078 arg core_gpio_pu0 ,contw 
-05a1 20406830 call gpio_set_bit 
-05a2 793f8407 set0 gpio_active_bit ,temp 
-05a3 2020059a branch p_gpio_set_input_pd4 
+05a2 d8a08078 arg core_gpio_pu0 ,contw 
+05a3 20406830 call gpio_set_bit 
+05a4 793f8407 set0 gpio_active_bit ,temp 
+05a5 2020059c branch p_gpio_set_input_pd4 
 
 p_mouse_bb_event_discovery_btn:
-05a4 204004c6 call p_mouse_null_enter_hibernate_disable 
-05a5 280ffe26 isolate1 mark_24g ,mark 
-05a6 204081cf call p_g24_check_51cmd_stop_24g ,true 
-05a7 2020426d branch mouse_bb_event_discovery_btn + 1 
+05a6 204004c6 call p_mouse_null_enter_hibernate_disable 
+05a7 280ffe26 isolate1 mark_24g ,mark 
+05a8 204081cf call p_g24_check_51cmd_stop_24g ,true 
+05a9 2020426d branch mouse_bb_event_discovery_btn + 1 
 
 p_le_addr_random_config:
-05a8 7011c581 jam zcode_81 ,mem_zcode_temp_param0 
-05a9 20200778 branch p_zcode_entrance 
+05aa 7011c581 jam zcode_81 ,mem_zcode_temp_param0 
+05ab 2020077a branch p_zcode_entrance 
 
 p_mouse_start_discovery:
-05aa 7011c550 jam zcode_50 ,mem_zcode_temp_param0 
-05ab 20200778 branch p_zcode_entrance 
+05ac 7011c550 jam zcode_50 ,mem_zcode_temp_param0 
+05ad 2020077a branch p_zcode_entrance 
 
 p_mouse_load_random_addr_increase_count:
-05ac 2040035c call p_flash_release_deep_power_down 
-05ad d8400002 arg 2 ,temp 
-05ae da2047c4 arg mem_random_addr_increase_count ,rega 
-05af da40005f arg mouse_random_addr_count_eeprom_offset ,regb 
-05b0 6801c700 fetch 3 ,mem_flash_base 
-05b1 9a40fe00 iadd regb ,pdata 
-05b2 20206562 branch spid_read_flash 
+05ae 2040035c call p_flash_release_deep_power_down 
+05af d8400002 arg 2 ,temp 
+05b0 da2047c4 arg mem_random_addr_increase_count ,rega 
+05b1 da40005f arg mouse_random_addr_count_eeprom_offset ,regb 
+05b2 6801c700 fetch 3 ,mem_flash_base 
+05b3 9a40fe00 iadd regb ,pdata 
+05b4 20206562 branch spid_read_flash 
 
 p_mouse_load_fast_conn_flag:
-05b3 2040035c call p_flash_release_deep_power_down 
-05b4 d8400001 arg 1 ,temp 
-05b5 da204b69 arg mem_mouse_fast_conn_flag ,rega 
-05b6 da400064 arg mouse_fast_conn_flag_offset ,regb 
-05b7 6801c700 fetch 3 ,mem_flash_base 
-05b8 9a40fe00 iadd regb ,pdata 
-05b9 20206562 branch spid_read_flash 
+05b5 2040035c call p_flash_release_deep_power_down 
+05b6 d8400001 arg 1 ,temp 
+05b7 da204b69 arg mem_mouse_fast_conn_flag ,rega 
+05b8 da400064 arg mouse_fast_conn_flag_offset ,regb 
+05b9 6801c700 fetch 3 ,mem_flash_base 
+05ba 9a40fe00 iadd regb ,pdata 
+05bb 20206562 branch spid_read_flash 
 
 p_le_adv_data_update:
-05ba d8a0437b arg mem_le_adv_data + 11 ,contw 
-05bb df200013 arg 19 ,loopcnt 
-05bc 20407f01 call memcpy 
-05bd 202057b8 branch le_modified_name_adv 
+05bc d8a0437b arg mem_le_adv_data + 11 ,contw 
+05bd df200013 arg 19 ,loopcnt 
+05be 20407f01 call memcpy 
+05bf 202057b8 branch le_modified_name_adv 
 
 p_mouse_stop_discovery:
-05be 58000000 setarg 0 
-05bf 600146ac store 2 ,mem_mouse_discovery_timer 
-05c0 204002eb call p_mouse_sensor_poweron 
-05c1 6800c092 fetch 1 ,mem_device_option 
-05c2 2feffe01 isolate1 mode_4_mouse ,pdata 
-05c3 2040c2d4 call mouse_stop_le_adv ,true 
-05c4 6800c092 fetch 1 ,mem_device_option 
-05c5 2feffe00 isolate1 mode_3_mouse ,pdata 
-05c6 2040c2d7 call mouse_stop_bt3_discovery ,true 
-05c7 202004f9 branch p_mouse_discovey_led_blink_off 
+05c0 58000000 setarg 0 
+05c1 600146ac store 2 ,mem_mouse_discovery_timer 
+05c2 204002eb call p_mouse_sensor_poweron 
+05c3 6800c092 fetch 1 ,mem_device_option 
+05c4 2feffe01 isolate1 mode_4_mouse ,pdata 
+05c5 2040c2d4 call mouse_stop_le_adv ,true 
+05c6 6800c092 fetch 1 ,mem_device_option 
+05c7 2feffe00 isolate1 mode_3_mouse ,pdata 
+05c8 2040c2d7 call mouse_stop_bt3_discovery ,true 
+05c9 202004f9 branch p_mouse_discovey_led_blink_off 
 
 p_le_prepare_tx:
-05c8 68008456 fetch 1 ,mem_le_arq 
-05c9 c28285e8 bbit1 wak ,p_le_prepare_tx_wak 
-05ca 20400717 call power_ctrl_pac_succ_incrs 
-05cb 6800c78e fetch 1 ,mem_empty_count 
-05cc 243a05d2 nbranch p_le_send_empyt ,blank 
-05cd 6800843f fetch 1 ,mem_le_state 
-05ce c30205d6 bbit0 lestate_encryption ,p_le_tx_4 
-05cf 680082da fetch 1 ,mem_le_rxbuf + 1 
-05d0 203a05d6 branch p_le_tx_4 ,blank 
-05d1 20205664 branch le_send_empty 
+05ca 68008456 fetch 1 ,mem_le_arq 
+05cb c28285ea bbit1 wak ,p_le_prepare_tx_wak 
+05cc 20400719 call power_ctrl_pac_succ_incrs 
+05cd 6800c78e fetch 1 ,mem_empty_count 
+05ce 243a05d4 nbranch p_le_send_empyt ,blank 
+05cf 6800843f fetch 1 ,mem_le_state 
+05d0 c30205d8 bbit0 lestate_encryption ,p_le_tx_4 
+05d1 680082da fetch 1 ,mem_le_rxbuf + 1 
+05d2 203a05d8 branch p_le_tx_4 ,blank 
+05d3 20205664 branch le_send_empty 
 
 p_le_send_empyt:
-05d2 6800c78e fetch 1 ,mem_empty_count 
-05d3 1fe0ffff increase -1 ,pdata 
-05d4 6000c78e store 1 ,mem_empty_count 
-05d5 20205664 branch le_send_empty 
+05d4 6800c78e fetch 1 ,mem_empty_count 
+05d5 1fe0ffff increase -1 ,pdata 
+05d6 6000c78e store 1 ,mem_empty_count 
+05d7 20205664 branch le_send_empty 
 
 p_le_tx_4:
-05d6 6800c4c4 fetch 1 ,mem_le_pairing_state 
-05d7 c08285d9 bne flag_le_pairing_after_auth ,p_in_le_tx_4 
-05d8 70478e03 jam 3 ,mem_empty_count 
+05d8 6800c4c4 fetch 1 ,mem_le_pairing_state 
+05d9 c08285db bne flag_le_pairing_after_auth ,p_in_le_tx_4 
+05da 70478e03 jam 3 ,mem_empty_count 
 
 p_in_le_tx_4:
-05d9 20405892 call le_fifo_check_nearly_full 
-05da 205a038b call p_mouse_data_pull ,blank 
-05db 20205622 branch le_prepare_tx + 4 
+05db 20405892 call le_fifo_check_nearly_full 
+05dc 205a038b call p_mouse_data_pull ,blank 
+05dd 20205622 branch le_prepare_tx + 4 
 
 p_le_check_tx_retransmit_setmd:
-05dc 6800c6c5 fetch 1 ,mem_le_connect_status_flag 
-05dd 1fe17e03 and pdata ,0x03 ,pdata 
-05de c1818000 rtnne 0x03 
-05df 6800c7c3 fetch 1 ,mem_mouse_data_queue_num 
-05e0 207a0000 rtn blank 
-05e1 6800c3dd fetch 1 ,mem_le_txlen 
+05de 6800c6c5 fetch 1 ,mem_le_connect_status_flag 
+05df 1fe17e03 and pdata ,0x03 ,pdata 
+05e0 c1818000 rtnne 0x03 
+05e1 6800c7c3 fetch 1 ,mem_mouse_data_queue_num 
 05e2 207a0000 rtn blank 
-05e3 6800c3dc fetch 1 ,mem_le_txheader 
-05e4 79207e04 set1 md ,pdata 
-05e5 6000c3dc store 1 ,mem_le_txheader 
-05e6 20405650 call le_set_md 
-05e7 20600000 rtn 
+05e3 6800c3dd fetch 1 ,mem_le_txlen 
+05e4 207a0000 rtn blank 
+05e5 6800c3dc fetch 1 ,mem_le_txheader 
+05e6 79207e04 set1 md ,pdata 
+05e7 6000c3dc store 1 ,mem_le_txheader 
+05e8 20405650 call le_set_md 
+05e9 20600000 rtn 
 
 p_le_prepare_tx_wak:
-05e8 204005dc call p_le_check_tx_retransmit_setmd 
+05ea 204005de call p_le_check_tx_retransmit_setmd 
 
 p_le_power_ctrl_pac_succ_decrs:
 
 power_ctrl_pac_succ_decrs:
-05e9 6800cd3f fetch 1 ,mem_power_ctrl_pac_succ_cnt 
-05ea 1fe67c02 sub pdata ,2 ,null 
-05eb 2441071b ncall power_ctrl_pac_succ_cnt_reinit ,positive 
-05ec 6800cd3f fetch 1 ,mem_power_ctrl_pac_succ_cnt 
-05ed c1000000 rtneq 0 
-05ee 1fe0ffff increase -1 ,pdata 
-05ef 6000cd3f store 1 ,mem_power_ctrl_pac_succ_cnt 
-05f0 20600000 rtn 
+05eb 6800cd3f fetch 1 ,mem_power_ctrl_pac_succ_cnt 
+05ec 1fe67c02 sub pdata ,2 ,null 
+05ed 2441071d ncall power_ctrl_pac_succ_cnt_reinit ,positive 
+05ee 6800cd3f fetch 1 ,mem_power_ctrl_pac_succ_cnt 
+05ef c1000000 rtneq 0 
+05f0 1fe0ffff increase -1 ,pdata 
+05f1 6000cd3f store 1 ,mem_power_ctrl_pac_succ_cnt 
+05f2 20600000 rtn 
 
 p_mouse_le_reconn_write_enable_timer_reinit:
-05f1 6800c7a1 fetch 1 ,mem_mouse_le_reconnect_flag 
-05f2 207a0000 rtn blank 
-05f3 6800c6c5 fetch 1 ,mem_le_connect_status_flag 
-05f4 1fe17e03 and pdata ,0x03 ,pdata 
-05f5 c1018000 rtneq 0x03 
-05f6 7046c601 jam 1 ,mem_le_start_encrypt_timer 
-05f7 20600000 rtn 
+05f3 6800c7a1 fetch 1 ,mem_mouse_le_reconnect_flag 
+05f4 207a0000 rtn blank 
+05f5 6800c6c5 fetch 1 ,mem_le_connect_status_flag 
+05f6 1fe17e03 and pdata ,0x03 ,pdata 
+05f7 c1018000 rtneq 0x03 
+05f8 7046c601 jam 1 ,mem_le_start_encrypt_timer 
+05f9 20600000 rtn 
 
 p_le_parse:
-05f8 c6078000 rtnmark1 mark_old_packet 
-05f9 20405890 call le_fifo_check_full 
-05fa 247a0000 nrtn blank 
-05fb 680082d9 fetch 1 ,mem_le_rxbuf 
-05fc 1fe17e03 and pdata ,0x3 ,pdata 
-05fd 6000c50c store 1 ,mem_le_packet_llid 
-05fe e8c08000 ifetch 1 ,contr 
-05ff 1fe17e1f and pdata ,0x1f ,pdata 
-0600 6000c50b store 1 ,mem_le_packet_size 
-0601 207a0000 rtn blank 
-0602 18c27e00 copy contr ,pdata 
-0603 6001450d store 2 ,mem_le_payload_ptr 
-0604 6800c50c fetch 1 ,mem_le_packet_llid 
-0605 c0018607 beq llid_le_ll ,p_le_parse_ll 
-0606 2020568d branch le_parse_l2cap 
+05fa c6078000 rtnmark1 mark_old_packet 
+05fb 20405890 call le_fifo_check_full 
+05fc 247a0000 nrtn blank 
+05fd 680082d9 fetch 1 ,mem_le_rxbuf 
+05fe 1fe17e03 and pdata ,0x3 ,pdata 
+05ff 6000c50c store 1 ,mem_le_packet_llid 
+0600 e8c08000 ifetch 1 ,contr 
+0601 1fe17e1f and pdata ,0x1f ,pdata 
+0602 6000c50b store 1 ,mem_le_packet_size 
+0603 207a0000 rtn blank 
+0604 18c27e00 copy contr ,pdata 
+0605 6001450d store 2 ,mem_le_payload_ptr 
+0606 6800c50c fetch 1 ,mem_le_packet_llid 
+0607 c0018609 beq llid_le_ll ,p_le_parse_ll 
+0608 2020568d branch le_parse_l2cap 
 
 p_le_parse_ll:
-0607 680082db fetch 1 ,mem_le_rxbuf + 2 
-0608 c000860a beq ll_channel_map_req ,p_le_parse_channel_map_req 
-0609 20205c65 branch le_parse_ll + 1 
+0609 680082db fetch 1 ,mem_le_rxbuf + 2 
+060a c000860c beq ll_channel_map_req ,p_le_parse_channel_map_req 
+060b 20205c65 branch le_parse_ll + 1 
 
 p_le_parse_channel_map_req:
-060a e8c28000 ifetch 5 ,contr 
-060b 6002c3ce store 5 ,mem_le_new_map 
-060c e8c10000 ifetch 2 ,contr 
-060d 6001045f store 2 ,mem_le_instant 
-060e 20205c8a branch le_parse_channel_map_req + 7 
+060c e8c28000 ifetch 5 ,contr 
+060d 6002c3ce store 5 ,mem_le_new_map 
+060e e8c10000 ifetch 2 ,contr 
+060f 6001045f store 2 ,mem_le_instant 
+0610 20205c8a branch le_parse_channel_map_req + 7 
 
 p_le_parse_l2cap:
-060f e8c10000 ifetch 2 ,contr 
-0610 c0020613 beq le_l2cap_cid_att ,p_le_parse_att 
-0611 c0030640 beq le_l2cap_cid_smp ,p_le_parse_smp 
-0612 20205698 branch le_parse_l2cap + 11 
+0611 e8c10000 ifetch 2 ,contr 
+0612 c0020615 beq le_l2cap_cid_att ,p_le_parse_att 
+0613 c0030642 beq le_l2cap_cid_smp ,p_le_parse_smp 
+0614 20205698 branch le_parse_l2cap + 11 
 
 p_le_parse_att:
-0613 20407ea5 call store_contr 
-0614 204005f1 call p_mouse_le_reconn_write_enable_timer_reinit 
-0615 20407e9f call get_contr 
-0616 e8c18000 ifetch 3 ,contr 
-0617 60018477 store 3 ,mem_le_att_opcode 
-0618 c0080622 beq attop_read_by_group_type_request ,p_le_parse_att_read_by_group_type_request 
-0619 1fec8400 rshift8 pdata ,temp 
-061a 18467c24 sub temp ,0x24 ,null 
-061b 20210630 branch p_le_parse_att1 ,positive 
-061c d84047c8 arg mem_mouse_le_uuid_sup ,temp 
-061d 600944bc storet 2 ,mem_ui_le_uuid_table 
-061e 204058ad call le_parse_att + 2 
-061f 58008e7a setarg 0x8e7a 
-0620 600144bc store 2 ,mem_ui_le_uuid_table 
-0621 20600000 rtn 
+0615 20407ea5 call store_contr 
+0616 204005f3 call p_mouse_le_reconn_write_enable_timer_reinit 
+0617 20407e9f call get_contr 
+0618 e8c18000 ifetch 3 ,contr 
+0619 60018477 store 3 ,mem_le_att_opcode 
+061a c0080624 beq attop_read_by_group_type_request ,p_le_parse_att_read_by_group_type_request 
+061b 1fec8400 rshift8 pdata ,temp 
+061c 18467c24 sub temp ,0x24 ,null 
+061d 20210632 branch p_le_parse_att1 ,positive 
+061e d84047c8 arg mem_mouse_le_uuid_sup ,temp 
+061f 600944bc storet 2 ,mem_ui_le_uuid_table 
+0620 204058ad call le_parse_att + 2 
+0621 58008e7a setarg 0x8e7a 
+0622 600144bc store 2 ,mem_ui_le_uuid_table 
+0623 20600000 rtn 
 
 p_le_parse_att_read_by_group_type_request:
-0622 204059fa call le_parse_att_read_by_group_type_request 
-0623 20405879 call le_fifo_get_last_tx_ptr 
-0624 18c08c07 increase 7 ,contr 
-0625 e8c08000 ifetch 1 ,contr 
-0626 c1888000 rtnne attop_read_by_group_type_response 
-0627 18c08c05 increase 5 ,contr 
-0628 e8c10000 ifetch 2 ,contr 
-0629 d8401812 arg uuid_service_hids ,temp 
-062a 98467c00 isub temp ,null 
-062b 24628000 nrtn zero 
-062c 18c08dfc increase -4 ,contr 
-062d 5800002b setarg 0x2b 
-062e e0c10000 istore 2 ,contr 
-062f 20600000 rtn 
+0624 204059fa call le_parse_att_read_by_group_type_request 
+0625 20405879 call le_fifo_get_last_tx_ptr 
+0626 18c08c07 increase 7 ,contr 
+0627 e8c08000 ifetch 1 ,contr 
+0628 c1888000 rtnne attop_read_by_group_type_response 
+0629 18c08c05 increase 5 ,contr 
+062a e8c10000 ifetch 2 ,contr 
+062b d8401812 arg uuid_service_hids ,temp 
+062c 98467c00 isub temp ,null 
+062d 24628000 nrtn zero 
+062e 18c08dfc increase -4 ,contr 
+062f 5800002b setarg 0x2b 
+0630 e0c10000 istore 2 ,contr 
+0631 20600000 rtn 
 
 p_le_parse_att1:
-0630 c0050632 beq attop_read_request ,p_le_parse_att_read_request 
-0631 202058ad branch le_parse_att + 2 
+0632 c0050634 beq attop_read_request ,p_le_parse_att_read_request 
+0633 202058ad branch le_parse_att + 2 
 
 p_le_parse_att_read_request:
-0632 68090478 fetcht 2 ,mem_le_att_handle 
-0633 6800c4e9 fetch 1 ,mem_le_configuration 
-0634 c2818639 bbit1 bit_ble_read_auth ,p_le_send_att_read_response_check_auth 
+0634 68090478 fetcht 2 ,mem_le_att_handle 
+0635 6800c4e9 fetch 1 ,mem_le_configuration 
+0636 c281863b bbit1 bit_ble_read_auth ,p_le_send_att_read_response_check_auth 
 
 p_le_send_att_read_response:
-0635 68010478 fetch 2 ,mem_le_att_handle 
-0636 c009da76 beq 0x13 ,le_send_att_error_response_notfound 
-0637 68090478 fetcht 2 ,mem_le_att_handle 
-0638 202059bf branch le_send_att_read_response 
+0637 68010478 fetch 2 ,mem_le_att_handle 
+0638 c009da76 beq 0x13 ,le_send_att_error_response_notfound 
+0639 68090478 fetcht 2 ,mem_le_att_handle 
+063a 202059bf branch le_send_att_read_response 
 
 p_le_send_att_read_response_check_auth:
-0639 680144fa fetch 2 ,mem_le_pairing_handle 
-063a 98467c00 isub temp ,null 
-063b 24228635 nbranch p_le_send_att_read_response ,zero 
-063c 20405a42 call le_check_encrypt_state 
-063d 24340635 nbranch p_le_send_att_read_response ,user 
-063e 70047a05 jam att_err_insufficient_authentication ,mem_le_err_code 
-063f 20205a77 branch le_send_att_error_response 
+063b 680144fa fetch 2 ,mem_le_pairing_handle 
+063c 98467c00 isub temp ,null 
+063d 24228637 nbranch p_le_send_att_read_response ,zero 
+063e 20405a42 call le_check_encrypt_state 
+063f 24340637 nbranch p_le_send_att_read_response ,user 
+0640 70047a05 jam att_err_insufficient_authentication ,mem_le_err_code 
+0641 20205a77 branch le_send_att_error_response 
 
 p_le_parse_smp:
-0640 e8c08000 ifetch 1 ,contr 
-0641 c0028643 beq smp_pairing_failed ,p_le_parse_smp_pairing_failed 
-0642 20205af5 branch le_parse_smp + 1 
+0642 e8c08000 ifetch 1 ,contr 
+0643 c0028645 beq smp_pairing_failed ,p_le_parse_smp_pairing_failed 
+0644 20205af5 branch le_parse_smp + 1 
 
 p_le_parse_smp_pairing_failed:
-0643 7011c582 jam zcode_82 ,mem_zcode_temp_param0 
-0644 20200778 branch p_zcode_entrance 
+0645 7011c582 jam zcode_82 ,mem_zcode_temp_param0 
+0646 2020077a branch p_zcode_entrance 
 
 p_le_adv_not_match:
-0645 68008016 fetch 1 ,mem_le_ch_mapped 
-0646 c093d6f2 bne 39 ,le_adv_loop 
-0647 2040064b call p_le_adv_random_delay 
-0648 d8e00000 arg le_adv_interval_timer ,queue 
-0649 68014482 fetch 2 ,mem_le_adv_interval 
-064a 20207f08 branch timer_init 
+0647 68008016 fetch 1 ,mem_le_ch_mapped 
+0648 c093d6f2 bne 39 ,le_adv_loop 
+0649 2040064d call p_le_adv_random_delay 
+064a d8e00000 arg le_adv_interval_timer ,queue 
+064b 68014482 fetch 2 ,mem_le_adv_interval 
+064c 20207f08 branch timer_init 
 
 p_le_adv_random_delay:
-064b 180a7e00 random pdata 
-064c d84001ff arg 0x1ff ,temp 
-064d 98417e00 iand temp ,pdata 
-064e 1fe0fefa add pdata ,250 ,pdata 
-064f 20203cbe branch delay 
+064d 180a7e00 random pdata 
+064e d84001ff arg 0x1ff ,temp 
+064f 98417e00 iand temp ,pdata 
+0650 1fe0fefa add pdata ,250 ,pdata 
+0651 20203cbe branch delay 
 
 p_le_lpm_setmult:
-0650 7855fc00 disable wake 
-0651 20370653 branch p_le_lpm_set_mult_attempt ,attempt 
-0652 2436d806 nbranch le_lpm_lost ,match 
+0652 7855fc00 disable wake 
+0653 20370655 branch p_le_lpm_set_mult_attempt ,attempt 
+0654 2436d806 nbranch le_lpm_lost ,match 
 
 p_le_lpm_set_mult_attempt:
-0653 20402bcb call lpm_match 
-0654 680140c1 fetch 2 ,mem_rx_window_sniff 
-0655 6001044d store 2 ,mem_le_receive_window 
-0656 6800c6c5 fetch 1 ,mem_le_connect_status_flag 
-0657 2fe00603 compare 3 ,pdata ,3 
-0658 2420abde nbranch lpm_mult_short ,true 
-0659 202057fb branch le_lpm_set_mult_attempt + 3 
+0655 20402bcb call lpm_match 
+0656 680140c1 fetch 2 ,mem_rx_window_sniff 
+0657 6001044d store 2 ,mem_le_receive_window 
+0658 6800c6c5 fetch 1 ,mem_le_connect_status_flag 
+0659 2fe00603 compare 3 ,pdata ,3 
+065a 2420abde nbranch lpm_mult_short ,true 
+065b 202057fb branch le_lpm_set_mult_attempt + 3 
 
 p_le_mouse_bb_event_connect_complete:
-065a 7011c542 jam zcode_42 ,mem_zcode_temp_param0 
-065b 20200778 branch p_zcode_entrance 
+065c 7011c542 jam zcode_42 ,mem_zcode_temp_param0 
+065d 2020077a branch p_zcode_entrance 
 
 p_twspi_reset:
-065c 68108077 hfetch 1 ,core_gpio_out3 
-065d 1fe17efd and_into 0xfd ,pdata 
-065e 60108077 hstore 1 ,core_gpio_out3 
-065f 68188073 hfetcht 1 ,core_gpio_oe3 
-0660 18418402 or_into 0x2 ,temp 
-0661 60188073 hstoret 1 ,core_gpio_oe3 
-0662 204063ee call twspi_disable 
-0663 184104fd and_into 0xfd ,temp 
-0664 2000000d nop 13 
-0665 20400669 call p_twspi_enable 
-0666 60188073 hstoret 1 ,core_gpio_oe3 
-0667 20600000 rtn 
+065e 68108077 hfetch 1 ,core_gpio_out3 
+065f 1fe17efd and_into 0xfd ,pdata 
+0660 60108077 hstore 1 ,core_gpio_out3 
+0661 68188073 hfetcht 1 ,core_gpio_oe3 
+0662 18418402 or_into 0x2 ,temp 
+0663 60188073 hstoret 1 ,core_gpio_oe3 
+0664 204063ee call twspi_disable 
+0665 184104fd and_into 0xfd ,temp 
+0666 2000000d nop 13 
+0667 2040066b call p_twspi_enable 
+0668 60188073 hstoret 1 ,core_gpio_oe3 
+0669 20600000 rtn 
 
 p_spid_init:
-0668 204064dd call spid_init_common 
+066a 204064dd call spid_init_common 
 
 p_twspi_enable:
-0669 68108081 hfetch 1 ,core_gpio_sel1 
-066a 79207e00 set1 0 ,pdata 
-066b 793ffe01 set0 1 ,pdata 
-066c 793ffe03 set0 3 ,pdata 
-066d 60108081 hstore 1 ,core_gpio_sel1 
-066e 20600000 rtn 
+066b 68108081 hfetch 1 ,core_gpio_sel1 
+066c 79207e00 set1 0 ,pdata 
+066d 793ffe01 set0 1 ,pdata 
+066e 793ffe03 set0 3 ,pdata 
+066f 60108081 hstore 1 ,core_gpio_sel1 
+0670 20600000 rtn 
 
 p_page_wait_fhs_reply_ok:
-066f 7011c500 jam zcode_00 ,mem_zcode_temp_param0 
-0670 20200778 branch p_zcode_entrance 
+0671 7011c500 jam zcode_00 ,mem_zcode_temp_param0 
+0672 2020077a branch p_zcode_entrance 
 
 p_role_switch_master:
-0671 204021c9 call role_switch_check 
-0672 24740000 nrtn user 
+0673 204021c9 call role_switch_check 
+0674 24740000 nrtn user 
 
 p_wait_role_switch_anchor:
-0673 78547c00 disable user 
-0674 70001120 jam param_newconnto ,mem_newconnto_counter 
-0675 793f800b set0 mark_fhs_already_good ,mark 
-0676 793f802d set0 mark_role_switch_receive_fhs ,mark 
+0675 78547c00 disable user 
+0676 70001120 jam param_newconnto ,mem_newconnto_counter 
+0677 793f800b set0 mark_fhs_already_good ,mark 
+0678 793f802d set0 mark_role_switch_receive_fhs ,mark 
 
 p_roles_waitfhs_loop:
-0677 20402a4f call rf_setup_time_master_slot 
-0678 204022e6 call master_recv_packet 
-0679 c505867e bmark1 mark_fhs_already_good ,p_roles_replyto_fhs 
-067a 20402455 call new_conn_timeout 
-067b 243a0677 nbranch p_roles_waitfhs_loop ,blank 
-067c c5168686 bmark1 mark_role_switch_receive_fhs ,p_roles_replyto_fhs1 
-067d 202021ec branch role_switch_fail_master 
+0679 20402a4f call rf_setup_time_master_slot 
+067a 204022e6 call master_recv_packet 
+067b c5058680 bmark1 mark_fhs_already_good ,p_roles_replyto_fhs 
+067c 20402455 call new_conn_timeout 
+067d 243a0679 nbranch p_roles_waitfhs_loop ,blank 
+067e c5168688 bmark1 mark_role_switch_receive_fhs ,p_roles_replyto_fhs1 
+067f 202021ec branch role_switch_fail_master 
 
 p_roles_replyto_fhs:
-067e 20402a4d call rf_setup_time_slave_slot 
-067f d8200010 arg type_id ,type 
-0680 204022dc call master_send_packet 
-0681 7920002d set1 mark_role_switch_receive_fhs ,mark 
-0682 793f800b set0 mark_fhs_already_good ,mark 
-0683 18000801 force 1 ,am_addr 
-0684 70001102 jam 2 ,mem_newconnto_counter 
-0685 20200677 branch p_roles_waitfhs_loop 
+0680 20402a4d call rf_setup_time_slave_slot 
+0681 d8200010 arg type_id ,type 
+0682 204022dc call master_send_packet 
+0683 7920002d set1 mark_role_switch_receive_fhs ,mark 
+0684 793f800b set0 mark_fhs_already_good ,mark 
+0685 18000801 force 1 ,am_addr 
+0686 70001102 jam 2 ,mem_newconnto_counter 
+0687 20200679 branch p_roles_waitfhs_loop 
 
 p_roles_replyto_fhs1:
-0686 68020165 fetch 4 ,mem_clke_bt 
-0687 1fe0fe08 pincrease 8 
-0688 60020165 store 4 ,mem_clke_bt 
-0689 202021f8 branch roles_replyto_fhs + 4 
+0688 68020165 fetch 4 ,mem_clke_bt 
+0689 1fe0fe08 pincrease 8 
+068a 60020165 store 4 ,mem_clke_bt 
+068b 202021f8 branch roles_replyto_fhs + 4 
 
 p_process_dmh:
-068a c516264d bmark1 mark_first_packet ,end_of_packet 
-068b 2020258f branch process_dmh + 1 
+068c c516264d bmark1 mark_first_packet ,end_of_packet 
+068d 2020258f branch process_dmh + 1 
 
 p_quit_connection_cont:
-068c 204033af call app_disconn_reason_collect_bt 
-068d 204026e9 call sniff_exit 
-068e 700a9902 jam bt_evt_bb_disconnected ,mem_fifo_temp 
-068f 20407d86 call ui_ipc_send_event 
-0690 20405cf7 call init_lmp_work 
-0691 20404d6b call l2cap_init_work 
-0692 2020246e branch quit_connection_cont + 8 
+068e 204033af call app_disconn_reason_collect_bt 
+068f 204026e9 call sniff_exit 
+0690 700a9902 jam bt_evt_bb_disconnected ,mem_fifo_temp 
+0691 20407d86 call ui_ipc_send_event 
+0692 20405cf7 call init_lmp_work 
+0693 20404d6b call l2cap_init_work 
+0694 2020246e branch quit_connection_cont + 8 
 
 p_prepare_tx:
-0693 68008030 fetch 1 ,mem_state 
-0694 2feffe00 isolate1 state_inconn ,pdata 
-0695 20408697 call p_bt_power_ctrl ,true 
-0696 2020248a branch prepare_tx + 1 
+0695 68008030 fetch 1 ,mem_state 
+0696 2feffe00 isolate1 state_inconn ,pdata 
+0697 20408699 call p_bt_power_ctrl ,true 
+0698 2020248a branch prepare_tx + 1 
 
 p_bt_power_ctrl:
-0697 68008047 fetch 1 ,mem_arq 
-0698 2feffe03 isolate1 wack ,pdata 
-0699 204085e9 call power_ctrl_pac_succ_decrs ,true 
-069a 24408717 ncall power_ctrl_pac_succ_incrs ,true 
-069b 2020071d branch power_ctrl_start 
+0699 68008047 fetch 1 ,mem_arq 
+069a 2feffe03 isolate1 wack ,pdata 
+069b 204085eb call power_ctrl_pac_succ_decrs ,true 
+069c 24408719 ncall power_ctrl_pac_succ_incrs ,true 
+069d 2020071f branch power_ctrl_start 
 
 p_slave_conn_recv_packet:
-069c 204024f0 call slave_receive_master_slot 
-069d 242c28f9 nbranch shutdown_radio ,sync 
-069e 204029bb call save_rssi 
-069f 20400066 call p_rssi_signal 
-06a0 20202518 branch slave_conn_recv_packet + 4 
+069e 204024f0 call slave_receive_master_slot 
+069f 242c28f9 nbranch shutdown_radio ,sync 
+06a0 204029bb call save_rssi 
+06a1 20400066 call p_rssi_signal 
+06a2 20202518 branch slave_conn_recv_packet + 4 
 
 p_lpm_dispatch:
-06a1 c6130000 rtnmark1 mark_24g 
-06a2 20402afa call lpo_calibration 
-06a3 6801c16f fetch 3 ,mem_clks_per_lpo 
-06a4 207a0000 rtn blank 
-06a5 6800c091 fetch 1 ,mem_lpm_mode 
+06a3 c6130000 rtnmark1 mark_24g 
+06a4 20402afa call lpo_calibration 
+06a5 6801c16f fetch 3 ,mem_clks_per_lpo 
 06a6 207a0000 rtn blank 
-06a7 6800c65a fetch 1 ,mem_ssp_enable 
-06a8 203a06ab branch p_lpm_dispatch_next ,blank 
-06a9 6800c5b1 fetch 1 ,mem_sp_local_key_invalid 
-06aa 207a0000 rtn blank 
+06a7 6800c091 fetch 1 ,mem_lpm_mode 
+06a8 207a0000 rtn blank 
+06a9 6800c65a fetch 1 ,mem_ssp_enable 
+06aa 203a06ad branch p_lpm_dispatch_next ,blank 
+06ab 6800c5b1 fetch 1 ,mem_sp_local_key_invalid 
+06ac 207a0000 rtn blank 
 
 p_lpm_dispatch_next:
-06ab 6800c4c0 fetch 1 ,mem_le_sc_calc 
-06ac 247a0000 nrtn blank 
-06ad 20402c3a call lpm_check_wake_lock 
+06ad 6800c4c0 fetch 1 ,mem_le_sc_calc 
 06ae 247a0000 nrtn blank 
-06af 6800c040 fetch 1 ,mem_context 
-06b0 2fe00e03 compare 3 ,pdata ,0x7 
-06b1 2420ab9d nbranch lpm_dispatch_unconn ,true 
-06b2 68014042 fetch 2 ,mem_context + coffset_tsniff 
-06b3 d840ffff arg 0xffff ,temp 
-06b4 98467c00 isub temp ,null 
-06b5 20628000 rtn zero 
-06b6 20202b7d branch lpm_dispatch_next + 9 
+06af 20402c3a call lpm_check_wake_lock 
+06b0 247a0000 nrtn blank 
+06b1 6800c040 fetch 1 ,mem_context 
+06b2 2fe00e03 compare 3 ,pdata ,0x7 
+06b3 2420ab9d nbranch lpm_dispatch_unconn ,true 
+06b4 68014042 fetch 2 ,mem_context + coffset_tsniff 
+06b5 d840ffff arg 0xffff ,temp 
+06b6 98467c00 isub temp ,null 
+06b7 20628000 rtn zero 
+06b8 20202b7d branch lpm_dispatch_next + 9 
 
 p_lpm_set_mult:
-06b7 7855fc00 disable wake 
-06b8 68008030 fetch 1 ,mem_state 
-06b9 c4008000 rtnbit0 state_insniff 
-06ba 2436abd0 nbranch lpm_not_match ,match 
-06bb 20402bcb call lpm_match 
-06bc 680140c1 fetch 2 ,mem_rx_window_sniff 
-06bd 6001003e store 2 ,mem_rx_window 
-06be 68008047 fetch 1 ,mem_arq 
-06bf c281abde bbit1 wack ,lpm_mult_short 
-06c0 c586abde bmark0 mark_lpm_mult_enable ,lpm_mult_short 
-06c1 20405274 call l2cap_malloc_is_fifo_empty 
-06c2 243a2bde nbranch lpm_mult_short ,blank 
-06c3 205a06c5 call p_lpm_set_attemp_timeout ,blank 
-06c4 20202bbe branch lpm_set_mult + 13 
+06b9 7855fc00 disable wake 
+06ba 68008030 fetch 1 ,mem_state 
+06bb c4008000 rtnbit0 state_insniff 
+06bc 2436abd0 nbranch lpm_not_match ,match 
+06bd 20402bcb call lpm_match 
+06be 680140c1 fetch 2 ,mem_rx_window_sniff 
+06bf 6001003e store 2 ,mem_rx_window 
+06c0 68008047 fetch 1 ,mem_arq 
+06c1 c281abde bbit1 wack ,lpm_mult_short 
+06c2 c586abde bmark0 mark_lpm_mult_enable ,lpm_mult_short 
+06c3 20405274 call l2cap_malloc_is_fifo_empty 
+06c4 243a2bde nbranch lpm_mult_short ,blank 
+06c5 205a06c7 call p_lpm_set_attemp_timeout ,blank 
+06c6 20202bbe branch lpm_set_mult + 13 
 
 p_lpm_set_attemp_timeout:
-06c5 70008a01 jam 1 ,mem_current_sniff_attempt 
-06c6 70008b00 jam 0 ,mem_current_sniff_timeout 
-06c7 20600000 rtn 
+06c7 70008a01 jam 1 ,mem_current_sniff_attempt 
+06c8 70008b00 jam 0 ,mem_current_sniff_timeout 
+06c9 20600000 rtn 
 
 p_mouse_bb_disconnected:
-06c8 7011c510 jam zcode_10 ,mem_zcode_temp_param0 
-06c9 20200778 branch p_zcode_entrance 
+06ca 7011c510 jam zcode_10 ,mem_zcode_temp_param0 
+06cb 2020077a branch p_zcode_entrance 
 
 p_hid_rx_process:
-06ca 7011c511 jam zcode_11 ,mem_zcode_temp_param0 
-06cb 20200778 branch p_zcode_entrance 
+06cc 7011c511 jam zcode_11 ,mem_zcode_temp_param0 
+06cd 2020077a branch p_zcode_entrance 
 
 p_parse_lmp_accepted:
-06cc 68008552 fetch 1 ,mem_rxbuf + 1 
-06cd 600084c9 store 1 ,mem_lmi_accepted_opcode 
-06ce c00986d0 beq lmp_switch_req ,p_parse_lmp_accepted_switch 
-06cf 20205db4 branch parse_lmp_accepted + 3 
+06ce 68008552 fetch 1 ,mem_rxbuf + 1 
+06cf 600084c9 store 1 ,mem_lmi_accepted_opcode 
+06d0 c00986d2 beq lmp_switch_req ,p_parse_lmp_accepted_switch 
+06d1 20205db4 branch parse_lmp_accepted + 3 
 
 p_parse_lmp_accepted_switch:
-06d0 20405dcf call parse_lmp_accepted_switch 
-06d1 704b0101 jam 1 ,mem_bt_rcvd_switch_req_accept 
-06d2 6800cb03 fetch 1 ,mem_bt_send_lmp_setup_complete 
-06d3 207a0000 rtn blank 
-06d4 704b0302 jam 2 ,mem_bt_send_lmp_setup_complete 
-06d5 20600000 rtn 
+06d2 20405dcf call parse_lmp_accepted_switch 
+06d3 704b0101 jam 1 ,mem_bt_rcvd_switch_req_accept 
+06d4 6800cb03 fetch 1 ,mem_bt_send_lmp_setup_complete 
+06d5 207a0000 rtn blank 
+06d6 704b0302 jam 2 ,mem_bt_send_lmp_setup_complete 
+06d7 20600000 rtn 
 
 p_send_lmp:
-06d6 7011c520 jam zcode_20 ,mem_zcode_temp_param0 
-06d7 20200778 branch p_zcode_entrance 
+06d8 7011c520 jam zcode_20 ,mem_zcode_temp_param0 
+06d9 2020077a branch p_zcode_entrance 
 
 p_process_conn_sm:
-06d8 204062bc call lmo_fifo_check 
-06d9 247a0000 nrtn blank 
+06da 204062bc call lmo_fifo_check 
+06db 247a0000 nrtn blank 
 
 p_process_conn_sm_continue:
-06da 68008055 fetch 1 ,mem_conn_sm 
-06db 207a0000 rtn blank 
-06dc c00206fa beq conn_sm_send_conn_req ,p_host_create_conn_send_conn_req 
-06dd c00806df beq conn_sm_wait_switch_after_host_connection ,p_host_creat_conn_wait_switch 
-06de 20206320 branch process_conn_sm_continue + 2 
+06dc 68008055 fetch 1 ,mem_conn_sm 
+06dd 207a0000 rtn blank 
+06de c00206fc beq conn_sm_send_conn_req ,p_host_create_conn_send_conn_req 
+06df c00806e1 beq conn_sm_wait_switch_after_host_connection ,p_host_creat_conn_wait_switch 
+06e0 20206320 branch process_conn_sm_continue + 2 
 
 p_host_creat_conn_wait_switch:
-06df 6800c55b fetch 1 ,mem_switch_flag 
-06e0 c1000000 rtneq switch_flag_init 
-06e1 c00086e3 beq switch_flag_accept ,p_host_create_conn_switch_accept 
-06e2 2020635f branch host_creat_conn_wait_switch + 3 
+06e1 6800c55b fetch 1 ,mem_switch_flag 
+06e2 c1000000 rtneq switch_flag_init 
+06e3 c00086e5 beq switch_flag_accept ,p_host_create_conn_switch_accept 
+06e4 2020635f branch host_creat_conn_wait_switch + 3 
 
 p_host_create_conn_switch_accept:
-06e3 20748000 rtn master 
+06e5 20748000 rtn master 
 
 p_host_create_conn_auth_pair:
-06e4 6800816d fetch 1 ,mem_connection_options 
-06e5 c28006e7 bbit1 connection_auth ,p_host_create_conn_auth_pair_true 
-06e6 20206399 branch host_create_conn_auth_pair + 1 
+06e6 6800816d fetch 1 ,mem_connection_options 
+06e7 c28006e9 bbit1 connection_auth ,p_host_create_conn_auth_pair_true 
+06e8 20206399 branch host_create_conn_auth_pair + 1 
 
 p_host_create_conn_auth_pair_true:
-06e7 6800cb03 fetch 1 ,mem_bt_send_lmp_setup_complete 
-06e8 c000e39d beq 1 ,host_create_conn_auth_pair_true 
-06e9 6800c1bd fetch 1 ,mem_link_key_exists 
-06ea 203a63a9 branch host_create_conn_auth_pair_nokey ,blank 
-06eb 680084d1 fetch 1 ,mem_lmp_conn_state 
-06ec c4018000 rtnbit0 sent_setup_complete 
-06ed c4010000 rtnbit0 received_setup_complete 
-06ee 6800cb02 fetch 1 ,mem_bt_send_max_slot_req_accept_after_switch 
-06ef 207a0000 rtn blank 
-06f0 704b0200 jam 0 ,mem_bt_send_max_slot_req_accept_after_switch 
-06f1 680204e9 fetch 4 ,mem_aurand_send_delay_time 
-06f2 d8400014 arg 20 ,temp 
-06f3 98408400 iadd temp ,temp 
-06f4 1c427e00 copy clkn_bt ,pdata 
-06f5 98467c00 isub temp ,null 
-06f6 242106f8 nbranch p_bt_send_max_slot_req_accept_after_switch_wait ,positive 
-06f7 20206349 branch host_create_conn_auth 
+06e9 6800cb03 fetch 1 ,mem_bt_send_lmp_setup_complete 
+06ea c000e39d beq 1 ,host_create_conn_auth_pair_true 
+06eb 6800c1bd fetch 1 ,mem_link_key_exists 
+06ec 203a63a9 branch host_create_conn_auth_pair_nokey ,blank 
+06ed 680084d1 fetch 1 ,mem_lmp_conn_state 
+06ee c4018000 rtnbit0 sent_setup_complete 
+06ef c4010000 rtnbit0 received_setup_complete 
+06f0 6800cb02 fetch 1 ,mem_bt_send_max_slot_req_accept_after_switch 
+06f1 207a0000 rtn blank 
+06f2 704b0200 jam 0 ,mem_bt_send_max_slot_req_accept_after_switch 
+06f3 680204e9 fetch 4 ,mem_aurand_send_delay_time 
+06f4 d8400014 arg 20 ,temp 
+06f5 98408400 iadd temp ,temp 
+06f6 1c427e00 copy clkn_bt ,pdata 
+06f7 98467c00 isub temp ,null 
+06f8 242106fa nbranch p_bt_send_max_slot_req_accept_after_switch_wait ,positive 
+06f9 20206349 branch host_create_conn_auth 
 
 p_bt_send_max_slot_req_accept_after_switch_wait:
-06f8 704b0201 jam 1 ,mem_bt_send_max_slot_req_accept_after_switch 
-06f9 20600000 rtn 
+06fa 704b0201 jam 1 ,mem_bt_send_max_slot_req_accept_after_switch 
+06fb 20600000 rtn 
 
 p_host_create_conn_send_conn_req:
-06fa 70480b14 jam 20 ,mem_mouse_send_switch_req_timer 
-06fb 2020636f branch host_create_conn_send_conn_req 
+06fc 70480b14 jam 20 ,mem_mouse_send_switch_req_timer 
+06fd 2020636f branch host_create_conn_send_conn_req 
 
 p_check_51cmd_once_continue:
-06fc 204062bc call lmo_fifo_check 
-06fd 243a7ddb nbranch check_51cmd_restore ,blank 
-06fe 68008a99 fetch 1 ,mem_fifo_temp 
-06ff c584fdd6 bmark0 mark_context ,check_51cmd_check_idle 
-0700 c00f8704 beq bt_cmd_store_reconn_info_le ,p_flash_store_le_reconn_info 
-0701 c0100707 beq bt_cmd_store_reconn_info_bt ,p_flash_store_bd_reconn_info 
-0702 c0090711 beq bt_cmd_le_update_conn ,p_check_51cmd_ble_update_connect_param 
-0703 20207dca branch check_51cmd_once_continue + 2 
+06fe 204062bc call lmo_fifo_check 
+06ff 243a7ddb nbranch check_51cmd_restore ,blank 
+0700 68008a99 fetch 1 ,mem_fifo_temp 
+0701 c584fdd6 bmark0 mark_context ,check_51cmd_check_idle 
+0702 c00f8706 beq bt_cmd_store_reconn_info_le ,p_flash_store_le_reconn_info 
+0703 c0100709 beq bt_cmd_store_reconn_info_bt ,p_flash_store_bd_reconn_info 
+0704 c0090713 beq bt_cmd_le_update_conn ,p_check_51cmd_ble_update_connect_param 
+0705 20207dca branch check_51cmd_once_continue + 2 
 
 p_flash_store_le_reconn_info:
-0704 70018534 jam rec_4_mode ,mem_record_bt_mode 
-0705 6803044f fetch 6 ,mem_le_plap 
-0706 20200709 branch p_flash_store_reconn_info 
+0706 70018534 jam rec_4_mode ,mem_record_bt_mode 
+0707 6803044f fetch 6 ,mem_le_plap 
+0708 2020070b branch p_flash_store_reconn_info 
 
 p_flash_store_bd_reconn_info:
-0707 70018533 jam rec_3_mode ,mem_record_bt_mode 
-0708 68030040 fetch 6 ,mem_plap 
+0709 70018533 jam rec_3_mode ,mem_record_bt_mode 
+070a 68030040 fetch 6 ,mem_plap 
 
 p_flash_store_reconn_info:
-0709 60030186 store 6 ,mem_temp_lap 
+070b 60030186 store 6 ,mem_temp_lap 
 
 p_mouse_store_remote_bdaddr:
-070a 680246d3 fetch mouse_flag_len ,mem_mouse_flag 
-070b c4038000 rtnbit0 mouse_store_eeprom_flag 
-070c d8e00007 arg mouse_store_eeprom_flag ,queue 
-070d 204043d2 call mouse_disable_function_flag 
-070e 204042e8 call mouse_check_device_addr 
+070c 680246d3 fetch mouse_flag_len ,mem_mouse_flag 
+070d c4038000 rtnbit0 mouse_store_eeprom_flag 
+070e d8e00007 arg mouse_store_eeprom_flag ,queue 
+070f 204043d2 call mouse_disable_function_flag 
+0710 204042e8 call mouse_check_device_addr 
 
 p_mouse_unplug_clean_bdaddr:
-070f 204042fb call mouse_before_store_reconn_info 
-0710 2020031c branch p_mouse_store_flash_device_info 
+0711 204042fb call mouse_before_store_reconn_info 
+0712 2020031c branch p_mouse_store_flash_device_info 
 
 p_check_51cmd_ble_update_connect_param:
-0711 20405890 call le_fifo_check_full 
-0712 247a0000 nrtn blank 
-0713 20205abf branch le_l2cap_tx_update_req 
+0713 20405890 call le_fifo_check_full 
+0714 247a0000 nrtn blank 
+0715 20205abf branch le_l2cap_tx_update_req 
 
 power_ctrl_pac_succ_cnt_init:
-0714 704d4201 jam 1 ,mem_power_ctrl_level 
-0715 704d3f00 jam 0 ,mem_power_ctrl_pac_succ_cnt 
-0716 20600000 rtn 
+0716 704d4201 jam 1 ,mem_power_ctrl_level 
+0717 704d3f00 jam 0 ,mem_power_ctrl_pac_succ_cnt 
+0718 20600000 rtn 
 
 power_ctrl_pac_succ_incrs:
-0717 6800cd3f fetch 1 ,mem_power_ctrl_pac_succ_cnt 
-0718 1fe0fe01 increase 1 ,pdata 
-0719 6000cd3f store 1 ,mem_power_ctrl_pac_succ_cnt 
-071a 20600000 rtn 
+0719 6800cd3f fetch 1 ,mem_power_ctrl_pac_succ_cnt 
+071a 1fe0fe01 increase 1 ,pdata 
+071b 6000cd3f store 1 ,mem_power_ctrl_pac_succ_cnt 
+071c 20600000 rtn 
 
 power_ctrl_pac_succ_cnt_reinit:
-071b 704d3f03 jam 3 ,mem_power_ctrl_pac_succ_cnt 
-071c 20600000 rtn 
+071d 704d3f03 jam 3 ,mem_power_ctrl_pac_succ_cnt 
+071e 20600000 rtn 
 
 power_ctrl_start:
-071d 68014682 fetch 2 ,mem_ui_state_map 
-071e c3858000 rtnbit1 ui_state_ble_adv 
-071f c3838000 rtnbit1 ui_state_bt_reconnect 
-0720 c3830000 rtnbit1 ui_state_bt_discovery 
-0721 da204cc8 arg mem_rssi_signal_buf ,rega 
-0722 20400294 call p_rssi_average 
-0723 6008cd40 storet 1 ,mem_rssi_avg_received 
-0724 58000082 setarg rssi_dis_max_24g 
-0725 c5130727 bmark1 mark_24g ,power_ctrl_start_next 
-0726 58000080 setarg rssi_dis_max_ble 
+071f 68014682 fetch 2 ,mem_ui_state_map 
+0720 c3858000 rtnbit1 ui_state_ble_adv 
+0721 c3838000 rtnbit1 ui_state_bt_reconnect 
+0722 c3830000 rtnbit1 ui_state_bt_discovery 
+0723 da204cc8 arg mem_rssi_signal_buf ,rega 
+0724 20400294 call p_rssi_average 
+0725 6008cd40 storet 1 ,mem_rssi_avg_received 
+0726 58000082 setarg rssi_dis_max_24g 
+0727 c5130729 bmark1 mark_24g ,power_ctrl_start_next 
+0728 58000080 setarg rssi_dis_max_ble 
 
 power_ctrl_start_next:
-0727 98467c00 isub temp ,null 
-0728 2421073f nbranch power_ctrl_txpower_incrs_force ,positive 
-0729 6800cd3f fetch 1 ,mem_power_ctrl_pac_succ_cnt 
-072a 1fe67c02 sub pdata ,2 ,null 
-072b 2421072f nbranch power_ctrl_txpower_decrs_check ,positive 
-072c 6800cd3f fetch 1 ,mem_power_ctrl_pac_succ_cnt 
-072d c0000740 beq 0 ,power_ctrl_txpower_incrs 
-072e 20600000 rtn 
+0729 98467c00 isub temp ,null 
+072a 24210741 nbranch power_ctrl_txpower_incrs_force ,positive 
+072b 6800cd3f fetch 1 ,mem_power_ctrl_pac_succ_cnt 
+072c 1fe67c02 sub pdata ,2 ,null 
+072d 24210731 nbranch power_ctrl_txpower_decrs_check ,positive 
+072e 6800cd3f fetch 1 ,mem_power_ctrl_pac_succ_cnt 
+072f c0000742 beq 0 ,power_ctrl_txpower_incrs 
+0730 20600000 rtn 
 
 power_ctrl_txpower_decrs_check:
-072f 6800cd3f fetch 1 ,mem_power_ctrl_pac_succ_cnt 
-0730 c1900000 rtnne 32 
-0731 704d3f00 jam 0 ,mem_power_ctrl_pac_succ_cnt 
+0731 6800cd3f fetch 1 ,mem_power_ctrl_pac_succ_cnt 
+0732 c1900000 rtnne 32 
+0733 704d3f00 jam 0 ,mem_power_ctrl_pac_succ_cnt 
 
 power_ctrl_txpower_decrs:
-0732 6808cd40 fetcht 1 ,mem_rssi_avg_received 
-0733 58000077 setarg rssi_dis_min_24g 
-0734 c5130736 bmark1 mark_24g ,power_ctrl_txpower_decrs_next 
-0735 58000075 setarg rssi_dis_min_ble 
+0734 6808cd40 fetcht 1 ,mem_rssi_avg_received 
+0735 58000077 setarg rssi_dis_min_24g 
+0736 c5130738 bmark1 mark_24g ,power_ctrl_txpower_decrs_next 
+0737 58000075 setarg rssi_dis_min_ble 
 
 power_ctrl_txpower_decrs_next:
-0736 98467c00 isub temp ,null 
-0737 24610000 nrtn positive 
-0738 6800cd42 fetch 1 ,mem_power_ctrl_level 
-0739 c0000747 beq 0 ,power_ctrl_decrs_level0 
-073a 1fe0ffff increase -1 ,pdata 
-073b 6000cd42 store 1 ,mem_power_ctrl_level 
-073c c0000747 beq 0 ,power_ctrl_decrs_level0 
+0738 98467c00 isub temp ,null 
+0739 24610000 nrtn positive 
+073a 6800cd42 fetch 1 ,mem_power_ctrl_level 
+073b c0000749 beq 0 ,power_ctrl_decrs_level0 
+073c 1fe0ffff increase -1 ,pdata 
+073d 6000cd42 store 1 ,mem_power_ctrl_level 
+073e c0000749 beq 0 ,power_ctrl_decrs_level0 
 
 power_ctrl_decrs_level1:
 
 power_ctrl_incrs_level1:
-073d 7041de00 jam tx_power_0db ,mem_tx_power 
-073e 20600000 rtn 
+073f 7041de00 jam tx_power_0db ,mem_tx_power 
+0740 20600000 rtn 
 
 power_ctrl_txpower_incrs_force:
-073f 704d3f00 jam 0 ,mem_power_ctrl_pac_succ_cnt 
+0741 704d3f00 jam 0 ,mem_power_ctrl_pac_succ_cnt 
 
 power_ctrl_txpower_incrs:
-0740 6800cd42 fetch 1 ,mem_power_ctrl_level 
-0741 c0010745 beq 2 ,power_ctrl_incrs_level2 
-0742 1fe0fe01 increase 1 ,pdata 
-0743 6000cd42 store 1 ,mem_power_ctrl_level 
-0744 c000873d beq 1 ,power_ctrl_incrs_level1 
+0742 6800cd42 fetch 1 ,mem_power_ctrl_level 
+0743 c0010747 beq 2 ,power_ctrl_incrs_level2 
+0744 1fe0fe01 increase 1 ,pdata 
+0745 6000cd42 store 1 ,mem_power_ctrl_level 
+0746 c000873f beq 1 ,power_ctrl_incrs_level1 
 
 power_ctrl_incrs_level2:
-0745 7041de02 jam tx_power_5db ,mem_tx_power 
-0746 20600000 rtn 
+0747 7041de02 jam tx_power_5db ,mem_tx_power 
+0748 20600000 rtn 
 
 power_ctrl_decrs_level0:
-0747 7041de04 jam tx_power_f5db ,mem_tx_power 
-0748 20600000 rtn 
+0749 7041de04 jam tx_power_f5db ,mem_tx_power 
+074a 20600000 rtn 
 
 p_set_freq_tx:
-0749 60088017 storet 1 ,mem_last_freq 
-074a 1840a200 add temp ,0 ,rega 
-074b 20402981 call rf_write_freq 
-074c 58000500 setarg param_pll_setup 
-074d 20402a8f call sleep 
+074b 60088017 storet 1 ,mem_last_freq 
+074c 1840a200 add temp ,0 ,rega 
+074d 20402981 call rf_write_freq 
+074e 58000500 setarg param_pll_setup 
+074f 20402a8f call sleep 
 
 p_rf_tx_enable:
-074e 70890601 jam 0x1 ,rfen_adc 
-074f 7089003c jam 0x3c ,rfen_rx 
-0750 708901e0 jam 0xe0 ,rfen_tx 
-0751 2000000a nop 10 
-0752 70890201 jam 0x01 ,rfen_mdm 
-0753 7089023d jam 0x3d ,rfen_mdm 
-0754 2000000a nop 10 
-0755 708903b7 jam 0xb7 ,rfen_sn 
+0750 70890601 jam 0x1 ,rfen_adc 
+0751 7089003c jam 0x3c ,rfen_rx 
+0752 708901e0 jam 0xe0 ,rfen_tx 
+0753 2000000a nop 10 
+0754 70890201 jam 0x01 ,rfen_mdm 
+0755 7089023d jam 0x3d ,rfen_mdm 
 0756 2000000a nop 10 
-0757 7089027d jam 0x7d ,rfen_mdm 
-0758 6800c1de fetch 1 ,mem_tx_power 
-0759 c0010761 beq tx_power_5db ,p_set_tx_power_5db 
-075a c0020769 beq tx_power_f5db ,p_set_tx_power_f5db 
-075b c0100773 beq tx_power_pair ,p_set_tx_power_pair 
+0757 708903b7 jam 0xb7 ,rfen_sn 
+0758 2000000a nop 10 
+0759 7089027d jam 0x7d ,rfen_mdm 
+075a 6800c1de fetch 1 ,mem_tx_power 
+075b c0010763 beq tx_power_5db ,p_set_tx_power_5db 
+075c c002076b beq tx_power_f5db ,p_set_tx_power_f5db 
+075d c0100775 beq tx_power_pair ,p_set_tx_power_pair 
 
 p_set_tx_power_0db:
-075c 2040076e call p_rx_low_sens 
-075d 708955d0 jam 0xd0 ,0x8955 
-075e 708956e0 jam 0xe0 ,0x8956 
-075f 7089586c jam 0x6c ,0x8958 
-0760 2020294b branch set_tx_power_0db 
+075e 20400770 call p_rx_low_sens 
+075f 708955d0 jam 0xd0 ,0x8955 
+0760 708956e0 jam 0xe0 ,0x8956 
+0761 7089586c jam 0x6c ,0x8958 
+0762 2020294b branch set_tx_power_0db 
 
 p_set_tx_power_5db:
 
 p_rx_high_sens:
-0761 70894cfb jam 0xfb ,0x894c 
-0762 70894def jam 0xef ,0x894d 
-0763 70894eec jam 0xec ,0x894e 
-0764 70894f5e jam 0x5e ,0x894f 
-0765 708955d0 jam 0xd0 ,0x8955 
-0766 708956e0 jam 0xe0 ,0x8956 
-0767 7089583c jam 0x3c ,0x8958 
-0768 20202953 branch set_tx_power_5db 
+0763 70894cfb jam 0xfb ,0x894c 
+0764 70894def jam 0xef ,0x894d 
+0765 70894eec jam 0xec ,0x894e 
+0766 70894f5e jam 0x5e ,0x894f 
+0767 708955d0 jam 0xd0 ,0x8955 
+0768 708956e0 jam 0xe0 ,0x8956 
+0769 7089583c jam 0x3c ,0x8958 
+076a 20202953 branch set_tx_power_5db 
 
 p_set_tx_power_f5db:
-0769 2040076e call p_rx_low_sens 
-076a 708955d0 jam 0xd0 ,0x8955 
-076b 708956c0 jam 0xc0 ,0x8956 
-076c 7089586c jam 0x6c ,0x8958 
-076d 2020295b branch set_tx_power_f5db 
+076b 20400770 call p_rx_low_sens 
+076c 708955d0 jam 0xd0 ,0x8955 
+076d 708956c0 jam 0xc0 ,0x8956 
+076e 7089586c jam 0x6c ,0x8958 
+076f 2020295b branch set_tx_power_f5db 
 
 p_rx_low_sens:
-076e 70894c5b jam 0x5b ,0x894c 
-076f 70894d96 jam 0x96 ,0x894d 
-0770 70894e2c jam 0x2c ,0x894e 
-0771 70894f46 jam 0x46 ,0x894f 
-0772 20600000 rtn 
+0770 70894c5b jam 0x5b ,0x894c 
+0771 70894d96 jam 0x96 ,0x894d 
+0772 70894e2c jam 0x2c ,0x894e 
+0773 70894f46 jam 0x46 ,0x894f 
+0774 20600000 rtn 
 
 p_set_tx_power_pair:
-0773 708956c2 jam 0xc2 ,0x8956 
-0774 708955d0 jam 0xd0 ,0x8955 
-0775 20600000 rtn 
+0775 708956c2 jam 0xc2 ,0x8956 
+0776 708955d0 jam 0xd0 ,0x8955 
+0777 20600000 rtn 
 
 p_shutdown_radio:
-0776 18002a08 force 8 ,radio_ctrl 
-0777 202028fa branch shutdown_radio + 1 
+0778 18002a08 force 8 ,radio_ctrl 
+0779 202028fa branch shutdown_radio + 1 
 
 p_zcode_entrance:
-0778 680891c5 fetcht 1 ,mem_zcode_temp_param0 
-0779 18518400 rshift4 temp ,temp 
-077a 6800cb52 fetch 1 ,mem_zcode_current_number 
-077b 98467c00 isub temp ,null 
-077c 20228797 branch p_zcode_run ,zero 
-077d 6008cb52 storet 1 ,mem_zcode_current_number 
-077e 18408401 increase 1 ,temp 
-077f 58000100 setarg zcode_buff_size 
-0780 984f8400 imul32 temp ,temp 
-0781 6801cb53 fetch 3 ,mem_xip_flash_offset 
-0782 98467e00 isub temp ,pdata 
-0783 6809cb56 fetcht 3 ,mem_flash_start_addr 
-0784 9840fe00 iadd temp ,pdata 
-0785 1fe0fffb increase -5 ,pdata 
-0786 6001cb59 store 3 ,mem_flash_address 
-0787 2040035c call p_flash_release_deep_power_down 
+077a 680891c5 fetcht 1 ,mem_zcode_temp_param0 
+077b 18518400 rshift4 temp ,temp 
+077c 6800cb52 fetch 1 ,mem_zcode_current_number 
+077d 98467c00 isub temp ,null 
+077e 20228799 branch p_zcode_run ,zero 
+077f 6008cb52 storet 1 ,mem_zcode_current_number 
+0780 18408401 increase 1 ,temp 
+0781 58000100 setarg zcode_buff_size 
+0782 984f8400 imul32 temp ,temp 
+0783 6801cb53 fetch 3 ,mem_xip_flash_offset 
+0784 98467e00 isub temp ,pdata 
+0785 6809cb56 fetcht 3 ,mem_flash_start_addr 
+0786 9840fe00 iadd temp ,pdata 
+0787 1fe0fffb increase -5 ,pdata 
+0788 6001cb59 store 3 ,mem_flash_address 
+0789 2040035c call p_flash_release_deep_power_down 
 
 p_zcode_read_loop:
-0788 6801cb59 fetch 3 ,mem_flash_address 
-0789 d8400100 arg zcode_buff_size ,temp 
-078a da201f00 arg mem_zcode_buff ,rega 
-078b 20406562 call spid_read_flash 
-078c 68021f00 fetch 4 ,mem_zcode_buff 
-078d 680a4b5c fetcht 4 ,mem_zcode_head 
-078e 98467c00 isub temp ,null 
-078f 24228788 nbranch p_zcode_read_loop ,zero 
-0790 20400329 call p_mouse_spi_init 
-0791 58001f00 setarg mem_zcode_buff 
-0792 60014199 store 2 ,mem_patch_ptr 
-0793 70419b40 jam zcode_code_size ,mem_patch_len 
-0794 204064ca call load_ucode 
-0795 58000000 setarg 0 
-0796 60024199 store 4 ,mem_patch_ptr 
+078a 6801cb59 fetch 3 ,mem_flash_address 
+078b d8400100 arg zcode_buff_size ,temp 
+078c da201f00 arg mem_zcode_buff ,rega 
+078d 20406562 call spid_read_flash 
+078e 68021f00 fetch 4 ,mem_zcode_buff 
+078f 680a4b5c fetcht 4 ,mem_zcode_head 
+0790 98467c00 isub temp ,null 
+0791 2422878a nbranch p_zcode_read_loop ,zero 
+0792 20400329 call p_mouse_spi_init 
+0793 58001f00 setarg mem_zcode_buff 
+0794 60014199 store 2 ,mem_patch_ptr 
+0795 70419b40 jam zcode_code_size ,mem_patch_len 
+0796 204064ca call load_ucode 
+0797 58000000 setarg 0 
+0798 60024199 store 4 ,mem_patch_ptr 
 
 p_zcode_run:
-0797 680091c5 fetch 1 ,mem_zcode_temp_param0 
-0798 20200001 branch p_zcode 
-
-p_drawing_optima:
-0799 6802469b fetch 4 ,mem_mouse_x 
-079a 207a0000 rtn blank 
-079b 204007ec call p_data_abs_check 
-079c 58000006 setarg 0x06 
-079d 204007df call p_data_greater_than_check 
-079e 58000003 setarg 0x03 
-079f 204007e5 call p_data_less_than_check 
-07a0 6800cb0d fetch 1 ,mem_mouse_asm_flag 
-07a1 c00087a5 beq 1 ,p_drawing_optima_modify 
-
-p_drawing_optima_init:
-07a2 df200005 arg 5 ,loopcnt 
-07a3 d8a04b0d arg mem_mouse_asm_flag ,contw 
-07a4 20207ed4 branch clear_mem 
-
-p_drawing_optima_modify:
-07a5 68014b0e fetch 2 ,mem_mouse_x_pre 
-07a6 600111be store 2 ,mem_data_pre 
-07a7 6801469b fetch 2 ,mem_mouse_x 
-07a8 600111c0 store 2 ,mem_data_current 
-07a9 204007b8 call p_drawing_optima_data 
-07aa 680111be fetch 2 ,mem_data_pre 
-07ab 60014b0e store 2 ,mem_mouse_x_pre 
-07ac 680111c0 fetch 2 ,mem_data_current 
-07ad 6001469b store 2 ,mem_mouse_x 
-07ae 68014b10 fetch 2 ,mem_mouse_y_pre 
-07af 600111be store 2 ,mem_data_pre 
-07b0 6801469d fetch 2 ,mem_mouse_y 
-07b1 600111c0 store 2 ,mem_data_current 
-07b2 204007b8 call p_drawing_optima_data 
-07b3 680111be fetch 2 ,mem_data_pre 
-07b4 60014b10 store 2 ,mem_mouse_y_pre 
-07b5 680111c0 fetch 2 ,mem_data_current 
-07b6 6001469d store 2 ,mem_mouse_y 
-07b7 20600000 rtn 
-
-p_drawing_optima_data:
-07b8 680111be fetch 2 ,mem_data_pre 
-07b9 680911c0 fetcht 2 ,mem_data_current 
-07ba 9840fe00 iadd temp ,pdata 
-07bb 600191c2 store 3 ,mem_data_sum 
-07bc 2feffe10 isolate1 16 ,pdata 
-07bd 202087c5 branch p_data_sum_overflow ,true 
-07be 680091c3 fetch 1 ,mem_data_sum + 1 
-07bf c07f87cc beq 0xff ,p_data_sum_n 
-07c0 680091c2 fetch 1 ,mem_data_sum 
-
-p_data_store_pre:
-07c1 1fe37e00 rshift pdata ,pdata 
-07c2 600111be store 2 ,mem_data_pre 
-07c3 600111c0 store 2 ,mem_data_current 
-07c4 20600000 rtn 
-
-p_data_sum_overflow:
-07c5 680091c3 fetch 1 ,mem_data_sum + 1 
-07c6 c00007c9 beq 0 ,p_data_sum_overflow_p 
-07c7 680191c2 fetch 3 ,mem_data_sum 
-07c8 202007c1 branch p_data_store_pre 
-
-p_data_sum_overflow_p:
-07c9 7011c400 jam 0 ,mem_data_sum + 2 
-07ca 680091c2 fetch 1 ,mem_data_sum 
-07cb 202007c1 branch p_data_store_pre 
-
-p_data_sum_n:
-07cc 680091c2 fetch 1 ,mem_data_sum 
-07cd 204007d7 call p_pdata_get_half 
-07ce 600091be store 1 ,mem_data_pre 
-07cf 600091c0 store 1 ,mem_data_current 
-07d0 203a07d5 branch p_data_zero ,blank 
-07d1 580000ff setarg 0xff 
-
-p_data_set_direction:
-07d2 600091bf store 1 ,mem_data_pre + 1 
-07d3 600091c1 store 1 ,mem_data_current + 1 
-07d4 20600000 rtn 
-
-p_data_zero:
-07d5 58000000 setarg 0 
-07d6 202007d2 branch p_data_set_direction 
-
-p_pdata_get_half:
-07d7 1fe67e00 sub pdata ,0 ,pdata 
-07d8 60008aae store 1 ,mem_rega 
-07d9 68008aae fetch 1 ,mem_rega 
-07da 1fe37e00 rshift pdata ,pdata 
-07db 60008aae store 1 ,mem_rega 
-07dc 68008aae fetch 1 ,mem_rega 
-07dd 1fe67e00 sub pdata ,0 ,pdata 
-07de 20600000 rtn 
-
-p_data_greater_than_check:
-07df 9a267c00 isub rega ,null 
-07e0 242107ea nbranch p_enable_asm ,positive 
-07e1 9a467c00 isub regb ,null 
-07e2 242107ea nbranch p_enable_asm ,positive 
-
-p_disable_asm:
-07e3 704b0d00 jam 0 ,mem_mouse_asm_flag 
-07e4 20600000 rtn 
-
-p_data_less_than_check:
-07e5 9a267c00 isub rega ,null 
-07e6 24610000 nrtn positive 
-07e7 9a467c00 isub regb ,null 
-07e8 24610000 nrtn positive 
-07e9 202007e3 branch p_disable_asm 
-
-p_enable_asm:
-07ea 704b0d01 jam 1 ,mem_mouse_asm_flag 
-07eb 20600000 rtn 
-
-p_data_abs_check:
-07ec 6801469b fetch 2 ,mem_mouse_x 
-07ed 600111c0 store 2 ,mem_data_current 
-07ee 204007f5 call p_data_abs 
-07ef 1fe22200 copy pdata ,rega 
-07f0 6801469d fetch 2 ,mem_mouse_y 
-07f1 600111c0 store 2 ,mem_data_current 
-07f2 204007f5 call p_data_abs 
-07f3 1fe22400 copy pdata ,regb 
-07f4 20600000 rtn 
-
-p_data_abs:
-07f5 680091c1 fetch 1 ,mem_data_current + 1 
-07f6 c07f87fa beq 0xff ,p_data_reversal 
-07f7 680091c0 fetch 1 ,mem_data_current 
-
-p_data_abs_store:
-07f8 1fe17eff and_into 0xff ,pdata 
-07f9 20600000 rtn 
-
-p_data_reversal:
-07fa 680111c0 fetch 2 ,mem_data_current 
-07fb 1fe67e00 sub pdata ,0 ,pdata 
-07fc 202007f8 branch p_data_abs_store 
+0799 680091c5 fetch 1 ,mem_zcode_temp_param0 
+079a 20200001 branch p_zcode 
               org 0x2000
 
 start:
@@ -35480,10 +35346,10 @@
 20015 68014682 fetch 2 ,mem_ui_state_map 
 20016 c28642b0 bbit1 ui_state_btn_down ,mouse_start_discovery 
 20017 204033a9 call app_disconn_reason_clear 
-20018 20400574 call p_mouse_check_key_gpio 
+20018 20400576 call p_mouse_check_key_gpio 
 20019 c00282c4 beq mouse_lm_button ,p_mouse_null_enter_hibernate_enable 
 2001a 6808c6ec fetcht 1 ,mem_config_bt_button_gpio 
-2001b 2040059f call p_gpio_set_input_pu 
+2001b 204005a1 call p_gpio_set_input_pu 
 2001c 6808c6ec fetcht 1 ,mem_config_bt_button_gpio 
 2001d 2040681d call gpio_get_bit 
 2001e 202082c4 branch p_mouse_null_enter_hibernate_enable ,true 
@@ -35707,7 +35573,7 @@
 60009 c2830014 bbit1 ui_state_bt_discovery ,z_mouse_start_discovery_norandom 
 6000a 680246d3 fetch mouse_flag_len ,mem_mouse_flag 
 6000b c30c0014 bbit0 mouse_enable_ble_random_addre ,z_mouse_start_discovery_norandom 
-6000c 204005ac call p_mouse_load_random_addr_increase_count 
+6000c 204005ae call p_mouse_load_random_addr_increase_count 
 6000d 680947c4 fetcht 2 ,mem_random_addr_increase_count 
 6000e 18408401 increase 1 ,temp 
 6000f 600947c4 storet 2 ,mem_random_addr_increase_count 
@@ -35737,7 +35603,7 @@
 60023 58000005 setarg adv_flag_bredr_not_supported | adv_flag_limited_discoverable 
 60024 e0c08000 istore 1 ,contr 
 60025 d8c04b12 arg mem_le_adv_swift_pair ,contr 
-60026 204005ba call p_le_adv_data_update 
+60026 204005bc call p_le_adv_data_update 
 60027 20207df4 branch check_51cmd_adv 
               org 0x70001
 
@@ -35941,7 +35807,7 @@
 90015 20405839 call le_set_justwork 
 90016 2040582c call le_set_fixed_ltk 
 90017 20405818 call le_set_config_read_authentication 
-90018 204005a8 call p_le_addr_random_config 
+90018 204005aa call p_le_addr_random_config 
 90019 20400412 call p_mouse_set_gpio_control_sensor 
 9001a 2040035c call p_flash_release_deep_power_down 
 9001b 2040032b call p_mouse_set_24g_addr_flash 
Index: output/romcode.rom
===================================================================
--- /branch/mouse_project/YDN_Project/YDN_1066_227D/output/romcode.rom	(revision 3890)
+++ /branch/mouse_project/YDN_Project/YDN_1066_227D/output/romcode.rom	(working copy)
@@ -24610,10 +24610,10 @@
 68014682
 c28642b0
 204033a9
-20400574
+20400576
 c00282c4
 6808c6ec
-2040059f
+204005a1
 6808c6ec
 2040681d
 202082c4
@@ -24769,7 +24769,7 @@
 c2830014
 680246d3
 c30c0014
-204005ac
+204005ae
 680947c4
 18408401
 600947c4
@@ -24795,7 +24795,7 @@
 58000005
 e0c08000
 d8c04b12
-204005ba
+204005bc
 20207df4
 c0300004
 c0308026
@@ -24940,7 +24940,7 @@
 20405839
 2040582c
 20405818
-204005a8
+204005aa
 20400412
 2040035c
 2040032b
@@ -25130,4 +25130,4 @@
 704b0300
 704b0c00
 202041d9
-00001a4e
+0000b120
Index: program/patch.prog
===================================================================
--- /branch/mouse_project/YDN_Project/YDN_1066_227D/program/patch.prog	(revision 3908)
+++ /branch/mouse_project/YDN_Project/YDN_1066_227D/program/patch.prog	(working copy)
@@ -3,7 +3,7 @@
 define G24
 define BLE
 define CLASSIC_BT
-define MOUSE_SMOOTHER
+//define MOUSE_SMOOTHER
 define ADC_ENABLE
 //define P24G_LOG
 //define RF_DEBUG
@@ -110,6 +110,7 @@
 	nop 1
 	nop 1
 	nop 1
+	nop 1
 
 
 p_patch_array:
@@ -2322,11 +2323,16 @@
 	call mouse_clear_sensor_data
 	fetch 1,mem_config_sensor_type
 	beq P3212,mouse_p3212_sensor_motion_1
-	beq KA5857,mouse_p3212_sensor_motion_1+3
+	beq KA5857,p_mouse_ka5857_sensor_motion
+//	beq KA5857,mouse_p3212_sensor_motion_1+3
 	disable user
 	branch mouse_p32xx_sensor_motion_2
-
-
+p_mouse_ka5857_sensor_motion:
+	setarg 0x19
+	call twspi_read
+	store 1,0x4ff0
+	
+	branch mouse_p3212_sensor_motion_1+3
 p_mouse_motion_nodata:	
 ifdef MOUSE_SMOOTHER
 	call p_drawing_optima_init
Index: sched/mouse.dat
===================================================================
--- /branch/mouse_project/YDN_Project/YDN_1066_227D/sched/mouse.dat	(revision 3908)
+++ /branch/mouse_project/YDN_Project/YDN_1066_227D/sched/mouse.dat	(working copy)
@@ -60,7 +60,7 @@
 45
 
 mem_app_connection_options:06
-mem_lap:20 51 17 01 20 10
+mem_lap:26 51 17 51 20 11
 mem_local_name_length:
 ' Bluetooth 5.0 Mouse
 ##' Trust Bluetooth Mouse
@@ -213,7 +213,6 @@
 mem_sensor_ka5857_init:
 09 a5
 26 34
-19 10
 6a c0
 69 24
 09 00
