Skip to content

Commit 2650067

Browse files
committed
minor comment fixes
1 parent b61d9dd commit 2650067

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

examples/raspberrypi/rp2xxx/src/async_blinky.zig

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ pub fn main() !void {
3838
rp2xxx.uart.init_logger(uart);
3939

4040
// Set up stacks. A helper function that automates this would be nice.
41-
const max_tasks = 2;
41+
const max_tasks = 8;
4242
var task_stacks_data: [max_tasks][1024]usize = undefined;
4343
var task_stacks: [max_tasks]*Io.PauseReason = undefined;
4444
for (&task_stacks, &task_stacks_data) |*dst, *src|
@@ -50,7 +50,6 @@ pub fn main() !void {
5050
io.async(task_blink, .{ &io, 24_000 });
5151
io.async(task_blink, .{ &io, 25_000 });
5252

53-
// We might want both a monotonic clock and an epoch-synchronized one.
5453
var deadline: time.Absolute = get_time_since_boot();
5554
var cnt: u32 = 0;
5655
while (true) {

port/raspberrypi/rp2xxx/src/hal/Io.zig

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -162,6 +162,7 @@ pub const ContextArm = extern struct {
162162
}
163163
};
164164

165+
// TODO
165166
pub const ContextRV32 = struct {
166167
pub fn save_and_switch(save_to: **PauseReason, switch_to: *@This(), reason: *const PauseReason) void {
167168
_ = save_to;

0 commit comments

Comments
 (0)