Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Dependents: 02_DPPU_JUANDA_120 02_DPPU_JUANDA_120_Latest_copy 02_DPPU_JUANDA_120_Latest
Diff: Relax.h
- Revision:
- 95:8282dbbe1492
- Parent:
- 94:d697fe11f3e5
- Child:
- 96:2aa03444fee3
- Child:
- 98:c786461edd40
--- a/Relax.h Thu Jun 12 12:41:26 2014 +0000
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,15 +0,0 @@
-#pragma once
-
-#include "mbed.h"
-
-#ifdef USING_RTOS
-#include "rtos.h"
-inline void RELAX_MS(unsigned int ms) {
- if (ms) Thread::wait(ms);
- else Thread::yield();
-}
-#else
-inline void RELAX_MS(unsigned int ms) {
- if (ms) wait_ms(ms);
-}
-#endif