fix build issues
This commit is contained in:
		@@ -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);
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user