samples: sensor: pressure_polling: Add delay between sensor readings
Introduce a 1000 ms delay between consecutive sensor readings to prevent logging overflow and reduce console clutter. Signed-off-by: Tahsin Mutlugun <Tahsin.Mutlugun@analog.com>
This commit is contained in:
parent
75d383548d
commit
4c1c954347
@ -57,6 +57,8 @@ int main(void)
|
||||
}
|
||||
printk("\n");
|
||||
}
|
||||
|
||||
k_msleep(1000);
|
||||
}
|
||||
return 0;
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user