Add control.dmesg

This commit is contained in:
Michal Moskal
2017-07-10 11:42:30 +01:00
parent 1e3bce6d44
commit 6b5dd6c07b
5 changed files with 13 additions and 4 deletions

View File

@ -22,4 +22,9 @@ int allocateNotifyEvent() {
return pxt::allocateNotifyEvent();
}
/** Write data to DMESG debugging buffer. */
//%
void dmesg(String s) {
DMESG("# %s", s->data);
}
}