Nano RGB LED mesh

Dependencies:   nrf51-sdk

Dependents:   BLENano_Mesh

Fork of nRF51822 by Nordic Semiconductor

Revision:
401:bd0f4eaad9f0
Parent:
400:7527265d3868
Child:
402:448a564f5c9e
diff -r 7527265d3868 -r bd0f4eaad9f0 source/nRF5xn.cpp
--- 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;