mirror of https://github.com/ARMmbed/mbed-os.git
Add define to skip greentea sync
parent
5f38878f3a
commit
78ec812f3a
|
@ -94,8 +94,10 @@ void _GREENTEA_SETUP_COMMON(const int timeout, const char *host_test_name, char
|
|||
* This function is blocking.
|
||||
*/
|
||||
extern "C" void GREENTEA_SETUP(const int timeout, const char *host_test_name) {
|
||||
#if defined(NO_GREENTEA)
|
||||
char _value[GREENTEA_UUID_LENGTH] = {0};
|
||||
_GREENTEA_SETUP_COMMON(timeout, host_test_name, _value, GREENTEA_UUID_LENGTH);
|
||||
#endif
|
||||
}
|
||||
|
||||
/** \brief Handshake with host and send setup data (timeout and host test name). Allows you to preserve sync UUID.
|
||||
|
|
Loading…
Reference in New Issue