sched,nr: use formatting %d to represent slot index

This commit is contained in:
Francisco Paisana 2021-10-01 15:07:41 +01:00
parent 8ceb573ea7
commit f22483ce72
1 changed files with 1 additions and 1 deletions

View File

@ -157,7 +157,7 @@ struct formatter<srsran::slot_point> {
template <typename FormatContext>
auto format(srsran::slot_point slot, FormatContext& ctx) -> decltype(std::declval<FormatContext>().out())
{
return format_to(ctx.out(), "{}:{}", slot.sfn(), slot.slot_idx());
return format_to(ctx.out(), "{}", slot.to_uint());
}
};
} // namespace fmt