Use custom build of ev3-api, and own screen refresh

This commit is contained in:
Michal Moskal
2017-07-07 10:38:20 +01:00
parent 6fb7908b21
commit 43b167957b
6 changed files with 43 additions and 18 deletions

View File

@ -117,6 +117,14 @@ namespace pxt.editor {
}).filter(v => !!v))
}
rmAsync(path: string): Promise<void> {
let rmReq = this.allocSystem(path.length + 1, 0x9c)
U.memcpy(rmReq, 6, U.stringToUint8Array(path))
return this.talkAsync(rmReq)
.then(resp => { })
}
private initAsync() {
return Promise.resolve()
}