coccinelle: standardize k_sleep calls with integer timeouts
Re-run with updated script to convert integer literal delay arguments to k_sleep to use the standard timeout macros. Signed-off-by: Peter Bigot <peter.bigot@nordicsemi.no>
This commit is contained in:
parent
f0c0b3b5dc
commit
6e5db350b2
130 changed files with 229 additions and 229 deletions
|
@ -51,7 +51,7 @@ static int iaqcore_sample_fetch(struct device *dev, enum sensor_channel chan)
|
|||
return 0;
|
||||
}
|
||||
|
||||
k_sleep(100);
|
||||
k_sleep(K_MSEC(100));
|
||||
}
|
||||
|
||||
if (drv_data->status == 0x01) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue