Index: output/eeprom.dat
===================================================================
--- /YC1308AC/branch/mouse_project/YHK/mouse_only_24g/output/eeprom.dat	(revision 621)
+++ /YC1308AC/branch/mouse_project/YHK/mouse_only_24g/output/eeprom.dat	(working copy)
@@ -2,7 +2,7 @@
 02
 aa
 55
-62
+8e
 08
 c2
 84
@@ -31,15 +31,15 @@
 c0
 68
 01
-d5
+db
 c0
 6b
 01
-cd
+d3
 c0
 6c
 81
-e6
+ec
 20
 20
 13
@@ -1844,6 +1844,30 @@
 40
 60
 93
+6f
+e0
+80
+a1
+79
+3f
+fe
+03
+67
+e0
+80
+a1
+6f
+e0
+80
+9f
+79
+3f
+fe
+03
+67
+e0
+80
+9f
 20
 20
 3e
@@ -1855,7 +1879,7 @@
 c0
 1e
 01
-d0
+d6
 20
 20
 43
@@ -1887,7 +1911,7 @@
 20
 40
 01
-d8
+de
 20
 20
 40
@@ -1939,7 +1963,7 @@
 20
 3a
 01
-f1
+f7
 67
 e0
 cb
@@ -1951,7 +1975,7 @@
 20
 40
 02
-03
+09
 20
 40
 3e
@@ -1975,7 +1999,7 @@
 20
 40
 01
-ee
+f4
 20
 20
 44
@@ -1987,7 +2011,7 @@
 da
 40
 01
-f1
+f7
 20
 20
 31
@@ -2030,12 +2054,12 @@
 03
 20
 41
-01
-fd
+02
+03
 24
 41
 02
-01
+07
 20
 20
 48
@@ -2091,11 +2115,11 @@
 20
 3a
 02
-0c
+12
 20
 40
 02
-0e
+15
 20
 20
 49
@@ -2103,7 +2127,11 @@
 20
 40
 02
-0e
+15
+20
+40
+02
+1f
 20
 20
 49
@@ -2148,8 +2176,24 @@
 20
 60
 69
-9f
-b9
+d8
+40
+00
+03
+20
+40
+3f
+56
+d8
+40
+00
+13
+20
+20
+3f
+56
+be
+e6
 aa
 55
 40
@@ -3362,52 +3406,8 @@
 55
 5a
 69
-9c
-ce
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
+bc
+e9
 ff
 ff
 ff
@@ -8188,5 +8188,5 @@
 ff
 ff
 ff
-91
-e3
+bc
+e5
Index: output/flash.dat
===================================================================
--- /YC1308AC/branch/mouse_project/YHK/mouse_only_24g/output/flash.dat	(revision 621)
+++ /YC1308AC/branch/mouse_project/YHK/mouse_only_24g/output/flash.dat	(working copy)
@@ -2,7 +2,7 @@
 02
 aa
 55
-62
+8e
 08
 c2
 84
@@ -31,15 +31,15 @@
 c0
 68
 01
-d5
+db
 c0
 6b
 01
-cd
+d3
 c0
 6c
 81
-e6
+ec
 20
 20
 13
@@ -1844,6 +1844,30 @@
 40
 60
 93
+6f
+e0
+80
+a1
+79
+3f
+fe
+03
+67
+e0
+80
+a1
+6f
+e0
+80
+9f
+79
+3f
+fe
+03
+67
+e0
+80
+9f
 20
 20
 3e
@@ -1855,7 +1879,7 @@
 c0
 1e
 01
-d0
+d6
 20
 20
 43
@@ -1887,7 +1911,7 @@
 20
 40
 01
-d8
+de
 20
 20
 40
@@ -1939,7 +1963,7 @@
 20
 3a
 01
-f1
+f7
 67
 e0
 cb
@@ -1951,7 +1975,7 @@
 20
 40
 02
-03
+09
 20
 40
 3e
@@ -1975,7 +1999,7 @@
 20
 40
 01
-ee
+f4
 20
 20
 44
@@ -1987,7 +2011,7 @@
 da
 40
 01
-f1
+f7
 20
 20
 31
@@ -2030,12 +2054,12 @@
 03
 20
 41
-01
-fd
+02
+03
 24
 41
 02
-01
+07
 20
 20
 48
@@ -2091,11 +2115,11 @@
 20
 3a
 02
-0c
+12
 20
 40
 02
-0e
+15
 20
 20
 49
@@ -2103,7 +2127,11 @@
 20
 40
 02
-0e
+15
+20
+40
+02
+1f
 20
 20
 49
@@ -2148,8 +2176,24 @@
 20
 60
 69
-9f
-b9
+d8
+40
+00
+03
+20
+40
+3f
+56
+d8
+40
+00
+13
+20
+20
+3f
+56
+be
+e6
 aa
 55
 40
@@ -3362,52 +3406,8 @@
 55
 5a
 69
-9c
-ce
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
+bc
+e9
 ff
 ff
 ff
@@ -8188,5 +8188,5 @@
 ff
 ff
 ff
-91
-e3
+bc
+e5
Index: program/patch.prog
===================================================================
--- /YC1308AC/branch/mouse_project/YHK/mouse_only_24g/program/patch.prog	(revision 621)
+++ /YC1308AC/branch/mouse_project/YHK/mouse_only_24g/program/patch.prog	(working copy)
@@ -628,6 +628,15 @@
 	fetch 1,mem_mouse_sensor_sclk_gpio	// set sclk high
 	arg gpcfg_output_high,temp
  	call gpio_config_function_int
+
+	fetch 1,mem_gpio_wakeup_low+2	//clear gpio19 wakeup
+	set0 3,pdata
+	store 1,mem_gpio_wakeup_low+2
+
+ 	fetch 1,mem_gpio_wakeup_low		//clear gpio3 wakeup
+	set0 3,pdata
+	store 1,mem_gpio_wakeup_low
+ 	
 	branch mouse_lpm_before_common_next
 
 
@@ -722,6 +731,7 @@
 
 p_mouse_device_led_off:
 	call p_mouse_led_config_ouput
+	call p_mouse_reuse_ice_gpio_config_input
 	branch mouse_device_led_off
 
 p_mouse_led_config_ouput:
@@ -739,6 +749,12 @@
 
 	fetcht 1,mem_dpi_led_gpio
 	branch gpio_config_output
+
+p_mouse_reuse_ice_gpio_config_input:	//ice gpio config led
+	arg 0x03,temp
+	call mouse_gpio_config_input_pu
+	arg 0x13,temp
+	branch mouse_gpio_config_input_pu
 	
 /////////////////////////////////////////////////////////////////////////////////////////////////
 	
