Skip to content

Commit b65aaa7

Browse files
committed
Update knock-lock evaluation
1 parent 465153a commit b65aaa7

File tree

4 files changed

+4
-2
lines changed

4 files changed

+4
-2
lines changed
Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
build:
2+
asc knock-lock.ts -o upload.wasm --disable mutable-globals --disable sign-extension --disable nontrapping-f2i --disable bulk-memory --sourceMap --debug -Ospeed

benchmarks/arduino-knock-lock/knock-lock.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ export function main(): void {
5656
//print("the box is unlocked!\n");
5757

5858
//while (true) {
59-
//while (true) {
59+
// Run the test for two loop iterations.
6060
for (let i = 0; i < 2; i++) {
6161
if (!locked) {
6262
switchVal = chip_digital_read(Pin.switchPin);
0 Bytes
Binary file not shown.

benchmarks/arduino-knock-lock/upload.wasm.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)