一些小优化
This commit is contained in:
@ -715,7 +715,7 @@
|
||||
return new Promise((resolve, reject) => {
|
||||
// 创建RGB565格式的像素数据
|
||||
// console.log("pixels=",pixels);
|
||||
const arr = ble.convertToRGB565(pixels, 'bgr');
|
||||
const arr = Common.convertToRGB565(pixels, 'bgr');
|
||||
|
||||
var list = [];
|
||||
let index = 0; // 用于追踪arr的当前位置
|
||||
|
||||
Reference in New Issue
Block a user