Skip to content

Commit e3c8878

Browse files
committed
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).
1 parent 6aef1af commit e3c8878

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

targets/TARGET_STM/TARGET_STM32F4/TARGET_STM32F439xI/TARGET_WIO_BG96/ONBOARD_QUECTEL_BG96.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
* limitations under the License.
1616
*/
1717

18-
#if MBED_CONF_NSAPI_PRESENT
18+
#if MBED_CONF_CELLULAR_PRESENT
1919

2020
#include "ONBOARD_QUECTEL_BG96.h"
2121

@@ -117,4 +117,4 @@ CellularDevice *CellularDevice::get_target_default_instance()
117117
return &device;
118118
}
119119

120-
#endif // MBED_CONF_NSAPI_PRESENT
120+
#endif // MBED_CONF_CELLULAR_PRESENT

0 commit comments

Comments
 (0)