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

Commit 8c22c5c

Browse files
committed
clippy
1 parent 23b556d commit 8c22c5c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,7 @@ include!(env!("EMBUILD_GENERATED_SYMBOLS_FILE"));
8989
const ULP: &[u8] = include_bytes!(env!("EMBUILD_GENERATED_BIN_FILE"));
9090

9191
thread_local! {
92-
static TLS: RefCell<u32> = RefCell::new(13);
92+
static TLS: RefCell<u32> = const { RefCell::new(13) };
9393
}
9494

9595
static CS: esp_idf_svc::hal::task::CriticalSection = esp_idf_svc::hal::task::CriticalSection::new();

0 commit comments

Comments
 (0)