-
Notifications
You must be signed in to change notification settings - Fork 7
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
✨ (MotionKit): Add on_rotation_ended_callback to rotate function #1193
✨ (MotionKit): Add on_rotation_ended_callback to rotate function #1193
Conversation
File comparision analysis report🔖 Info
Click to show memory sections
📝 SummaryClick to show summary
🗺️ Map files diff outputClick to show diff list
|
File comparision analysis report🔖 Info
Click to show memory sections
📝 SummaryClick to show summary
🗺️ Map files diff outputClick to show diff list
|
Codecov Report
@@ Coverage Diff @@
## develop #1193 +/- ##
========================================
Coverage 96.10% 96.10%
========================================
Files 146 146
Lines 3544 3545 +1
========================================
+ Hits 3406 3407 +1
Misses 138 138
📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM 👍
spikes/lk_motion_kit/main.cpp
Outdated
@@ -96,7 +96,7 @@ void onMagicCardAvailable(const MagicCard &card) | |||
{ | |||
switch (card.getId()) { | |||
case (MagicCard::number_1.getId()): | |||
motionkit.rotate(1, Rotation::counterClockwise); | |||
motionkit.rotate(1, Rotation::counterClockwise, [&] { log_debug("Callback end of rotation"); }); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
no need for &
motionkit.rotate(1, Rotation::counterClockwise, [&] { log_debug("Callback end of rotation"); }); | |
motionkit.rotate(1, Rotation::counterClockwise, [] { log_debug("Callback end of rotation"); }); |
4abb309
to
d6e0201
Compare
d6e0201
to
05bded9
Compare
Kudos, SonarCloud Quality Gate passed! |
No description provided.