Skip to content

Commit 8a4e21b

Browse files
committed
fixup bad static_assert
1 parent 983a029 commit 8a4e21b

File tree

1 file changed

+1
-1
lines changed
  • src/rp2_common/hardware_flash

1 file changed

+1
-1
lines changed

src/rp2_common/hardware_flash/flash.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -165,7 +165,7 @@ static void __no_inline_not_in_flash_func(flash_do_cmd)(const uint8_t *txbuf, ui
165165
// Use standard RUID command to get a unique identifier for the flash (and
166166
// hence the board)
167167

168-
static_assert(FLASH_UNIQUE_ID_SIZE_BYTES == FLASH_RUID_DATA_BYTES);
168+
static_assert(FLASH_UNIQUE_ID_SIZE_BYTES == FLASH_RUID_DATA_BYTES, "");
169169

170170
void flash_get_unique_id(uint8_t *id_out) {
171171
#if PICO_NO_FLASH

0 commit comments

Comments
 (0)