浏览代码

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 7 年之前
父节点
当前提交
d6416b884f
共有 1 个文件被更改,包括 1 次插入0 次删除
  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;