Hide or remove logging (#523)

* Hide or remove logging

* Remote dmsg
This commit is contained in:
Sam El-Husseini
2018-04-15 19:36:10 -07:00
committed by GitHub
parent be207282e3
commit e43837d358
5 changed files with 5 additions and 33 deletions

View File

@ -48,19 +48,12 @@ namespace pxsim {
let v = "vSIM"
for (let i = 0; i < buf.data.length; ++i)
buf.data[i] = v.charCodeAt(i) || 0
console.log("analog read");
console.log(buf.data);
return buf.data.length
},
write: buf => {
console.log("analog write");
console.log(buf);
return 2
},
ioctl: (id, buf) => {
console.log("analog ioctl");
console.log(id);
console.log(buf);
return 2;
}
})