Skip to content

Commit 1181b8b

Browse files
authored
Export RttControlBlock regardless (#758)
1 parent 6f64968 commit 1181b8b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

modules/rtt/src/rtt.zig

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -529,9 +529,9 @@ pub fn RTT(comptime config: Config) type {
529529
) = undefined;
530530

531531
comptime {
532-
if (config.linker_section) |section| @export(&control_block, .{
532+
@export(&control_block, .{
533533
.name = "RttControlBlock",
534-
.section = section,
534+
.section = config.linker_section orelse ".data",
535535
});
536536
}
537537

0 commit comments

Comments
 (0)