Skip to content

Commit ad30109

Browse files
authored
Merge pull request #102 from pennam/nb_fix
Fix build after MKRNB library release 1.6.0
2 parents d3105f9 + 8d245fe commit ad30109

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Arduino_NBConnectionHandler.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -100,7 +100,7 @@ NetworkConnectionState NBConnectionHandler::update_handleConnecting()
100100
{
101101
NB_NetworkStatus_t const network_status = _nb_gprs.attachGPRS(true);
102102
Debug.print(DBG_DEBUG, F("GPRS.attachGPRS(): %d"), network_status);
103-
if (network_status == NB_NetworkStatus_t::ERROR)
103+
if (network_status == NB_NetworkStatus_t::NB_ERROR)
104104
{
105105
Debug.print(DBG_ERROR, F("GPRS.attachGPRS() failed"));
106106
return NetworkConnectionState::ERROR;

0 commit comments

Comments
 (0)