Index: output/bt_program23.icode
===================================================================
--- /branch/mouse_project/YDN_Project/YDN_1066_G535D/output/bt_program23.icode	(revision 3366)
+++ /branch/mouse_project/YDN_Project/YDN_1066_G535D/output/bt_program23.icode	(working copy)
@@ -26885,167 +26885,168 @@
  00524351  0x00009226 branch  0x000001ca 
  00589825  0x0000922f beq  0x00000080 , 0x00090003 
  00589826  0x00009230 rtn 
- 00589827  0x00009235 call  0x00090033 
+ 00589827  0x00009235 call  0x00090034 
  00589828  0x0000923a call  0x00003e6e 
  00589829  0x0000923c fetcht  0x00000001 , 0x00004b26 
  00589830  0x0000923d call  0x0000680e 
  00589831  0x0000923e fetcht  0x00000001 , 0x00004b47 
  00589832  0x0000923f call  0x0000680e 
  00589833  0x00009241 call  0x00003e1e 
- 00589834  0x00009242 fetcht  0x00000001 , 0x000046f7 
- 00589835  0x00009243 call  0x000005b4 
- 00589836  0x00009244 call  0x00090018 
- 00589837  0x00009245 setarg  0x00000000 
- 00589838  0x00009246 store  0x00000002 , 0x00004154 
- 00589839  0x00009247 call  0x000068a2 
- 00589840  0x00009248 call  0x00003e54 
- 00589841  0x00009249 call  0x000003a9 
- 00589842  0x0000924a call  0x00000378 
- 00589843  0x0000924b fetch  0x00000003 , 0x00004700 
- 00589844  0x0000924c iadd  0x00000012 , 0x0000003f 
- 00589845  0x0000924d call  0x00006562 
- 00589846  0x0000924f call  0x0000035c 
- 00589847  0x00009250 rtn 
- 00589848  0x00009254 call  0x000074b9 
- 00589849  0x00009255 arg  0x00008c00 , 0x00000006 
- 00589850  0x00009256 arg  0x00004878 , 0x00000005 
- 00589851  0x00009257 arg  0x00000171 , 0x00000039 
- 00589852  0x00009258 call  0x00007f01 
- 00589853  0x0000925a setarg  0x000f0209 
- 00589854  0x0000925b istore  0x00000003 , 0x00000005 
- 00589855  0x0000925c setarg  0x00120009 
- 00589856  0x0000925d istore  0x00000003 , 0x00000005 
- 00589857  0x0000925f setarg  0x00100209 
- 00589858  0x00009260 istore  0x00000003 , 0x00000005 
- 00589859  0x00009261 setarg  0x00000009 
- 00589860  0x00009262 istore  0x00000003 , 0x00000005 
- 00589861  0x00009263 arg  0x00008d71 , 0x00000006 
- 00589862  0x00009264 arg  0x00000109 , 0x00000039 
- 00589863  0x00009265 call  0x00007f01 
- 00589864  0x00009267 jam  0x00000000 , 0x0000488f 
- 00589865  0x00009268 jam  0x0000006d , 0x00004887 
- 00589866  0x00009269 setarg  0x0000401f 
- 00589867  0x0000926a store  0x00000002 , 0x000049dd 
- 00589868  0x0000926b setarg  0x00006d04 
- 00589869  0x0000926c store  0x00000002 , 0x00004a46 
- 00589870  0x0000926d setarg  0x000016b0 
- 00589871  0x0000926e store  0x00000002 , 0x00004a4c 
- 00589872  0x00009270 setarg  0x00004878 
- 00589873  0x00009271 store  0x00000002 , 0x00004575 
- 00589874  0x00009272 rtn 
- 00589875  0x00009276 fetch  0x00000004 , 0x000040a0 
- 00589876  0x00009277 store  0x00000004 , 0x00004c6c 
- 00589877  0x00009278 rtn 
- 00655361  0x0000927f beq  0x00000090 , 0x000a0005 
- 00655362  0x00009280 beq  0x00000091 , 0x000a001f 
- 00655363  0x00009281 beq  0x00000092 , 0x000a002f 
- 00655364  0x00009282 rtn 
- 00655365  0x00009285 fetch  0x00000001 , 0x00004c3a 
- 00655366  0x00009286 beq  0x00000001 , 0x00007fe7 
- 00655367  0x00009287 fetch  0x00000001 , 0x00004c45 
- 00655368  0x00009288 beq  0x00000001 , 0x000a000c 
- 00655369  0x00009289 beq  0x00000002 , 0x000a000f 
- 00655370  0x0000928a beq  0x00000003 , 0x000a0012 
- 00655371  0x0000928b branch  0x00002a8c 
- 00655372  0x0000928e jam  0x00000011 , 0x00004c45 
- 00655373  0x0000928f jam  0x000000aa , 0x0000119e 
- 00655374  0x00009290 branch  0x000a0014 
- 00655375  0x00009292 jam  0x00000012 , 0x00004c45 
- 00655376  0x00009293 jam  0x00000055 , 0x0000119e 
- 00655377  0x00009294 branch  0x000a0014 
- 00655378  0x00009296 jam  0x00000013 , 0x00004c45 
- 00655379  0x00009297 jam  0x00000022 , 0x0000119e 
- 00655380  0x00009299 fetch  0x00000001 , 0x00004c36 
- 00655381  0x0000929a and_into  0x00000007 , 0x0000003f 
- 00655382  0x0000929b store  0x00000001 , 0x0000119f 
- 00655383  0x0000929c fetch  0x00000004 , 0x00004c6c 
- 00655384  0x0000929d store  0x00000004 , 0x000011a0 
- 00655385  0x0000929f jam  0x00000000 , 0x000011a4 
- 00655386  0x000092a0 arg  0x0000119e , 0x00000011 
- 00655387  0x000092a1 arg  0x00000007 , 0x00000002 
- 00655388  0x000092a2 call  0x000001b8 
- 00655389  0x000092a3 call  0x00000141 
- 00655390  0x000092a4 branch  0x00007fe7 
- 00655391  0x000092a7 fetch  0x00000001 , 0x00004c45 
- 00655392  0x000092a8 rtneq  0x000000ff 
- 00655393  0x000092a9 beq  0x00000011 , 0x000a0025 
- 00655394  0x000092aa beq  0x00000012 , 0x000a0027 
- 00655395  0x000092ab beq  0x00000013 , 0x000a0029 
- 00655396  0x000092ac rtn 
- 00655397  0x000092af jam  0x00000002 , 0x00004c45 
- 00655398  0x000092b0 branch  0x00000171 
- 00655399  0x000092b2 jam  0x00000003 , 0x00004c45 
- 00655400  0x000092b3 branch  0x00000171 
- 00655401  0x000092b5 jam  0x000000ff , 0x00004c45 
- 00655402  0x000092b6 jam  0x00000039 , 0x00000a99 
- 00655403  0x000092b7 call  0x00007d86 
- 00655404  0x000092b8 fetch  0x00000004 , 0x00004c15 
- 00655405  0x000092b9 call  0x000001ca 
- 00655406  0x000092ba branch  0x00000171 
- 00655407  0x000092be call  0x000003b0 
- 00655408  0x000092bf jam  0x00000001 , 0x0000478b 
- 00655409  0x000092c0 arg  0x00000003 , 0x00000007 
- 00655410  0x000092c1 call  0x000043d2 
- 00655411  0x000092c2 setarg  0x00000000 
- 00655412  0x000092c3 store  0x00000002 , 0x00004707 
- 00655413  0x000092c4 jam  0x00000000 , 0x000046a7 
- 00655414  0x000092c6 call  0x0000405d 
- 00655415  0x000092c7 call  0x000004c3 
- 00655416  0x000092c8 call  0x000002b8 
- 00655417  0x000092ca fetch  0x00000004 , 0x00004c5d 
- 00655418  0x000092cb store  0x00000004 , 0x0000477b 
- 00655419  0x000092cd call  0x00004366 
- 00655420  0x000092ce branch  0x00000369 
- 00720897  0x000092d3 beq  0x000000a0 , 0x000b0005 
- 00720898  0x000092d4 beq  0x000000a3 , 0x000b000b 
- 00720899  0x000092d5 beq  0x000000a4 , 0x000b0012 
- 00720900  0x000092d6 rtn 
- 00720901  0x000092d9 jam  0x00000000 , 0x00004d75 
- 00720902  0x000092da call  0x000002b8 
- 00720903  0x000092db call  0x000001b4 
- 00720904  0x000092dc jam  0x00000000 , 0x000041bd 
- 00720905  0x000092dd call  0x000000ce 
- 00720906  0x000092de branch  0x000002b4 
- 00720907  0x000092e3 fetch  0x00000002 , 0x00004682 
- 00720908  0x000092e4 rtnbit1  0x0000000c 
- 00720909  0x000092e5 rtnbit1  0x00000006 
- 00720910  0x000092e6 rtnbit1  0x0000000b 
- 00720911  0x000092e7 fetch  0x00000004 , 0x000046d3 
- 00720912  0x000092e8 rtnbit1  0x00000005 
- 00720913  0x000092e9 branch  0x00000458 
- 00720914  0x000092ee enable  0x00000028 
- 00720915  0x000092ef hfetch  0x00000004 , 0x00008138 
- 00720916  0x000092f0 setflag  0x00000028 , 0x0000001a , 0x0000003f 
- 00720917  0x000092f1 hstore  0x00000004 , 0x0000804c 
- 00720918  0x000092f2 call  0x00002c21 
- 00720919  0x000092f3 call  0x000074bd 
- 00720920  0x000092f5 call  0x00003e9f 
- 00720921  0x000092f6 fetcht  0x00000001 , 0x00004b26 
- 00720922  0x000092f7 call  0x00006829 
- 00720923  0x000092f8 call  0x000000ce 
- 00720924  0x000092f9 call  0x000003a1 
- 00720925  0x000092fa hfetch  0x00000001 , 0x00008081 
- 00720926  0x000092fb and  0x0000003f , 0x000000f7 , 0x0000003f 
- 00720927  0x000092fc hstore  0x00000001 , 0x00008081 
- 00720928  0x000092fd fetcht  0x00000001 , 0x000046f3 
- 00720929  0x000092fe call  0x000067ed 
- 00720930  0x000092ff rtn 
- 00786433  0x00009305 beq  0x000000b1 , 0x000c0005 
- 00786434  0x00009306 beq  0x000000b2 , 0x000c000b 
- 00786435  0x00009307 beq  0x000000b4 , 0x000c0010 
- 00786436  0x00009308 rtn 
- 00786437  0x0000930c fetch  0x00000001 , 0x0000480a 
- 00786438  0x0000930d rtneq  0x00000002 
- 00786439  0x0000930e increase  0x00000001 , 0x0000003f 
- 00786440  0x0000930f store  0x00000001 , 0x0000480a 
- 00786441  0x00009310 jam  0x00000012 , 0x000041e3 
- 00786442  0x00009311 branch  0x0000340e 
- 00786443  0x00009314 fetch  0x00000001 , 0x0000480a 
- 00786444  0x00009315 rtnne  0x00000002 
- 00786445  0x00009316 jam  0x00000000 , 0x0000480a 
- 00786446  0x00009317 jam  0x0000000e , 0x000041e3 
- 00786447  0x00009318 branch  0x0000340e 
- 00786448  0x0000931c jam  0x00000000 , 0x00004b01 
- 00786449  0x0000931d jam  0x00000000 , 0x00004b03 
- 00786450  0x0000931e jam  0x00000000 , 0x00004b0c 
- 00786451  0x0000931f branch  0x000041d9 
+ 00589834  0x00009242 call  0x00003e44 
+ 00589835  0x00009243 fetcht  0x00000001 , 0x000046f7 
+ 00589836  0x00009244 call  0x000005b4 
+ 00589837  0x00009245 call  0x00090019 
+ 00589838  0x00009246 setarg  0x00000000 
+ 00589839  0x00009247 store  0x00000002 , 0x00004154 
+ 00589840  0x00009248 call  0x000068a2 
+ 00589841  0x00009249 call  0x00003e54 
+ 00589842  0x0000924a call  0x000003a9 
+ 00589843  0x0000924b call  0x00000378 
+ 00589844  0x0000924c fetch  0x00000003 , 0x00004700 
+ 00589845  0x0000924d iadd  0x00000012 , 0x0000003f 
+ 00589846  0x0000924e call  0x00006562 
+ 00589847  0x00009250 call  0x0000035c 
+ 00589848  0x00009251 rtn 
+ 00589849  0x00009255 call  0x000074b9 
+ 00589850  0x00009256 arg  0x00008c00 , 0x00000006 
+ 00589851  0x00009257 arg  0x00004878 , 0x00000005 
+ 00589852  0x00009258 arg  0x00000171 , 0x00000039 
+ 00589853  0x00009259 call  0x00007f01 
+ 00589854  0x0000925b setarg  0x000f0209 
+ 00589855  0x0000925c istore  0x00000003 , 0x00000005 
+ 00589856  0x0000925d setarg  0x00120009 
+ 00589857  0x0000925e istore  0x00000003 , 0x00000005 
+ 00589858  0x00009260 setarg  0x00100209 
+ 00589859  0x00009261 istore  0x00000003 , 0x00000005 
+ 00589860  0x00009262 setarg  0x00000009 
+ 00589861  0x00009263 istore  0x00000003 , 0x00000005 
+ 00589862  0x00009264 arg  0x00008d71 , 0x00000006 
+ 00589863  0x00009265 arg  0x00000109 , 0x00000039 
+ 00589864  0x00009266 call  0x00007f01 
+ 00589865  0x00009268 jam  0x00000000 , 0x0000488f 
+ 00589866  0x00009269 jam  0x0000006d , 0x00004887 
+ 00589867  0x0000926a setarg  0x0000401f 
+ 00589868  0x0000926b store  0x00000002 , 0x000049dd 
+ 00589869  0x0000926c setarg  0x00006d04 
+ 00589870  0x0000926d store  0x00000002 , 0x00004a46 
+ 00589871  0x0000926e setarg  0x000016b0 
+ 00589872  0x0000926f store  0x00000002 , 0x00004a4c 
+ 00589873  0x00009271 setarg  0x00004878 
+ 00589874  0x00009272 store  0x00000002 , 0x00004575 
+ 00589875  0x00009273 rtn 
+ 00589876  0x00009277 fetch  0x00000004 , 0x000040a0 
+ 00589877  0x00009278 store  0x00000004 , 0x00004c6c 
+ 00589878  0x00009279 rtn 
+ 00655361  0x00009280 beq  0x00000090 , 0x000a0005 
+ 00655362  0x00009281 beq  0x00000091 , 0x000a001f 
+ 00655363  0x00009282 beq  0x00000092 , 0x000a002f 
+ 00655364  0x00009283 rtn 
+ 00655365  0x00009286 fetch  0x00000001 , 0x00004c3a 
+ 00655366  0x00009287 beq  0x00000001 , 0x00007fe7 
+ 00655367  0x00009288 fetch  0x00000001 , 0x00004c45 
+ 00655368  0x00009289 beq  0x00000001 , 0x000a000c 
+ 00655369  0x0000928a beq  0x00000002 , 0x000a000f 
+ 00655370  0x0000928b beq  0x00000003 , 0x000a0012 
+ 00655371  0x0000928c branch  0x00002a8c 
+ 00655372  0x0000928f jam  0x00000011 , 0x00004c45 
+ 00655373  0x00009290 jam  0x000000aa , 0x0000119e 
+ 00655374  0x00009291 branch  0x000a0014 
+ 00655375  0x00009293 jam  0x00000012 , 0x00004c45 
+ 00655376  0x00009294 jam  0x00000055 , 0x0000119e 
+ 00655377  0x00009295 branch  0x000a0014 
+ 00655378  0x00009297 jam  0x00000013 , 0x00004c45 
+ 00655379  0x00009298 jam  0x00000022 , 0x0000119e 
+ 00655380  0x0000929a fetch  0x00000001 , 0x00004c36 
+ 00655381  0x0000929b and_into  0x00000007 , 0x0000003f 
+ 00655382  0x0000929c store  0x00000001 , 0x0000119f 
+ 00655383  0x0000929d fetch  0x00000004 , 0x00004c6c 
+ 00655384  0x0000929e store  0x00000004 , 0x000011a0 
+ 00655385  0x000092a0 jam  0x00000000 , 0x000011a4 
+ 00655386  0x000092a1 arg  0x0000119e , 0x00000011 
+ 00655387  0x000092a2 arg  0x00000007 , 0x00000002 
+ 00655388  0x000092a3 call  0x000001b8 
+ 00655389  0x000092a4 call  0x00000141 
+ 00655390  0x000092a5 branch  0x00007fe7 
+ 00655391  0x000092a8 fetch  0x00000001 , 0x00004c45 
+ 00655392  0x000092a9 rtneq  0x000000ff 
+ 00655393  0x000092aa beq  0x00000011 , 0x000a0025 
+ 00655394  0x000092ab beq  0x00000012 , 0x000a0027 
+ 00655395  0x000092ac beq  0x00000013 , 0x000a0029 
+ 00655396  0x000092ad rtn 
+ 00655397  0x000092b0 jam  0x00000002 , 0x00004c45 
+ 00655398  0x000092b1 branch  0x00000171 
+ 00655399  0x000092b3 jam  0x00000003 , 0x00004c45 
+ 00655400  0x000092b4 branch  0x00000171 
+ 00655401  0x000092b6 jam  0x000000ff , 0x00004c45 
+ 00655402  0x000092b7 jam  0x00000039 , 0x00000a99 
+ 00655403  0x000092b8 call  0x00007d86 
+ 00655404  0x000092b9 fetch  0x00000004 , 0x00004c15 
+ 00655405  0x000092ba call  0x000001ca 
+ 00655406  0x000092bb branch  0x00000171 
+ 00655407  0x000092bf call  0x000003b0 
+ 00655408  0x000092c0 jam  0x00000001 , 0x0000478b 
+ 00655409  0x000092c1 arg  0x00000003 , 0x00000007 
+ 00655410  0x000092c2 call  0x000043d2 
+ 00655411  0x000092c3 setarg  0x00000000 
+ 00655412  0x000092c4 store  0x00000002 , 0x00004707 
+ 00655413  0x000092c5 jam  0x00000000 , 0x000046a7 
+ 00655414  0x000092c7 call  0x0000405d 
+ 00655415  0x000092c8 call  0x000004c3 
+ 00655416  0x000092c9 call  0x000002b8 
+ 00655417  0x000092cb fetch  0x00000004 , 0x00004c5d 
+ 00655418  0x000092cc store  0x00000004 , 0x0000477b 
+ 00655419  0x000092ce call  0x00004366 
+ 00655420  0x000092cf branch  0x00000369 
+ 00720897  0x000092d4 beq  0x000000a0 , 0x000b0005 
+ 00720898  0x000092d5 beq  0x000000a3 , 0x000b000b 
+ 00720899  0x000092d6 beq  0x000000a4 , 0x000b0012 
+ 00720900  0x000092d7 rtn 
+ 00720901  0x000092da jam  0x00000000 , 0x00004d75 
+ 00720902  0x000092db call  0x000002b8 
+ 00720903  0x000092dc call  0x000001b4 
+ 00720904  0x000092dd jam  0x00000000 , 0x000041bd 
+ 00720905  0x000092de call  0x000000ce 
+ 00720906  0x000092df branch  0x000002b4 
+ 00720907  0x000092e4 fetch  0x00000002 , 0x00004682 
+ 00720908  0x000092e5 rtnbit1  0x0000000c 
+ 00720909  0x000092e6 rtnbit1  0x00000006 
+ 00720910  0x000092e7 rtnbit1  0x0000000b 
+ 00720911  0x000092e8 fetch  0x00000004 , 0x000046d3 
+ 00720912  0x000092e9 rtnbit1  0x00000005 
+ 00720913  0x000092ea branch  0x00000458 
+ 00720914  0x000092ef enable  0x00000028 
+ 00720915  0x000092f0 hfetch  0x00000004 , 0x00008138 
+ 00720916  0x000092f1 setflag  0x00000028 , 0x0000001a , 0x0000003f 
+ 00720917  0x000092f2 hstore  0x00000004 , 0x0000804c 
+ 00720918  0x000092f3 call  0x00002c21 
+ 00720919  0x000092f4 call  0x000074bd 
+ 00720920  0x000092f6 call  0x00003e9f 
+ 00720921  0x000092f7 fetcht  0x00000001 , 0x00004b26 
+ 00720922  0x000092f8 call  0x00006829 
+ 00720923  0x000092f9 call  0x000000ce 
+ 00720924  0x000092fa call  0x000003a1 
+ 00720925  0x000092fb hfetch  0x00000001 , 0x00008081 
+ 00720926  0x000092fc and  0x0000003f , 0x000000f7 , 0x0000003f 
+ 00720927  0x000092fd hstore  0x00000001 , 0x00008081 
+ 00720928  0x000092fe fetcht  0x00000001 , 0x000046f3 
+ 00720929  0x000092ff call  0x000067ed 
+ 00720930  0x00009300 rtn 
+ 00786433  0x00009306 beq  0x000000b1 , 0x000c0005 
+ 00786434  0x00009307 beq  0x000000b2 , 0x000c000b 
+ 00786435  0x00009308 beq  0x000000b4 , 0x000c0010 
+ 00786436  0x00009309 rtn 
+ 00786437  0x0000930d fetch  0x00000001 , 0x0000480a 
+ 00786438  0x0000930e rtneq  0x00000002 
+ 00786439  0x0000930f increase  0x00000001 , 0x0000003f 
+ 00786440  0x00009310 store  0x00000001 , 0x0000480a 
+ 00786441  0x00009311 jam  0x00000012 , 0x000041e3 
+ 00786442  0x00009312 branch  0x0000340e 
+ 00786443  0x00009315 fetch  0x00000001 , 0x0000480a 
+ 00786444  0x00009316 rtnne  0x00000002 
+ 00786445  0x00009317 jam  0x00000000 , 0x0000480a 
+ 00786446  0x00009318 jam  0x0000000e , 0x000041e3 
+ 00786447  0x00009319 branch  0x0000340e 
+ 00786448  0x0000931d jam  0x00000000 , 0x00004b01 
+ 00786449  0x0000931e jam  0x00000000 , 0x00004b03 
+ 00786450  0x0000931f jam  0x00000000 , 0x00004b0c 
+ 00786451  0x00009320 branch  0x000041d9 
Index: output/bt_program23.list
===================================================================
--- /branch/mouse_project/YDN_Project/YDN_1066_G535D/output/bt_program23.list	(revision 3366)
+++ /branch/mouse_project/YDN_Project/YDN_1066_G535D/output/bt_program23.list	(working copy)
@@ -31350,186 +31350,187 @@
 0x90007 037438 fetcht 1 ,mem_flash_ncs_gpio 
 0x90008 037439 call gpio_config_output 
 0x90009 037441 call mouse_param_init 
