mirror of
https://github.com/apache/nuttx.git
synced 2026-05-24 16:11:56 +08:00
drivers/sensor: delete warning about argument type in bmi160
Remove warning due to variable type difference in format.
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user