Add define to skip greentea sync

pull/9835/head
Oren Cohen 2019-02-25 14:16:45 +02:00
parent 5f38878f3a
commit 78ec812f3a
1 changed files with 2 additions and 0 deletions

View File

@ -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.