Skip to content

Commit

Permalink
更新 display.ts, displaySendBuffer.asm
Browse files Browse the repository at this point in the history
  • Loading branch information
elecfreaks1 committed Sep 5, 2023
1 parent 7305ba3 commit 9e375cf
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions display.ts
Original file line number Diff line number Diff line change
Expand Up @@ -651,8 +651,8 @@ namespace PlanetX_Display {
}
}
}
//% shim=pxtsendBufferAsm
function pxtsendBuffer(buf: Buffer, pin: DigitalPin) {
//% shim=sendBufferAsm
function sendBuffer(buf: Buffer, pin: DigitalPin) {
}
export class Strip {
buf:Buffer;
Expand Down Expand Up @@ -762,7 +762,7 @@ namespace PlanetX_Display {
//% weight=79
//% parts="neopixel" subcategory=Neopixel
show() {
pxtsendBuffer(this.buf, this.pin);
sendBuffer(this.buf, this.pin);
}

/**
Expand Down
2 changes: 1 addition & 1 deletion displaySendBuffer.asm
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
pxtsendBufferAsm:
sendBufferAsm:

push {r4,r5,r6,r7,lr}
Expand Down

0 comments on commit 9e375cf

Please sign in to comment.