File tree Expand file tree Collapse file tree 2 files changed +1
-10
lines changed
examples/raspberrypi/rp2xxx/src
port/raspberrypi/rp2xxx/src/hal Expand file tree Collapse file tree 2 files changed +1
-10
lines changed Original file line number Diff line number Diff line change @@ -39,7 +39,7 @@ const baud_rate = 115200;
3939pub const microzig_options = microzig.Options {
4040 .log_level = .debug ,
4141 //.logFn = hal.uart.logFn,
42- .logFn = hal .uart .logFnThreadsafe ,
42+ .logFn = hal .uart .log_threadsafe ,
4343};
4444
4545pub fn main () ! void {
Original file line number Diff line number Diff line change @@ -490,18 +490,9 @@ pub fn log(
490490
491491var log_mutex : microzig.hal.mutex.Mutex = .{};
492492
493- <<<<<<< HEAD
494493/// This log function wraps `log` in a semaphore so that calls to it from
495494/// different cores or interrupts don't collide.
496495pub fn log_threadsafe (
497- ====== =
498- /// This log function wraps logFn in a mutex so that calls to it from
499- /// different cores or interrupts don't collide.
500- ///
501- /// It is NOT safe to use in code that could be suspended on one core and
502- /// resumed on another.
503- pub fn logFnThreadsafe (
504- >>>>>>> 320a0b8 (Significant improvement )
505496 comptime level : std.log.Level ,
506497 comptime scope : @TypeOf (.EnumLiteral ),
507498 comptime format : []const u8 ,
You can’t perform that action at this time.
0 commit comments