Skip to content

Commit

Permalink
nfc fixed benign warning
Browse files Browse the repository at this point in the history
  • Loading branch information
SanaaHamel committed Jun 21, 2023
1 parent 2bb7ec5 commit 5cb5bed
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/ui.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ void LV_DRV_DISP_SPI_CS(bool) {
void LV_DRV_DISP_SPI_WR_ARRAY(uint8_t const* src, unsigned len) {
assert(g_display_spi && "SPI not yet ready");
assert(src);
auto n = spi_write_blocking(g_display_spi, src, len);
[[maybe_unused]] auto n = spi_write_blocking(g_display_spi, src, len);
assert(n == int(len) && "failed to write octet");
}

Expand Down

0 comments on commit 5cb5bed

Please sign in to comment.