Console to dmesg (#910)

* always pip console.log to dmesg

* trim new line

* restore storage

* restore new line

* remove unused variable
This commit is contained in:
Peli de Halleux
2019-09-07 18:22:39 -07:00
committed by GitHub
parent 5314515619
commit 2975bf2b55
2 changed files with 3 additions and 2 deletions

View File

@ -3,7 +3,6 @@ namespace storage {
storage.temporary.remove("console.txt");
console.addListener(function(line) {
const fn = "console.txt";
const mxs = 65536;
const t = control.millis();
storage.temporary.appendLine(fn, `${t}> ${line}`);
storage.temporary.limit(fn, 65536);