Skip to content

Commit 9650c4b

Browse files
committed
Buttons OK
1 parent c80556b commit 9650c4b

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

feature-phone.wasm

32 Bytes
Binary file not shown.

feature-phone.zig

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -225,7 +225,9 @@ export fn eventHandler(e: ?*c.lv_event_t) void {
225225
debug("Call {s}", .{call_number});
226226

227227
if (builtin.cpu.arch == .wasm32 or builtin.cpu.arch == .wasm64) {
228-
debug("webasm", .{});
228+
debug("Running in WebAssembly, simulate the Phone Call", .{});
229+
} else {
230+
debug("Running on PinePhone, make an actual Phone Call", {});
229231
}
230232
} else if (std.mem.eql(u8, span, "Cancel")) {
231233
// If Cancel is clicked, erase the last digit

0 commit comments

Comments
 (0)