more migration
This commit is contained in:
1 parent
0334a7f02b
commit
4bdc36279b
3 files changed
+11
-1
No files matched your search
@@ -143,13 +143,17 @@ err_t AdafruitBluefruit::begin(bool prph_enable, bool central_enable)
|
||||
.source = NRF_CLOCK_LF_SRC_XTAL,
|
||||
.rc_ctiv = 0,
|
||||
.rc_temp_ctiv = 0,
|
||||
#if SD_VER < 500
|
||||
.xtal_accuracy = NRF_CLOCK_LF_XTAL_ACCURACY_20_PPM
|
||||
#else
|
||||
.accuracy = NRF_CLOCK_LF_ACCURACY_20_PPM
|
||||
#endif
|
||||
#else
|
||||
// LFRC
|
||||
.source = NRF_CLOCK_LF_SRC_RC,
|
||||
.rc_ctiv = 16,
|
||||
.rc_temp_ctiv = 2,
|
||||
.xtal_accuracy = NRF_CLOCK_LF_XTAL_ACCURACY_20_PPM
|
||||
.accuracy = NRF_CLOCK_LF_ACCURACY_20_PPM
|
||||
#endif
|
||||
};
|
||||
|
||||
|
||||
Reference in new issue
Block a user