Merge pull request #4672 from 0xc0170/fix_cellular_test

Cellular: not-supported error if MODEM_ON_BOARD not defined
pull/4708/head
Martin Kojtal 2017-07-04 08:26:06 +02:00 committed by GitHub
commit ca1d913477
1 changed files with 3 additions and 12 deletions

View File

@ -14,7 +14,9 @@
* limitations under the License.
*/
#if MODEM_ON_BOARD
#if !MODEM_ON_BOARD
#error [NOT_SUPPORTED] MODEM_ON_BOARD should be set for this test to be functional
#endif
#include "mbed.h"
#include "gmd_ut_config_header.h"
@ -436,14 +438,3 @@ static void unlock()
{
mtx.unlock();
}
#else
int main ()
{
return 0;
}
#endif //MODEM_ON_BOARD
// End Of File