Compare commits

...

2 Commits

Author SHA1 Message Date
Roberto Viola
af0bff44c6 Update main.yml 2021-07-31 11:17:55 +02:00
Roberto Viola
574f43b9f3 Update peloton.cpp 2021-07-31 11:15:12 +02:00
2 changed files with 4 additions and 4 deletions

View File

@@ -13,7 +13,8 @@ on:
pull_request:
branches: [ master ]
schedule:
- cron: "0 */12 * * *"
- cron: "0 */12 * * *"
workflow_dispatch:
# A workflow run is made up of one or more jobs that can run sequentially or in parallel
jobs:

View File

@@ -139,15 +139,14 @@ void peloton::workoutlist_onfinish(QNetworkReply *reply) {
testMode) { // NOTE: removed toUpper because of qstring-insensitive-allocation
if (testMode)
id = "eaa6f381891443b995f68f89f9a178be";
id = "45227285ab41439e8b9155e61c6cfa63";
current_workout_id = id;
// starting a workout
qDebug() << QStringLiteral("workoutlist_onfinish IN PROGRESS!");
// peloton bike only
if ((bluetoothManager && bluetoothManager->device() &&
bluetoothManager->device()->deviceType() == bluetoothdevice::BIKE) ||
if ((bluetoothManager && bluetoothManager->device()) ||
testMode) {
getSummary(id);
timer->start(1min); // timeout request