sensors/bmi270_uorb.c: fix condition for sensor stop

This commit is contained in:
raiden00pl 2024-04-23 19:24:11 +02:00 committed by Xiang Xiao
parent 1985dcd192
commit a34007b81f
1 changed files with 1 additions and 1 deletions

View File

@ -164,7 +164,7 @@ static int bmi270_activate(FAR struct sensor_lowerhalf_s *lower,
start = true; start = true;
} }
else if (tmp == 1) else if (!enable && tmp == 1)
{ {
/* One time stop */ /* One time stop */