Fix: 修复在线版下一些micropython板卡上传代码不全

This commit is contained in:
王立帮
2025-03-20 20:50:18 +08:00
parent 69af5bb174
commit 3494e0f356

View File

@@ -35,8 +35,8 @@ class AmpyExt extends Ampy {
#receiveTemp_ = [];
#writeBuffer_ = true;
#active_ = false;
#dataLength_ = 256;
constructor(device, writeBuffer = true, dataLength = 256) {
#dataLength_ = 32;
constructor(device, writeBuffer = true, dataLength = 32) {
super();
this.#device_ = device;
this.#writeBuffer_ = writeBuffer;