-0x9000a 037442 fetcht 1 ,mem_select_sensor_angle_gpio 
-0x9000b 037443 call p_gpio_set_input_pd 
-0x9000c 037444 call z_mouse_bt_sdp_update 
-0x9000d 037445 setarg 0 
-0x9000e 037446 store 2 ,mem_lpm_interval 
-0x9000f 037447 call load_adc_init 
-0x90010 037448 call mouse_adc_init 
-0x90011 037449 call p_flash_release_deep_power_down 
-0x90012 037450 call p_mouse_set_24g_addr_flash 
-0x90013 037451 fetch 3 ,mem_flash_base 
-0x90014 037452 iadd regb ,pdata 
-0x90015 037453 call spid_read_flash 
-0x90016 037455 call p_mouse_load_flash_info_check 
-0x90017 037456 rtn 
-:      037459 z_mouse_bt_sdp_update:
-0x90018 037460 call enable_authrom 
-0x90019 037461 arg 0x8c00 ,contr 
-0x9001a 037462 arg mem_mouse_uuid_list ,contw 
-0x9001b 037463 arg 369 ,loopcnt 
-0x9001c 037464 call memcpy 
-0x9001d 037466 setarg 0x0f0209 
-0x9001e 037467 istore 3 ,contw 
-0x9001f 037468 setarg 0x120009 
-0x90020 037469 istore 3 ,contw 
-0x90021 037471 setarg 0x100209 
-0x90022 037472 istore 3 ,contw 
-0x90023 037473 setarg 0x000009 
-0x90024 037474 istore 3 ,contw 
-0x90025 037475 arg 0x8d71 ,contr 
-0x90026 037476 arg 265 ,loopcnt 
-0x90027 037477 call memcpy 
-0x90028 037479 jam 0 ,mem_mouse_uuid_list + 23 
-0x90029 037480 jam 0x6d ,mem_mouse_uuid_list + 15 
-0x9002a 037481 setarg 0x401f 
-0x9002b 037482 store 2 ,mem_mouse_uuid_list + 357 
-0x9002c 037483 setarg 0x6d04 
-0x9002d 037484 store 2 ,mem_mouse_uuid_list + 462 
-0x9002e 037485 setarg 0x16b0 
-0x9002f 037486 store 2 ,mem_mouse_uuid_list + 468 
-0x90030 037488 setarg mem_mouse_uuid_list 
-0x90031 037489 store 2 ,mem_ui_uuid_table 
-0x90032 037490 rtn 
-:      037493 z_g24_set_device_addr:
-0x90033 037494 fetch 4 ,mem_lap 
-0x90034 037495 store 4 ,mem_24g_device_addr 
-0x90035 037496 rtn 
+0x9000a 037442 call mouse_sensor_set_angle 
+0x9000b 037443 fetcht 1 ,mem_select_sensor_angle_gpio 
+0x9000c 037444 call p_gpio_set_input_pd 
+0x9000d 037445 call z_mouse_bt_sdp_update 
+0x9000e 037446 setarg 0 
+0x9000f 037447 store 2 ,mem_lpm_interval 
+0x90010 037448 call load_adc_init 
+0x90011 037449 call mouse_adc_init 
+0x90012 037450 call p_flash_release_deep_power_down 
+0x90013 037451 call p_mouse_set_24g_addr_flash 
+0x90014 037452 fetch 3 ,mem_flash_base 
+0x90015 037453 iadd regb ,pdata 
+0x90016 037454 call spid_read_flash 
+0x90017 037456 call p_mouse_load_flash_info_check 
+0x90018 037457 rtn 
+:      037460 z_mouse_bt_sdp_update:
+0x90019 037461 call enable_authrom 
+0x9001a 037462 arg 0x8c00 ,contr 
+0x9001b 037463 arg mem_mouse_uuid_list ,contw 
+0x9001c 037464 arg 369 ,loopcnt 
+0x9001d 037465 call memcpy 
+0x9001e 037467 setarg 0x0f0209 
+0x9001f 037468 istore 3 ,contw 
+0x90020 037469 setarg 0x120009 
+0x90021 037470 istore 3 ,contw 
+0x90022 037472 setarg 0x100209 
+0x90023 037473 istore 3 ,contw 
+0x90024 037474 setarg 0x000009 
+0x90025 037475 istore 3 ,contw 
+0x90026 037476 arg 0x8d71 ,contr 
+0x90027 037477 arg 265 ,loopcnt 
+0x90028 037478 call memcpy 
+0x90029 037480 jam 0 ,mem_mouse_uuid_list + 23 
+0x9002a 037481 jam 0x6d ,mem_mouse_uuid_list + 15 
+0x9002b 037482 setarg 0x401f 
+0x9002c 037483 store 2 ,mem_mouse_uuid_list + 357 
+0x9002d 037484 setarg 0x6d04 
+0x9002e 037485 store 2 ,mem_mouse_uuid_list + 462 
+0x9002f 037486 setarg 0x16b0 
+0x90030 037487 store 2 ,mem_mouse_uuid_list + 468 
+0x90031 037489 setarg mem_mouse_uuid_list 
+0x90032 037490 store 2 ,mem_ui_uuid_table 
+0x90033 037491 rtn 
+:      037494 z_g24_set_device_addr:
+0x90034 037495 fetch 4 ,mem_lap 
+0x90035 037496 store 4 ,mem_24g_device_addr 
+0x90036 037497 rtn 
               org 0xa0001
