WIO_BG96: fix macro exclusion - use cellular

This depends on cellular drivers not netsockets (it works because both are present in
the system, not true when you use CMake).
pull/14424/head
Martin Kojtal 2021-03-12 15:28:33 +00:00
parent 6aef1af9e0
commit e3c8878d59
1 changed files with 2 additions and 2 deletions

View File

@ -15,7 +15,7 @@
* limitations under the License.
*/
#if MBED_CONF_NSAPI_PRESENT
#if MBED_CONF_CELLULAR_PRESENT
#include "ONBOARD_QUECTEL_BG96.h"
@ -117,4 +117,4 @@ CellularDevice *CellularDevice::get_target_default_instance()
return &device;
}
#endif // MBED_CONF_NSAPI_PRESENT
#endif // MBED_CONF_CELLULAR_PRESENT