C027_Support library plus AT Comand for dialing.

Fork of C027_Support_New by irsan julfikar

Relax.h

Committer:
mazgch
Date:
2014-05-28
Revision:
83:71e3b8bc9ab8
Parent:
74:208e3e32d263

File content as of revision 83:71e3b8bc9ab8:

#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