diff --git a/Nasal/electrical.nas b/Nasal/electrical.nas
index cd397a80..147f74ec 100644
--- a/Nasal/electrical.nas
+++ b/Nasal/electrical.nas
@@ -429,7 +429,7 @@ var master_elec = func {
 	}
 	
 	if ((dc1 > 25 or dc2 > 25) and battery2_sw and !batt2_fail) {
-		decharge1.stop();
+		decharge2.stop();
 		charge2.start();
 	}
 
diff --git a/revision.txt b/revision.txt
index 42cda8bd..9fb8c1e9 100644
--- a/revision.txt
+++ b/revision.txt
@@ -1 +1 @@
-1520 
\ No newline at end of file
+1521
\ No newline at end of file