fdsf
Fork of nRF51822 by
Diff: source/nRF5xn.cpp
- Revision:
- 403:92d6b4c7bf14
- Parent:
- 402:448a564f5c9e
- Child:
- 458:b42881afcc6e
--- a/source/nRF5xn.cpp Fri Aug 07 15:57:07 2015 +0100 +++ b/source/nRF5xn.cpp Fri Aug 07 15:57:07 2015 +0100 @@ -56,10 +56,11 @@ if ((sd_ble_version_get(&version) == NRF_SUCCESS) && (version.company_id == 0x0059)) { switch (version.version_number) { case 0x07: - snprintf(versionString, sizeof(versionString), "Nordic BLE4.1 fw:%04x", version.subversion_number); + case 0x08: + snprintf(versionString, sizeof(versionString), "Nordic BLE4.1 ver:%u fw:%04x", version.version_number, version.subversion_number); break; default: - snprintf(versionString, sizeof(versionString), "Nordic (spec unknown) fw:%04x", version.subversion_number); + snprintf(versionString, sizeof(versionString), "Nordic (spec unknown) ver:%u fw:%04x", version.version_number, version.subversion_number); break; } versionFetched = true;