Skip to content

Commit de3a7f3

Browse files
s-hadingergithub-actions[bot]
authored andcommitted
Solidified Code updated
1 parent 1792439 commit de3a7f3

File tree

1 file changed

+25
-19
lines changed

1 file changed

+25
-19
lines changed

lib/libesp32/berry_tasmota/src/solidify/solidified_leds.h

+25-19
Original file line numberDiff line numberDiff line change
@@ -1554,7 +1554,7 @@ be_local_closure(class_Leds_matrix, /* name */
15541554
********************************************************************/
15551555
be_local_closure(class_Leds_pixels_buffer, /* name */
15561556
be_nested_proto(
1557-
8, /* nstack */
1557+
7, /* nstack */
15581558
2, /* argc */
15591559
10, /* varg */
15601560
0, /* has upvals */
@@ -1565,28 +1565,34 @@ be_local_closure(class_Leds_pixels_buffer, /* name */
15651565
&be_ktab_class_Leds, /* shared constants */
15661566
&be_const_str_pixels_buffer,
15671567
&be_const_str_solidified,
1568-
( &(const binstruction[21]) { /* code */
1568+
( &(const binstruction[27]) { /* code */
15691569
0x8C080109, // 0000 GETMET R2 R0 K9
15701570
0x54120005, // 0001 LDINT R4 6
15711571
0x7C080400, // 0002 CALL R2 2
1572-
0x4C0C0000, // 0003 LDNIL R3
1573-
0x1C0C0203, // 0004 EQ R3 R1 R3
1574-
0x780E0009, // 0005 JMPF R3 #0010
1575-
0x600C0015, // 0006 GETGBL R3 G21
1576-
0x5C100400, // 0007 MOVE R4 R2
1577-
0x8C14010A, // 0008 GETMET R5 R0 K10
1578-
0x7C140200, // 0009 CALL R5 1
1579-
0x8C18010B, // 000A GETMET R6 R0 K11
1580-
0x7C180200, // 000B CALL R6 1
1581-
0x08140A06, // 000C MUL R5 R5 R6
1582-
0x7C0C0400, // 000D CALL R3 2
1583-
0x80040600, // 000E RET 1 R3
1584-
0x70020003, // 000F JMP #0014
1585-
0x8C0C030C, // 0010 GETMET R3 R1 K12
1572+
0x8C0C010A, // 0003 GETMET R3 R0 K10
1573+
0x7C0C0200, // 0004 CALL R3 1
1574+
0x8C10010B, // 0005 GETMET R4 R0 K11
1575+
0x7C100200, // 0006 CALL R4 1
1576+
0x080C0604, // 0007 MUL R3 R3 R4
1577+
0x4C100000, // 0008 LDNIL R4
1578+
0x1C100204, // 0009 EQ R4 R1 R4
1579+
0x74120004, // 000A JMPT R4 #0010
1580+
0x6010000C, // 000B GETGBL R4 G12
1581+
0x5C140400, // 000C MOVE R5 R2
1582+
0x7C100200, // 000D CALL R4 1
1583+
0x20100803, // 000E NE R4 R4 R3
1584+
0x78120005, // 000F JMPF R4 #0016
1585+
0x60100015, // 0010 GETGBL R4 G21
15861586
0x5C140400, // 0011 MOVE R5 R2
1587-
0x7C0C0400, // 0012 CALL R3 2
1588-
0x80040200, // 0013 RET 1 R1
1589-
0x80000000, // 0014 RET 0
1587+
0x5C180600, // 0012 MOVE R6 R3
1588+
0x7C100400, // 0013 CALL R4 2
1589+
0x80040800, // 0014 RET 1 R4
1590+
0x70020003, // 0015 JMP #001A
1591+
0x8C10030C, // 0016 GETMET R4 R1 K12
1592+
0x5C180400, // 0017 MOVE R6 R2
1593+
0x7C100400, // 0018 CALL R4 2
1594+
0x80040200, // 0019 RET 1 R1
1595+
0x80000000, // 001A RET 0
15901596
})
15911597
)
15921598
);

0 commit comments

Comments
 (0)