-:      037502 z_entrance9:
-0xa0001 037503 beq zcode_90 ,z_g24_pairing_sm 
-0xa0002 037504 beq zcode_91 ,z_g24_paring_mode 
-0xa0003 037505 beq zcode_92 ,z_mouse_24g_pairing_complete 
-0xa0004 037506 rtn 
-:      037508 z_g24_pairing_sm:
-0xa0005 037509 fetch 1 ,mem_24g_ensure 
-0xa0006 037510 beq ensure_on_24g ,enable_user 
-0xa0007 037511 fetch 1 ,mem_24g_pairing_sm 
-0xa0008 037512 beq state_24g_pairing_1 ,z_g24_pairing_sm_1 
-0xa0009 037513 beq state_24g_pairing_2 ,z_g24_pairing_sm_2 
-0xa000a 037514 beq state_24g_pairing_3 ,z_g24_pairing_sm_3 
-0xa000b 037515 branch assert 
-:      037517 z_g24_pairing_sm_1:
-0xa000c 037518 jam state_24g_pairing_1_waiting_ack ,mem_24g_pairing_sm 
-0xa000d 037519 jam 0xaa ,mem_24g_common_temp 
-0xa000e 037520 branch z_g24_pairing_sm_common 
-:      037521 z_g24_pairing_sm_2:
-0xa000f 037522 jam state_24g_pairing_2_waiting_ack ,mem_24g_pairing_sm 
-0xa0010 037523 jam 0x55 ,mem_24g_common_temp 
-0xa0011 037524 branch z_g24_pairing_sm_common 
-:      037525 z_g24_pairing_sm_3:
-0xa0012 037526 jam state_24g_pairing_3_waiting_ack ,mem_24g_pairing_sm 
-0xa0013 037527 jam 0x22 ,mem_24g_common_temp 
-:      037528 z_g24_pairing_sm_common:
-0xa0014 037529 fetch 1 ,mem_24g_data_type 
-0xa0015 037530 and_into bits_data ,pdata 
-0xa0016 037531 store 1 ,mem_24g_common_temp + 1 
-0xa0017 037532 fetch 4 ,mem_24g_device_addr 
-0xa0018 037533 store 4 ,mem_24g_common_temp + 2 
-:      037534 z_g24_put_pairing_data_in_buff:
-0xa0019 037535 jam 0 ,mem_24g_common_temp + 6 
-0xa001a 037536 arg mem_24g_common_temp ,rega 
-0xa001b 037537 arg 7 ,temp 
-0xa001c 037538 call p_g24_put_data_in_buff 
-0xa001d 037539 call p_g24_txdata_enable_tx 
-0xa001e 037540 branch enable_user 
-:      037542 z_g24_paring_mode:
-0xa001f 037543 fetch 1 ,mem_24g_pairing_sm 
-0xa0020 037544 rtneq state_24g_pairing_success 
-0xa0021 037545 beq state_24g_pairing_1_waiting_ack ,z_g24_pairing_sm_1_waiting_ack 
-0xa0022 037546 beq state_24g_pairing_2_waiting_ack ,z_g24_pairing_sm_2_waiting_ack 
-0xa0023 037547 beq state_24g_pairing_3_waiting_ack ,z_g24_pairing_sm_3_waiting_ack 
-0xa0024 037548 rtn 
-:      037550 z_g24_pairing_sm_1_waiting_ack:
-0xa0025 037551 jam state_24g_pairing_2 ,mem_24g_pairing_sm 
-0xa0026 037552 branch p_g24_transmit_abandon 
-:      037553 z_g24_pairing_sm_2_waiting_ack:
-0xa0027 037554 jam state_24g_pairing_3 ,mem_24g_pairing_sm 
-0xa0028 037555 branch p_g24_transmit_abandon 
-:      037556 z_g24_pairing_sm_3_waiting_ack:
-0xa0029 037557 jam state_24g_pairing_success ,mem_24g_pairing_sm 
-0xa002a 037558 jam bt_evt_24g_pairing_complete ,mem_fifo_temp 
-0xa002b 037559 call ui_ipc_send_event 
-0xa002c 037560 fetch 4 ,mem_24g_rxpayload + 2 
-0xa002d 037561 call p_g24_update_addr_and_synccrc8 
-0xa002e 037562 branch p_g24_transmit_abandon 
-:      037565 z_mouse_24g_pairing_complete:
-0xa002f 037566 call p_g24_transmit_by_interrupt_enable 
-0xa0030 037567 jam 1 ,mem_mouse_24g_enter_lpm_enable 
-0xa0031 037568 arg mosue_24g_pairing_flag ,queue 
-0xa0032 037569 call mouse_disable_function_flag 
-0xa0033 037570 setarg 0 
-0xa0034 037571 store 2 ,mem_24g_pairing_timer_count 
-0xa0035 037572 jam 0 ,mem_mouse_move_flag 
-0xa0036 037574 call mouse_read_sensor_common 
-0xa0037 037575 call p_mouse_null_enter_hibernate_disable 
-0xa0038 037576 call p_mouse_tx_power_init 
-0xa0039 037578 fetch 4 ,mem_24g_addr 
-0xa003a 037579 store 4 ,mem_mouse_24g_addr 
-0xa003b 037581 call mouse_cheak_select_24gdevice 
-0xa003c 037582 branch p_mouse_store_flash_device_info 
+:      037503 z_entrance9:
+0xa0001 037504 beq zcode_90 ,z_g24_pairing_sm 
+0xa0002 037505 beq zcode_91 ,z_g24_paring_mode 
+0xa0003 037506 beq zcode_92 ,z_mouse_24g_pairing_complete 
+0xa0004 037507 rtn 
+:      037509 z_g24_pairing_sm:
+0xa0005 037510 fetch 1 ,mem_24g_ensure 
+0xa0006 037511 beq ensure_on_24g ,enable_user 
+0xa0007 037512 fetch 1 ,mem_24g_pairing_sm 
+0xa0008 037513 beq state_24g_pairing_1 ,z_g24_pairing_sm_1 
+0xa0009 037514 beq state_24g_pairing_2 ,z_g24_pairing_sm_2 
+0xa000a 037515 beq state_24g_pairing_3 ,z_g24_pairing_sm_3 
+0xa000b 037516 branch assert 
+:      037518 z_g24_pairing_sm_1:
+0xa000c 037519 jam state_24g_pairing_1_waiting_ack ,mem_24g_pairing_sm 
+0xa000d 037520 jam 0xaa ,mem_24g_common_temp 
+0xa000e 037521 branch z_g24_pairing_sm_common 
+:      037522 z_g24_pairing_sm_2:
+0xa000f 037523 jam state_24g_pairing_2_waiting_ack ,mem_24g_pairing_sm 
+0xa0010 037524 jam 0x55 ,mem_24g_common_temp 
+0xa0011 037525 branch z_g24_pairing_sm_common 
+:      037526 z_g24_pairing_sm_3:
+0xa0012 037527 jam state_24g_pairing_3_waiting_ack ,mem_24g_pairing_sm 
+0xa0013 037528 jam 0x22 ,mem_24g_common_temp 
+:      037529 z_g24_pairing_sm_common:
+0xa0014 037530 fetch 1 ,mem_24g_data_type 
+0xa0015 037531 and_into bits_data ,pdata 
+0xa0016 037532 store 1 ,mem_24g_common_temp + 1 
+0xa0017 037533 fetch 4 ,mem_24g_device_addr 
+0xa0018 037534 store 4 ,mem_24g_common_temp + 2 
+:      037535 z_g24_put_pairing_data_in_buff:
+0xa0019 037536 jam 0 ,mem_24g_common_temp + 6 
+0xa001a 037537 arg mem_24g_common_temp ,rega 
+0xa001b 037538 arg 7 ,temp 
+0xa001c 037539 call p_g24_put_data_in_buff 
+0xa001d 037540 call p_g24_txdata_enable_tx 
+0xa001e 037541 branch enable_user 
+:      037543 z_g24_paring_mode:
+0xa001f 037544 fetch 1 ,mem_24g_pairing_sm 
+0xa0020 037545 rtneq state_24g_pairing_success 
+0xa0021 037546 beq state_24g_pairing_1_waiting_ack ,z_g24_pairing_sm_1_waiting_ack 
+0xa0022 037547 beq state_24g_pairing_2_waiting_ack ,z_g24_pairing_sm_2_waiting_ack 
+0xa0023 037548 beq state_24g_pairing_3_waiting_ack ,z_g24_pairing_sm_3_waiting_ack 
+0xa0024 037549 rtn 
+:      037551 z_g24_pairing_sm_1_waiting_ack:
+0xa0025 037552 jam state_24g_pairing_2 ,mem_24g_pairing_sm 
+0xa0026 037553 branch p_g24_transmit_abandon 
+:      037554 z_g24_pairing_sm_2_waiting_ack:
+0xa0027 037555 jam state_24g_pairing_3 ,mem_24g_pairing_sm 
+0xa0028 037556 branch p_g24_transmit_abandon 
+:      037557 z_g24_pairing_sm_3_waiting_ack:
+0xa0029 037558 jam state_24g_pairing_success ,mem_24g_pairing_sm 
+0xa002a 037559 jam bt_evt_24g_pairing_complete ,mem_fifo_temp 
+0xa002b 037560 call ui_ipc_send_event 
+0xa002c 037561 fetch 4 ,mem_24g_rxpayload + 2 
+0xa002d 037562 call p_g24_update_addr_and_synccrc8 
+0xa002e 037563 branch p_g24_transmit_abandon 
+:      037566 z_mouse_24g_pairing_complete:
+0xa002f 037567 call p_g24_transmit_by_interrupt_enable 
+0xa0030 037568 jam 1 ,mem_mouse_24g_enter_lpm_enable 
+0xa0031 037569 arg mosue_24g_pairing_flag ,queue 
+0xa0032 037570 call mouse_disable_function_flag 
+0xa0033 037571 setarg 0 
+0xa0034 037572 store 2 ,mem_24g_pairing_timer_count 
+0xa0035 037573 jam 0 ,mem_mouse_move_flag 
+0xa0036 037575 call mouse_read_sensor_common 
+0xa0037 037576 call p_mouse_null_enter_hibernate_disable 
+0xa0038 037577 call p_mouse_tx_power_init 
+0xa0039 037579 fetch 4 ,mem_24g_addr 
+0xa003a 037580 store 4 ,mem_mouse_24g_addr 
+0xa003b 037582 call mouse_cheak_select_24gdevice 
+0xa003c 037583 branch p_mouse_store_flash_device_info 
               org 0xb0001
