drivers: led_strip: Fix formatting of log message

The previous version generated compilation warnings.

Signed-off-by: Mateusz Hołenko <mholenko@antmicro.com>
This commit is contained in:
Mateusz Holenko 2024-09-24 13:58:43 +02:00 committed by Carles Cufí
parent c334ed515b
commit aa7c367f44
1 changed files with 1 additions and 1 deletions

View File

@ -78,7 +78,7 @@ static int lpd880x_update(const struct device *dev, void *data, size_t size)
rc = spi_write_dt(&config->bus, &tx);
if (rc) {
LOG_ERR("can't update strip: %d", rc);
LOG_ERR("can't update strip: %zu", rc);
}
return rc;