Merge pull request #2044 from BartS23/thumbnailer

[thumbnailer.js] Output app name, reset lcd and intervals
pull/2048/head^2
Gordon Williams 2022-07-14 12:46:37 +01:00 committed by GitHub
commit 411ca69c56
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 1 deletions

View File

@ -79,7 +79,7 @@ function getThumbnail(appId, imageFn) {
settings : SETTINGS,
device : { id : DEVICEID }
}).then(files => {
console.log("AppInfo returned");//, files);
console.log(`AppInfo returned for ${appId}`);//, files);
flashMemory.set(factoryFlashMemory);
jsTransmitString("reset()\n");
console.log("Uploading...");
@ -89,6 +89,7 @@ function getThumbnail(appId, imageFn) {
appLog = "";
jsTransmitString(command);
console.log("Done.");
jsTransmitString("Bangle.setLCDMode();clearInterval();clearTimeout();\n");
jsStopIdle();
var rgba = new Uint8Array(GFX_WIDTH*GFX_HEIGHT*4);