Skip to content

Commit

Permalink
🔀️ Merge branch 'yann/bug-fix/autonomous-activities/add-2-seconds-to-…
Browse files Browse the repository at this point in the history
…avoid-missing-instruction' into develop
  • Loading branch information
ladislas committed Aug 29, 2024
2 parents cdd6946 + e923756 commit b28bfcc
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion libs/ActivityKit/source/activities/FlashNumberCounting.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ void FlashNumberCounting::processCard(const MagicCard &card)

if (card == _expected_tag_number) {
_reinforcerkit.playDefault();
rtos::ThisThread::sleep_for(5s);
rtos::ThisThread::sleep_for(7s);

++_current_round;

Expand Down
2 changes: 1 addition & 1 deletion libs/ActivityKit/source/activities/LedColorRecognition.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ void LedColorRecognition::processCard(const MagicCard &card)

if (card == _current_color->card) {
_reinforcerkit.playDefault();
rtos::ThisThread::sleep_for(5s);
rtos::ThisThread::sleep_for(7s);
++_current_round;

if (_current_round == kRoundsNumber) {
Expand Down
2 changes: 1 addition & 1 deletion libs/ActivityKit/source/activities/LedNumberCounting.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ void LedNumberCounting::processCard(const MagicCard &card)

if (card == _expected_tag_number) {
_reinforcerkit.playDefault();
rtos::ThisThread::sleep_for(5s);
rtos::ThisThread::sleep_for(7s);
++_current_round;

if (_current_round == kRoundsNumber) {
Expand Down
2 changes: 1 addition & 1 deletion libs/ActivityKit/source/activities/SuperSimon.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ void SuperSimon::processCard(const MagicCard &card)

if (_expected_color_index == _current_round) {
_reinforcerkit.playDefault();
rtos::ThisThread::sleep_for(5s);
rtos::ThisThread::sleep_for(7s);
_expected_color_index = 0;
++_current_round;

Expand Down

0 comments on commit b28bfcc

Please sign in to comment.