-:      037586 z_entrancea:
-0xb0001 037587 beq zcode_a0 ,z_mouse_24g_attempt_fail 
-0xb0002 037588 beq zcode_a3 ,z_mouse_bb_event_reconn_timeout 
-0xb0003 037589 beq zcode_a4 ,z_mouse_before_hibernate 
-0xb0004 037590 rtn 
-:      037592 z_mouse_24g_attempt_fail:
-0xb0005 037593 jam g24_tx_timer_int_disable ,mem_24g_transmit_by_interrupt 
-0xb0006 037594 call p_mouse_tx_power_init 
-0xb0007 037595 call p_g24_check_51cmd_stop_24g 
-0xb0008 037596 jam 0 ,mem_link_key_exists 
-0xb0009 037597 call p_mouse_setgpio_hibernate 
-0xb000a 037598 branch p_mouse_null_enter_hibernate_enable 
-:      037601 z_mouse_bb_event_reconn_timeout:
-:      037602 z_mouse_bb_event_reconn_failed:
-0xb000b 037603 fetch 2 ,mem_ui_state_map 
-0xb000c 037604 rtnbit1 ui_state_btn_down 
-0xb000d 037605 rtnbit1 ui_state_bt_discovery 
-0xb000e 037606 rtnbit1 ui_state_ble_adv 
-0xb000f 037607 fetch mouse_flag_len ,mem_mouse_flag 
-0xb0010 037608 rtnbit1 mouse_bt_discovery_button_down_flag 
-0xb0011 037609 branch p_app_enter_hibernate 
-:      037613 z_mouse_before_hibernate:
-0xb0012 037614 enable user 
-0xb0013 037615 hfetch 4 ,0x8138 
-0xb0014 037616 setflag user ,26 ,pdata 
-0xb0015 037617 hstore 4 ,core_lpm_reg 
-0xb0016 037618 call lpm_write_ctrl 
-0xb0017 037619 call disable_authrom 
-0xb0018 037621 call mouse_before_hibernate_wheel_gpio_set 
-0xb0019 037622 fetcht 1 ,mem_24g_sw_gpio 
-0xb001a 037623 call gpio_out_active 
-0xb001b 037624 call p_mouse_setgpio_hibernate 
-0xb001c 037625 call p_flash_deep_power_down 
-0xb001d 037626 hfetch 1 ,core_gpio_sel1 
-0xb001e 037627 and pdata ,0xf7 ,pdata 
-0xb001f 037628 hstore 1 ,core_gpio_sel1 
-0xb0020 037629 fetcht 1 ,mem_sensor_data_gpio 
-0xb0021 037630 call gpio_clr_wake 
-0xb0022 037631 rtn 
+:      037587 z_entrancea:
+0xb0001 037588 beq zcode_a0 ,z_mouse_24g_attempt_fail 
+0xb0002 037589 beq zcode_a3 ,z_mouse_bb_event_reconn_timeout 
+0xb0003 037590 beq zcode_a4 ,z_mouse_before_hibernate 
+0xb0004 037591 rtn 
+:      037593 z_mouse_24g_attempt_fail:
+0xb0005 037594 jam g24_tx_timer_int_disable ,mem_24g_transmit_by_interrupt 
+0xb0006 037595 call p_mouse_tx_power_init 
+0xb0007 037596 call p_g24_check_51cmd_stop_24g 
+0xb0008 037597 jam 0 ,mem_link_key_exists 
+0xb0009 037598 call p_mouse_setgpio_hibernate 
+0xb000a 037599 branch p_mouse_null_enter_hibernate_enable 
+:      037602 z_mouse_bb_event_reconn_timeout:
+:      037603 z_mouse_bb_event_reconn_failed:
+0xb000b 037604 fetch 2 ,mem_ui_state_map 
+0xb000c 037605 rtnbit1 ui_state_btn_down 
+0xb000d 037606 rtnbit1 ui_state_bt_discovery 
+0xb000e 037607 rtnbit1 ui_state_ble_adv 
+0xb000f 037608 fetch mouse_flag_len ,mem_mouse_flag 
+0xb0010 037609 rtnbit1 mouse_bt_discovery_button_down_flag 
+0xb0011 037610 branch p_app_enter_hibernate 
+:      037614 z_mouse_before_hibernate:
+0xb0012 037615 enable user 
+0xb0013 037616 hfetch 4 ,0x8138 
+0xb0014 037617 setflag user ,26 ,pdata 
+0xb0015 037618 hstore 4 ,core_lpm_reg 
+0xb0016 037619 call lpm_write_ctrl 
+0xb0017 037620 call disable_authrom 
+0xb0018 037622 call mouse_before_hibernate_wheel_gpio_set 
+0xb0019 037623 fetcht 1 ,mem_24g_sw_gpio 
+0xb001a 037624 call gpio_out_active 
+0xb001b 037625 call p_mouse_setgpio_hibernate 
+0xb001c 037626 call p_flash_deep_power_down 
+0xb001d 037627 hfetch 1 ,core_gpio_sel1 
+0xb001e 037628 and pdata ,0xf7 ,pdata 
+0xb001f 037629 hstore 1 ,core_gpio_sel1 
+0xb0020 037630 fetcht 1 ,mem_sensor_data_gpio 
+0xb0021 037631 call gpio_clr_wake 
+0xb0022 037632 rtn 
               org 0xc0001
