Skip to content

Commit 18630a8

Browse files
committed
adding fn ids to buffer
1 parent 3f1e332 commit 18630a8

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

screen.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -155,7 +155,7 @@ namespace user_interface_base {
155155
c: number
156156
) {
157157
basic.showNumber(0);
158-
radio.sendBuffer(Buffer.fromArray([6]));
158+
radio.sendBuffer(Buffer.fromArray([0, 6]));
159159
}
160160

161161
public static fillRect(
@@ -166,7 +166,7 @@ namespace user_interface_base {
166166
c: number
167167
) {
168168
basic.showNumber(1);
169-
radio.sendBuffer(Buffer.fromArray([x, y, width, height, c]));
169+
radio.sendBuffer(Buffer.fromArray([1, x, y, width, height, c]));
170170
}
171171

172172
public static fillRectXfrm(

0 commit comments

Comments
 (0)