diff --git a/README.md b/README.md
index 5ef8f60ef633af9e2e4ae82cd5c2fc37c25c359e..521b0de0419f8348be8bc8f1e7ef7eced77827fa 100644
--- a/README.md
+++ b/README.md
@@ -1,5 +1,5 @@
 # SRP lab in d7020e
-
+---
 ## Install
 
 Open terminal
diff --git a/d7020e_srp Debug oldgdb.launch b/d7020e_srp Debug oldgdb.launch
index d4f762ded349579b0bc06945233f36f1371c2f10..e3c351bfd0dbe85e857165acfdac5e0bcc2ff37b 100644
--- a/d7020e_srp Debug oldgdb.launch	
+++ b/d7020e_srp Debug oldgdb.launch	
@@ -1,6 +1,6 @@
 <?xml version="1.0" encoding="UTF-8" standalone="no"?>
 <launchConfiguration type="ilg.gnuarmeclipse.debug.gdbjtag.openocd.launchConfigurationType">
-<stringAttribute key="ilg.gnuarmeclipse.debug.gdbjtag.PERIPHERALS" value="&lt;?xml version=&quot;1.0&quot; encoding=&quot;UTF-8&quot; standalone=&quot;no&quot;?&gt;&#10;&lt;peripherals/&gt;&#10;"/>
+<stringAttribute key="ilg.gnuarmeclipse.debug.gdbjtag.PERIPHERALS" value="&lt;?xml version=&quot;1.0&quot; encoding=&quot;UTF-8&quot; standalone=&quot;no&quot;?&gt;&#10;&lt;peripherals&gt;&#10;&lt;peripheral name=&quot;SYSCFG&quot;/&gt;&#10;&lt;/peripherals&gt;&#10;"/>
 <booleanAttribute key="ilg.gnuarmeclipse.debug.gdbjtag.openocd.doContinue" value="true"/>
 <booleanAttribute key="ilg.gnuarmeclipse.debug.gdbjtag.openocd.doDebugInRam" value="false"/>
 <booleanAttribute key="ilg.gnuarmeclipse.debug.gdbjtag.openocd.doFirstReset" value="true"/>
diff --git a/src/main.c b/src/main.c
index be522cab1d2cba826a6d9a73e3fa726099f6b8db..2ea8db60d60c4e72c5e15647afdaf4fe06c8632e 100644
--- a/src/main.c
+++ b/src/main.c
@@ -69,9 +69,9 @@ TASK(j2) {
 /* enable in assignment c
 TASK(j3) {
 	trace_printf("j3_enter\n");
-	LOCK(r1);
-		trace_printf("j3_r1_locked\n");
-	UNLOCK(r1);
+	LOCK(r2);
+		trace_printf("j3_r2_locked\n");
+	UNLOCK(r2);
 	JOB_REQUEST(j1);
 	trace_printf("j3_exit\n");
 }
@@ -123,9 +123,9 @@ add a third task at priority 3
 
 TASK(j3) {
 	trace_printf("j3_enter\n");
-	LOCK(r1);
-		trace_printf("j3_r1_locked\n");
-	UNLOCK(r1);
+	LOCK(r2);
+		trace_printf("j3_r2_locked\n");
+	UNLOCK(r2);
 	JOB_REQUEST(j1);
 	trace_printf("j3_exit\n");
 }