Clarify static_assert message
This commit is contained in:
parent
12925bc9d7
commit
0e44a8013c
@ -7,7 +7,7 @@
|
|||||||
#include "hardware/flash.h"
|
#include "hardware/flash.h"
|
||||||
#include "pico/unique_id.h"
|
#include "pico/unique_id.h"
|
||||||
|
|
||||||
static_assert(PICO_UNIQUE_BOARD_ID_SIZE_BYTES == FLASH_UNIQUE_ID_SIZE_BYTES, "Board ID size must match flash ID");
|
static_assert(PICO_UNIQUE_BOARD_ID_SIZE_BYTES == FLASH_UNIQUE_ID_SIZE_BYTES, "Board ID size must match flash ID size");
|
||||||
|
|
||||||
static pico_unique_board_id_t retrieved_id;
|
static pico_unique_board_id_t retrieved_id;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user