init before sending image

This commit is contained in:
Shuanglei Tao
2026-01-16 11:01:43 +08:00
parent 3ff88ad017
commit 3f97bcfdef

View File

@@ -217,6 +217,8 @@ async function sendimg() {
updateButtonStatus(true);
await write(EpdCmd.INIT);
if (ditherMode === 'fourColor') {
await writeImage(processedData, 'color');
} else if (ditherMode === 'threeColor') {