Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Dependents: Peripheral_1_serial_copy Peripheral_1_serial 151006_1st_Scenario_normal
Fork of nRF51822 by
Diff: source/nRF5xn.cpp
- Revision:
- 401:bd0f4eaad9f0
- Parent:
- 400:7527265d3868
- Child:
- 402:448a564f5c9e
--- a/source/nRF5xn.cpp Fri Aug 07 15:57:07 2015 +0100 +++ b/source/nRF5xn.cpp Fri Aug 07 15:57:07 2015 +0100 @@ -57,10 +57,10 @@ switch (version.version_number) { case 0x07: case 0x08: - snprintf(versionString, sizeof(versionString), "Nordic BLE4.1 fw:%04x", version.subversion_number); + 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;