-:      037636 z_entranceb:
-0xc0001 037637 beq zcode_b1 ,z_mouse_sniff_not_accept 
-0xc0002 037638 beq zcode_b2 ,z_mouse_enter_sniff_check 
-0xc0003 037639 beq zcode_b4 ,z_mouse_bb_event_disconnected 
-0xc0004 037640 rtn 
-:      037643 z_mouse_sniff_not_accept:
-0xc0005 037644 fetch 1 ,mem_mouse_enter_sniff_count 
-0xc0006 037645 rtneq 2 
-0xc0007 037646 increase 1 ,pdata 
-0xc0008 037647 store 1 ,mem_mouse_enter_sniff_count 
-0xc0009 037648 jam 0x12 ,mem_sniff_param_interval 
-0xc000a 037649 branch app_bt_enter_sniff 
-:      037651 z_mouse_enter_sniff_check:
-0xc000b 037652 fetch 1 ,mem_mouse_enter_sniff_count 
-0xc000c 037653 rtnne 2 
-0xc000d 037654 jam 0 ,mem_mouse_enter_sniff_count 
-0xc000e 037655 jam 0x0e ,mem_sniff_param_interval 
-0xc000f 037656 branch app_bt_enter_sniff 
-:      037659 z_mouse_bb_event_disconnected:
-0xc0010 037660 jam 0 ,mem_bt_rcvd_switch_req_accept 
-0xc0011 037661 jam 0 ,mem_bt_send_lmp_setup_complete 
-0xc0012 037662 jam 0 ,mem_mouse_bt_send_first_package_flag 
-0xc0013 037663 branch mouse_bb_disconnected 
+:      037637 z_entranceb:
+0xc0001 037638 beq zcode_b1 ,z_mouse_sniff_not_accept 
+0xc0002 037639 beq zcode_b2 ,z_mouse_enter_sniff_check 
+0xc0003 037640 beq zcode_b4 ,z_mouse_bb_event_disconnected 
+0xc0004 037641 rtn 
+:      037644 z_mouse_sniff_not_accept:
+0xc0005 037645 fetch 1 ,mem_mouse_enter_sniff_count 
+0xc0006 037646 rtneq 2 
+0xc0007 037647 increase 1 ,pdata 
+0xc0008 037648 store 1 ,mem_mouse_enter_sniff_count 
+0xc0009 037649 jam 0x12 ,mem_sniff_param_interval 
+0xc000a 037650 branch app_bt_enter_sniff 
+:      037652 z_mouse_enter_sniff_check:
+0xc000b 037653 fetch 1 ,mem_mouse_enter_sniff_count 
+0xc000c 037654 rtnne 2 
+0xc000d 037655 jam 0 ,mem_mouse_enter_sniff_count 
+0xc000e 037656 jam 0x0e ,mem_sniff_param_interval 
+0xc000f 037657 branch app_bt_enter_sniff 
+:      037660 z_mouse_bb_event_disconnected:
+0xc0010 037661 jam 0 ,mem_bt_rcvd_switch_req_accept 
+0xc0011 037662 jam 0 ,mem_bt_send_lmp_setup_complete 
+0xc0012 037663 jam 0 ,mem_mouse_bt_send_first_package_flag 
+0xc0013 037664 branch mouse_bb_disconnected 
Index: output/bt_program23.meta
===================================================================
--- /branch/mouse_project/YDN_Project/YDN_1066_G535D/output/bt_program23.meta	(revision 3366)
+++ /branch/mouse_project/YDN_Project/YDN_1066_G535D/output/bt_program23.meta	(working copy)
@@ -37439,6 +37439,7 @@
 	call gpio_config_output
 	
 	call mouse_param_init
