Merge branch 'master' of github.com:espruino/BangleApps
commit
12591503ba
|
|
@ -79,7 +79,7 @@ function getThumbnail(appId, imageFn) {
|
||||||
settings : SETTINGS,
|
settings : SETTINGS,
|
||||||
device : { id : DEVICEID }
|
device : { id : DEVICEID }
|
||||||
}).then(files => {
|
}).then(files => {
|
||||||
console.log("AppInfo returned");//, files);
|
console.log(`AppInfo returned for ${appId}`);//, files);
|
||||||
flashMemory.set(factoryFlashMemory);
|
flashMemory.set(factoryFlashMemory);
|
||||||
jsTransmitString("reset()\n");
|
jsTransmitString("reset()\n");
|
||||||
console.log("Uploading...");
|
console.log("Uploading...");
|
||||||
|
|
@ -89,6 +89,7 @@ function getThumbnail(appId, imageFn) {
|
||||||
appLog = "";
|
appLog = "";
|
||||||
jsTransmitString(command);
|
jsTransmitString(command);
|
||||||
console.log("Done.");
|
console.log("Done.");
|
||||||
|
jsTransmitString("Bangle.setLCDMode();clearInterval();clearTimeout();\n");
|
||||||
jsStopIdle();
|
jsStopIdle();
|
||||||
|
|
||||||
var rgba = new Uint8Array(GFX_WIDTH*GFX_HEIGHT*4);
|
var rgba = new Uint8Array(GFX_WIDTH*GFX_HEIGHT*4);
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue