Skip to content

Commit

Permalink
remove deref
Browse files Browse the repository at this point in the history
  • Loading branch information
licornes-fluos committed Jun 29, 2024
1 parent 9580ceb commit 49d9dc6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/debug/commands/accelerometer_commands.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ core::Result AccelerometerCommands::addCommands(core::ILogger &logger,
const auto *const read_command_description = "Read from the accelerometer";
const auto *const read_command_usage = "accelerometer read";
const auto read_command_handler
= [&logger, &accelerometer_sensor](const std::vector<std::string> &) {
= [&logger, accelerometer_sensor](const std::vector<std::string> &) {
const auto value_ready = accelerometer_sensor->isValueReady();
if (!value_ready) {
logger.log(core::LogLevel::kFatal, "Value is not ready");
Expand Down

0 comments on commit 49d9dc6

Please sign in to comment.