Skip to content

Commit

Permalink
Fix formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
fmauch committed Jul 19, 2024
1 parent 27e6638 commit a57b717
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/rtde/rtde_writer.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -221,11 +221,10 @@ bool RTDEWriter::sendStandardAnalogOutput(uint8_t output_pin, double value, cons
return false;
}


std::lock_guard<std::mutex> guard(package_mutex_);
uint8_t mask = pinToMask(output_pin);

auto output_type_bits = [](const uint8_t pin, const uint8_t type){return type << pin;};
auto output_type_bits = [](const uint8_t pin, const uint8_t type) { return type << pin; };
uint8_t output_type = output_type_bits(output_pin, toUnderlying(type));
bool success = true;
success = package_.setData("standard_analog_output_mask", mask);
Expand Down

0 comments on commit a57b717

Please sign in to comment.