Add message to static_assert, fix formatting
This commit is contained in:
parent
21d447fa28
commit
a49aba023b
@ -48,7 +48,6 @@ typedef struct {
|
||||
/*! \brief Get unique ID
|
||||
* \ingroup unique_id
|
||||
*
|
||||
|
||||
* Get the unique 64-bit device identifier which was retrieved from the
|
||||
* external NOR flash device at boot.
|
||||
*
|
||||
|
@ -7,7 +7,7 @@
|
||||
#include "hardware/flash.h"
|
||||
#include "pico/unique_id.h"
|
||||
|
||||
static_assert(PICO_UNIQUE_BOARD_ID_SIZE_BYTES == FLASH_UNIQUE_ID_SIZE_BYTES);
|
||||
static_assert(PICO_UNIQUE_BOARD_ID_SIZE_BYTES == FLASH_UNIQUE_ID_SIZE_BYTES, "Board ID size must match flash ID");
|
||||
|
||||
static pico_unique_board_id_t retrieved_id;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user