Add message to static_assert, fix formatting
This commit is contained in:
parent
a33e620424
commit
82e7d02bd2
@ -48,7 +48,6 @@ typedef struct {
|
|||||||
/*! \brief Get unique ID
|
/*! \brief Get unique ID
|
||||||
* \ingroup unique_id
|
* \ingroup unique_id
|
||||||
*
|
*
|
||||||
|
|
||||||
* Get the unique 64-bit device identifier which was retrieved from the
|
* Get the unique 64-bit device identifier which was retrieved from the
|
||||||
* external NOR flash device at boot.
|
* external NOR flash device at boot.
|
||||||
*
|
*
|
||||||
|
@ -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);
|
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;
|
static pico_unique_board_id_t retrieved_id;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user