Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion examples/espressif/esp/src/rtos.zig
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ fn task1(queue: *rtos.Queue(u32)) void {
}

pub fn main() !void {
var heap = microzig.Allocator.init_with_buffer(&heap_buf);
var heap = try microzig.Allocator.init_with_buffer(&heap_buf);
const gpa = heap.allocator();

var buffer: [1]u32 = undefined;
Expand Down
2 changes: 1 addition & 1 deletion examples/espressif/esp/src/tcp_server.zig
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ var ip: lwip.c.ip_addr_t = undefined;

extern fn netconn_new_with_proto_and_callback(t: lwip.c.enum_netconn_type, proto: lwip.c.u8_t, callback: ?*const anyopaque) [*c]lwip.c.struct_netconn;
pub fn main() !void {
var heap_allocator: microzig.Allocator = .init_with_heap(16384);
var heap_allocator: microzig.Allocator = try .init_with_heap(16384);
const gpa = heap_allocator.allocator();

try radio.wifi.init(gpa, .{});
Expand Down
Loading