Skip to content
This repository was archived by the owner on Aug 9, 2022. It is now read-only.

Commit 28db8a8

Browse files
authored
Merge pull request #51 from esp-rs/fix-macro-ram-check
Fix typo. Now approproately checks the unit and zerod flags.
2 parents 459bb29 + 61fe1bf commit 28db8a8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

procmacros/src/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ pub fn ram(args: TokenStream, input: TokenStream) -> TokenStream {
7272
.emit();
7373
}
7474

75-
if rtc_slow && rtc_fast {
75+
if uninitialized && zeroed {
7676
Span::call_site()
7777
.error("Only one of uninitialized and zeroed")
7878
.emit();

0 commit comments

Comments
 (0)