+	call mouse_sensor_set_angle
 	fetcht 1,mem_select_sensor_angle_gpio
 	call p_gpio_set_input_pd
 	call z_mouse_bt_sdp_update
Index: output/bt_program23.rom
===================================================================
--- /branch/mouse_project/YDN_Project/YDN_1066_G535D/output/bt_program23.rom	(revision 3366)
+++ /branch/mouse_project/YDN_Project/YDN_1066_G535D/output/bt_program23.rom	(working copy)
@@ -589825,16 +589825,17 @@
                                 
 11000000010000000000000000000011
 00100000011000000000000000000000
-00100000010000000000000000110011
+00100000010000000000000000110100
 00100000010000000011111001101110
 01101000000010001100101100100110
 00100000010000000110100000001110
 01101000000010001100101101000111
 00100000010000000110100000001110
 00100000010000000011111000011110
+00100000010000000011111001000100
 01101000000010001100011011110111
 00100000010000000000010110110100
-00100000010000000000000000011000
+00100000010000000000000000011001
 01011000000000000000000000000000
 01100000000000010100000101010100
 00100000010000000110100010100010
@@ -655358,7 +655359,6 @@
                                 
                                 
                                 
-                                
 11000000010010000000000000000101
 11000000010010001000000000011111
 11000000010010010000000000101111
