mirror of
https://github.com/raspberrypi/pico-sdk.git
synced 2025-12-10 07:14:36 +01:00
Add message to static_assert, fix formatting
This commit is contained in:
parent
a33e620424
commit
82e7d02bd2
2 changed files with 1 additions and 2 deletions
|
|
@ -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…
Add table
Reference in a new issue