Sfoglia il codice sorgente

Manually call self termination

DricomDragon 5 anni fa
parent
commit
a92b3fbc33
1 ha cambiato i file con 2 aggiunte e 0 eliminazioni
  1. 2 0
      prog/sources/user-tasks.cpp

+ 2 - 0
prog/sources/user-tasks.cpp

@@ -20,6 +20,8 @@ static void task1 (USER_MODE) {
 			counter ++;
 		}
 	}
+
+	taskSelfTerminates (MODE);
 }