Skip to content

Instantly share code, notes, and snippets.

@judepereira
Created July 11, 2019 23:11
Show Gist options
  • Save judepereira/7fcbd383ed778bed4da2592712442f47 to your computer and use it in GitHub Desktop.
Save judepereira/7fcbd383ed778bed4da2592712442f47 to your computer and use it in GitHub Desktop.
diff --git a/src/main.c b/src/main.c
index 8ac1dba..2e43f49 100644
--- a/src/main.c
+++ b/src/main.c
@@ -301,7 +301,7 @@ static uint32_t softdev_init(bool init_softdevice)
.accuracy = NRF_CLOCK_LF_ACCURACY_250_PPM
};
- APP_ERROR_CHECK( sd_softdevice_enable(&clock_cfg, app_error_fault_handler) );
+ APP_ERROR_CHECK( sd_softdevice_enable(&clock_cfg, app_error_fault_handler, ANT_LICENSE_KEY) );
sd_nvic_EnableIRQ(SD_EVT_IRQn);
/*------------- Configure BLE params -------------*/
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment