Skip to content

Commit 11974b5

Browse files
committed
fix sa
1 parent 76fd15b commit 11974b5

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

main/main.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -148,6 +148,7 @@ extern "C" void app_main(void) {
148148
"Set the haptic config to return to center with detents");
149149
root_menu->Insert(
150150
"click",
151+
// cppcheck-suppress constParameterReference
151152
[&](std::ostream &out, float strength) {
152153
strength = std::clamp(strength, 0.0f, 10.0f);
153154
espp::detail::HapticConfig config{

0 commit comments

Comments
 (0)