There was an error while loading. Please reload this page.
1 parent fc14ac2 commit 42dda0eCopy full SHA for 42dda0e
1 file changed
src/devices/bluetooth.cpp
@@ -4346,6 +4346,11 @@ void bluetooth::restart() {
4346
delete ftmsBike;
4347
ftmsBike = nullptr;
4348
}
4349
+ if (xcxBike) {
4350
+
4351
+ delete xcxBike;
4352
+ xcxBike = nullptr;
4353
+ }
4354
if (wahooKickrSnapBike) {
4355
4356
delete wahooKickrSnapBike;
@@ -4661,6 +4666,8 @@ bluetoothdevice *bluetooth::device() {
4661
4666
return snodeBike;
4662
4667
} else if (ftmsBike) {
4663
4668
return ftmsBike;
4669
+ } else if (xcxBike) {
4670
+ return xcxBike;
4664
4671
} else if (wahooKickrSnapBike) {
4665
4672
return wahooKickrSnapBike;
4673
} else if (technogymBike) {
0 commit comments