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:
Anas Nashif 2020-04-01 05:28:58 -07:00
commit 175b8a7393
4 changed files with 4 additions and 4 deletions

View file

@ -89,6 +89,6 @@ void main(void)
}
}
k_sleep(MSEC_PER_SEC * 4U);
k_sleep(K_MSEC(MSEC_PER_SEC * 4U));
}
}

View file

@ -74,6 +74,6 @@ void main(void)
}
}
k_sleep(MSEC_PER_SEC);
k_sleep(K_MSEC(MSEC_PER_SEC));
}
}

View file

@ -104,7 +104,7 @@ void main(void)
printk("pin 2 write fails!\n");
return;
}
k_sleep(MSEC_PER_SEC);
k_sleep(K_MSEC(MSEC_PER_SEC));
}
}
}

View file

@ -66,6 +66,6 @@ void main(void)
}
}
k_sleep(MSEC_PER_SEC);
k_sleep(K_MSEC(MSEC_PER_SEC));
}
}