Quellcode durchsuchen

added trace output for RegisterOnboardPort as well

git-svn-id: https://svn.inf.ethz.ch/svn/lecturers/a2/trunk@7651 8c9fc860-2736-0410-a75d-ab315db34111
eth.morozova vor 7 Jahren
Ursprung
Commit
d6416b884f
1 geänderte Dateien mit 1 neuen und 0 gelöschten Zeilen
  1. 1 0
      source/Serials.Mod

+ 1 - 0
source/Serials.Mod

@@ -183,6 +183,7 @@ BEGIN {EXCLUSIVE}
 		ports[portNumber-1] := port;
 		COPY(name, port.name);
 		COPY(description, port.description);
+		IF Verbose THEN KernelLog.String("Serials: "); port.Show; KernelLog.String(" is now available."); KernelLog.Ln; END;
 	ELSE
 		KernelLog.String("Serials: Warning; Could not register onboard port."); KernelLog.Ln;
 	END;