Skip to content

Commit

Permalink
drivers/sensor: delete warning about argument type in bmi160
Browse files Browse the repository at this point in the history
Remove warning due to variable type difference in format.
  • Loading branch information
SPRESENSE committed Jan 31, 2024
1 parent 708ae8e commit e379c89
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/sensors/bmi160.c
Original file line number Diff line number Diff line change
Expand Up @@ -147,7 +147,7 @@ static ssize_t bmi160_read(FAR struct file *filep, FAR char *buffer,

if (len < sizeof(struct accel_gyro_st_s))
{
snerr("Expected buffer size is %lu\n", sizeof(struct accel_gyro_st_s));
snerr("Expected buffer size is %u\n", sizeof(struct accel_gyro_st_s));
return 0;
}

Expand Down

0 comments on commit e379c89

Please sign in to comment.