Index: output/flash.dat
===================================================================
--- /branch/mouse_project/YDN_Project/YDN_1066_G535D/output/flash.dat	(revision 3366)
+++ /branch/mouse_project/YDN_Project/YDN_1066_G535D/output/flash.dat	(working copy)
@@ -8064,7 +8064,7 @@
 d5
 46
 0a
-c5
+45
 aa
 55
 01
@@ -9669,7 +9669,7 @@
 20
 40
 00
-33
+34
 20
 40
 3e
@@ -9694,6 +9694,10 @@
 40
 3e
 1e
+20
+40
+3e
+44
 68
 08
 c6
@@ -9705,7 +9709,7 @@
 20
 40
 00
-18
+19
 58
 00
 00
@@ -9906,10 +9910,6 @@
 00
 00
 00
-00
-00
-00
-00
 20
 20
 00
@@ -11962,5 +11962,5 @@
 55
 00
 00
-ee
-e8
+8b
+c5
Index: output/program.lis
===================================================================
--- /branch/mouse_project/YDN_Project/YDN_1066_G535D/output/program.lis	(revision 3366)
+++ /branch/mouse_project/YDN_Project/YDN_1066_G535D/output/program.lis	(working copy)
@@ -35789,61 +35789,62 @@
 90002 20600000 rtn 
 
 z_mouse_setting_config:
-90003 20400033 call z_g24_set_device_addr 
+90003 20400034 call z_g24_set_device_addr 
 90004 20403e6e call mouse_gpio_init 
 90005 6808cb26 fetcht 1 ,mem_24g_sw_gpio 
 90006 2040680e call gpio_config_output 
 90007 6808cb47 fetcht 1 ,mem_flash_ncs_gpio 
 90008 2040680e call gpio_config_output 
 90009 20403e1e call mouse_param_init 
