We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 701a7f0 commit 0e9376fCopy full SHA for 0e9376f
1 file changed
port/raspberrypi/rp2xxx/src/cpus/hazard3.zig
@@ -143,7 +143,7 @@ pub const interrupt = struct {
143
144
const old_handler = ram_vectors[@intFromEnum(int)];
145
ram_vectors[@intFromEnum(int)] = handler orelse microzig.interrupt.unhandled;
146
- return if (old_handler == microzig.interrupt.unhandled) null else old_handler;
+ return if (old_handler.naked == microzig.interrupt.unhandled.naked) null else old_handler;
147
}
148
};
149
0 commit comments