Clarify static_assert message

This commit is contained in:
Luke Wren 2021-01-28 14:17:44 +00:00 committed by Graham Sanderson
parent a49fab6138
commit 9f207485da

View File

@ -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, "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;