Skip to content

Commit e1d7279

Browse files
committed
Fix formatting
1 parent 52f1014 commit e1d7279

File tree

3 files changed

+2
-4
lines changed

3 files changed

+2
-4
lines changed

core/src/mmio.zig

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ pub fn Mmio(comptime PackedT: type) type {
6868
const U = enum_info.tag_type;
6969
@field(val, field_name) =
7070
@as(FieldType, @enumFromInt(@as(U, @intFromEnum(@field(val, field_name))) ^
71-
@as(U, @intFromEnum(@as(FieldType, value)))));
71+
@as(U, @intFromEnum(@as(FieldType, value)))));
7272
},
7373
else => |T| {
7474
@compileError("unsupported register field type '" ++ @typeName(T) ++ "'");

port/stmicro/stm32/src/hals/common/i2c_v2.zig

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,8 +30,7 @@ const TimingSpec_Standard = .{
3030
.t_min_af = 0.05,
3131
};
3232

33-
const TIMINGR = blk: for (@typeInfo(I2C_Peripherals).@"struct".fields) |field|
34-
{
33+
const TIMINGR = blk: for (@typeInfo(I2C_Peripherals).@"struct".fields) |field| {
3534
if (std.mem.eql(u8, "TIMINGR", field.name)) {
3635
break :blk field.type;
3736
}

tools/esp-image/src/elf2image.zig

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -110,7 +110,6 @@ const Args = struct {
110110
}
111111
};
112112

113-
114113
const help_message =
115114
\\--help Show this message
116115
\\--output <str> Path to save the generated file

0 commit comments

Comments
 (0)