-9000a 6808c6f7 fetcht 1 ,mem_select_sensor_angle_gpio 
-9000b 204005b4 call p_gpio_set_input_pd 
-9000c 20400018 call z_mouse_bt_sdp_update 
-9000d 58000000 setarg 0 
-9000e 60014154 store 2 ,mem_lpm_interval 
-9000f 204068a2 call load_adc_init 
-90010 20403e54 call mouse_adc_init 
-90011 204003a9 call p_flash_release_deep_power_down 
-90012 20400378 call p_mouse_set_24g_addr_flash 
-90013 6801c700 fetch 3 ,mem_flash_base 
-90014 9a40fe00 iadd regb ,pdata 
-90015 20406562 call spid_read_flash 
-90016 2040035c call p_mouse_load_flash_info_check 
-90017 20600000 rtn 
+9000a 20403e44 call mouse_sensor_set_angle 
+9000b 6808c6f7 fetcht 1 ,mem_select_sensor_angle_gpio 
+9000c 204005b4 call p_gpio_set_input_pd 
+9000d 20400019 call z_mouse_bt_sdp_update 
+9000e 58000000 setarg 0 
+9000f 60014154 store 2 ,mem_lpm_interval 
+90010 204068a2 call load_adc_init 
+90011 20403e54 call mouse_adc_init 
+90012 204003a9 call p_flash_release_deep_power_down 
+90013 20400378 call p_mouse_set_24g_addr_flash 
+90014 6801c700 fetch 3 ,mem_flash_base 
+90015 9a40fe00 iadd regb ,pdata 
+90016 20406562 call spid_read_flash 
+90017 2040035c call p_mouse_load_flash_info_check 
+90018 20600000 rtn 
 
 z_mouse_bt_sdp_update:
-90018 204074b9 call enable_authrom 
-90019 d8c08c00 arg 0x8c00 ,contr 
-9001a d8a04878 arg mem_mouse_uuid_list ,contw 
-9001b df200171 arg 369 ,loopcnt 
-9001c 20407f01 call memcpy 
-9001d 580f0209 setarg 0x0f0209 
-9001e e0a18000 istore 3 ,contw 
-9001f 58120009 setarg 0x120009 
-90020 e0a18000 istore 3 ,contw 
-90021 58100209 setarg 0x100209 
-90022 e0a18000 istore 3 ,contw 
-90023 58000009 setarg 0x000009 
-90024 e0a18000 istore 3 ,contw 
-90025 d8c08d71 arg 0x8d71 ,contr 
-90026 df200109 arg 265 ,loopcnt 
-90027 20407f01 call memcpy 
-90028 70488f00 jam 0 ,mem_mouse_uuid_list + 23 
-90029 7048876d jam 0x6d ,mem_mouse_uuid_list + 15 
-9002a 5800401f setarg 0x401f 
-9002b 600149dd store 2 ,mem_mouse_uuid_list + 357 
-9002c 58006d04 setarg 0x6d04 
-9002d 60014a46 store 2 ,mem_mouse_uuid_list + 462 
-9002e 580016b0 setarg 0x16b0 
-9002f 60014a4c store 2 ,mem_mouse_uuid_list + 468 
-90030 58004878 setarg mem_mouse_uuid_list 
-90031 60014575 store 2 ,mem_ui_uuid_table 
-90032 20600000 rtn 
+90019 204074b9 call enable_authrom 
+9001a d8c08c00 arg 0x8c00 ,contr 
+9001b d8a04878 arg mem_mouse_uuid_list ,contw 
+9001c df200171 arg 369 ,loopcnt 
+9001d 20407f01 call memcpy 
+9001e 580f0209 setarg 0x0f0209 
+9001f e0a18000 istore 3 ,contw 
+90020 58120009 setarg 0x120009 
+90021 e0a18000 istore 3 ,contw 
+90022 58100209 setarg 0x100209 
+90023 e0a18000 istore 3 ,contw 
+90024 58000009 setarg 0x000009 
+90025 e0a18000 istore 3 ,contw 
+90026 d8c08d71 arg 0x8d71 ,contr 
+90027 df200109 arg 265 ,loopcnt 
+90028 20407f01 call memcpy 
+90029 70488f00 jam 0 ,mem_mouse_uuid_list + 23 
+9002a 7048876d jam 0x6d ,mem_mouse_uuid_list + 15 
+9002b 5800401f setarg 0x401f 
+9002c 600149dd store 2 ,mem_mouse_uuid_list + 357 
+9002d 58006d04 setarg 0x6d04 
+9002e 60014a46 store 2 ,mem_mouse_uuid_list + 462 
+9002f 580016b0 setarg 0x16b0 
+90030 60014a4c store 2 ,mem_mouse_uuid_list + 468 
+90031 58004878 setarg mem_mouse_uuid_list 
+90032 60014575 store 2 ,mem_ui_uuid_table 
+90033 20600000 rtn 
 
 z_g24_set_device_addr:
-90033 680240a0 fetch 4 ,mem_lap 
-90034 60024c6c store 4 ,mem_24g_device_addr 
-90035 20600000 rtn 
+90034 680240a0 fetch 4 ,mem_lap 
+90035 60024c6c store 4 ,mem_24g_device_addr 
+90036 20600000 rtn 
               org 0xa0001
 
 z_entrance9:
Index: output/romcode.rom
===================================================================
--- /branch/mouse_project/YDN_Project/YDN_1066_G535D/output/romcode.rom	(revision 3366)
+++ /branch/mouse_project/YDN_Project/YDN_1066_G535D/output/romcode.rom	(working copy)
@@ -24932,16 +24932,17 @@
 202001ca
 c0400003
 20600000
-20400033
+20400034
 20403e6e
 6808cb26
 2040680e
 6808cb47
 2040680e
 20403e1e
+20403e44
 6808c6f7
 204005b4
-20400018
+20400019
 58000000
 60014154
 204068a2
@@ -25096,4 +25097,4 @@
 704b0300
 704b0c00
 202041d9
-00006486
+0000028d
Index: output/sched.rom
===================================================================
--- /branch/mouse_project/YDN_Project/YDN_1066_G535D/output/sched.rom	(revision 3338)
+++ /branch/mouse_project/YDN_Project/YDN_1066_G535D/output/sched.rom	(working copy)
@@ -92,7 +92,7 @@
 #bit5 MOUSE_ENABLE_AUTO_24G_PARING
 #bit6 MOUSE_ENABLE_WAKEUP_FROM_POWER
 #bit7 MOUSE_ENABLE_GPIO_CONTROL_ADC_SENSOR
-c5
+45
 
 mem_app_connection_options:06
 mem_lap:20 51 17 01 20 10
Index: program/z.prog
===================================================================
--- /branch/mouse_project/YDN_Project/YDN_1066_G535D/program/z.prog	(revision 3338)
+++ /branch/mouse_project/YDN_Project/YDN_1066_G535D/program/z.prog	(working copy)
@@ -595,6 +595,7 @@
 	call gpio_config_output
 	
 	call mouse_param_init
+	call mouse_sensor_set_angle
 	fetcht 1,mem_select_sensor_angle_gpio
 	call p_gpio_set_input_pd
 ifdef CLASSIC_BT
Index: sched/mouse.dat
===================================================================
--- /branch/mouse_project/YDN_Project/YDN_1066_G535D/sched/mouse.dat	(revision 3338)
+++ /branch/mouse_project/YDN_Project/YDN_1066_G535D/sched/mouse.dat	(working copy)
@@ -57,7 +57,7 @@
 #bit5 MOUSE_ENABLE_AUTO_24G_PARING
 #bit6 MOUSE_ENABLE_WAKEUP_FROM_POWER
 #bit7 MOUSE_ENABLE_GPIO_CONTROL_ADC_SENSOR
-c5
+45
 
 mem_app_connection_options:06
 mem_lap:20 51 17 01 20 10
