一些小优化

This commit is contained in:
liub
2026-02-10 15:45:45 +08:00
parent 63214ded3b
commit fc88bd6f7d
8 changed files with 51 additions and 40 deletions

View File

@ -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的当前位置