mirror of https://github.com/ARMmbed/mbed-os.git
Cellular: not-supported error if MODEM_ON_BOARD not defined
If a test is empty, it leads to undef. Therefore if a test requires additional details, it should print an error [NOT SUPPORTED].pull/4672/head
parent
9b082fff55
commit
334c02f7d4
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in New Issue