samples: use K_MSEC with k_sleep()
Couple of samples missing the conversion. Signed-off-by: Anas Nashif <anas.nashif@intel.com>
This commit is contained in:
parent
47f4a85d14
commit
175b8a7393
4 changed files with 4 additions and 4 deletions
|
@ -89,6 +89,6 @@ void main(void)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
k_sleep(MSEC_PER_SEC * 4U);
|
k_sleep(K_MSEC(MSEC_PER_SEC * 4U));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -74,6 +74,6 @@ void main(void)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
k_sleep(MSEC_PER_SEC);
|
k_sleep(K_MSEC(MSEC_PER_SEC));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -104,7 +104,7 @@ void main(void)
|
||||||
printk("pin 2 write fails!\n");
|
printk("pin 2 write fails!\n");
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
k_sleep(MSEC_PER_SEC);
|
k_sleep(K_MSEC(MSEC_PER_SEC));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -66,6 +66,6 @@ void main(void)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
k_sleep(MSEC_PER_SEC);
|
k_sleep(K_MSEC(MSEC_PER_SEC));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue