mirror of
https://github.com/apache/nuttx.git
synced 2026-05-31 23:40:19 +08:00
drivers/1wire/1wire.c: fix printf warning
This commit is contained in:
@@ -524,7 +524,7 @@ int onewire_search(FAR struct onewire_master_s *master,
|
|||||||
|
|
||||||
if (last_zero == last_bit || last_zero == -1)
|
if (last_zero == last_bit || last_zero == -1)
|
||||||
{
|
{
|
||||||
i2cinfo("search complete, rom=0x%llx\n", rom);
|
i2cinfo("search complete, rom=0x%" PRIx64 "\n", rom);
|
||||||
|
|
||||||
/* Found last device, quit searching. */
|
/* Found last device, quit searching. */
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user