fix build issues
This commit is contained in:
parent
a3e431c892
commit
f8ef7bb943
@ -749,9 +749,3 @@ namespace motors {
|
||||
control.dmesg('end step')
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
interface Buffer {
|
||||
[index: number]: number;
|
||||
// rest defined in buffer.cpp
|
||||
}
|
@ -44,7 +44,7 @@ namespace console._screen {
|
||||
printLog();
|
||||
}
|
||||
|
||||
function log(msg: string): void {
|
||||
function log(priority: ConsolePriority, msg: string): void {
|
||||
lines.push(msg);
|
||||
if (lines.length + 5 > maxLines) {
|
||||
lines.splice(0, maxLines - lines.length);
|
||||
|
Loading…
Reference in New Issue
Block a user