projects
/
mardrone
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
ArDrone SDK 1.8 added
[mardrone]
/
mardrone
/
ARDrone_SDK_Version_1_8_20110726
/
ARDroneLib
/
VP_SDK
/
VP_Os
/
parrotos
/
vp_os_delay.c
diff --git a/mardrone/ARDrone_SDK_Version_1_8_20110726/ARDroneLib/VP_SDK/VP_Os/parrotos/vp_os_delay.c
b/mardrone/ARDrone_SDK_Version_1_8_20110726/ARDroneLib/VP_SDK/VP_Os/parrotos/vp_os_delay.c
new file mode 100644
(file)
index 0000000..
057075e
--- /dev/null
+++ b/
mardrone/ARDrone_SDK_Version_1_8_20110726/ARDroneLib/VP_SDK/VP_Os/parrotos/vp_os_delay.c
@@ -0,0
+1,16
@@
+#include <VP_Os/vp_os_delay.h>
+
+#undef TRUE
+#undef FALSE
+#include "parrotOS_thread.h"
+
+void vp_os_delay(uint32_t ms)
+{
+ sup_thread_delay(ms);
+}
+
+void vp_os_delay_us(uint32_t us)
+{
+ sup_thread_udelay(us);
+}
+