Skip to content

Commit f3238dc

Browse files
committed
Fix ir:USER example
1 parent 5eb8f79 commit f3238dc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ctru-rs/examples/ir-user-circle-pad-pro.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ const CPP_POLLING_PERIOD_MS: u8 = 0x32;
1919

2020
// This export tells libctru to not initialize ir:rst when initializing HID.
2121
// This is necessary on the New 3DS because ir:rst is mutually exclusive with ir:USER.
22-
#[no_mangle]
22+
#[unsafe(no_mangle)]
2323
unsafe extern "C" fn hidShouldUseIrrst() -> bool {
2424
false
2525
}

0 commit comments

Comments
 (0)