Skip to content

Commit

Permalink
fix SDS formatter
Browse files Browse the repository at this point in the history
  • Loading branch information
marenz2569 committed Jan 4, 2025
1 parent f03b009 commit 28a7c49
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/l3/short_data_service_formatter.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ auto operator<<(std::ostream& stream, const ShortDataServicePacket& sds) -> std:
const auto len = sds.sds_data_->data_.bits_left();
for (auto i = 8; i + 8 <= len; i += 8) {
auto bits = sds.sds_data_->data_.look<8>(i);
stream << " " << std::hex << std::setw(2) << std::setfill('0') << static_cast<unsigned>(bits);
stream << " " << std::hex << std::setw(2) << std::setfill('0') << static_cast<unsigned>(bits) << std::dec;
}
stream << std::endl;

Expand Down

0 comments on commit 28a7c49

Please sign in to comment.