Skip to content

Commit e37603f

Browse files
authored
Merge pull request #30 from sensebox/fix/display-qr
fix: display correct qr code
2 parents ab24b58 + 7071c2a commit e37603f

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

senseBox-bike-atrai-v2/src/display/Display.cpp

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -137,8 +137,9 @@ void SBDisplay::showConnectionScreen()
137137
isBicycleAnimationShowing = false;
138138
}
139139

140-
String name = SenseBoxBLE::getMCUId();
140+
String id = SenseBoxBLE::getMCUId();
141141
String bleId = "[" + SenseBoxBLE::getMCUId() + "]";
142+
String name = "senseBox:bike " + bleId;
142143
String bleIdBegin = bleId.substring(0, bleId.length() / 2);
143144
String bleIdEnd = bleId.substring(bleId.length() / 2);
144145
const char *message[] = {

0 commit comments

Comments
 (0)