Skip to content

Commit aa7c367

Browse files
mateusz-holenkocarlescufi
authored andcommitted
drivers: led_strip: Fix formatting of log message
The previous version generated compilation warnings. Signed-off-by: Mateusz Hołenko <[email protected]>
1 parent c334ed5 commit aa7c367

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

drivers/led_strip/lpd880x.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@ static int lpd880x_update(const struct device *dev, void *data, size_t size)
7878

7979
rc = spi_write_dt(&config->bus, &tx);
8080
if (rc) {
81-
LOG_ERR("can't update strip: %d", rc);
81+
LOG_ERR("can't update strip: %zu", rc);
8282
}
8383

8484
return rc;

0 commit comments

Comments
 (0)