mirror of https://github.com/PentHertz/srsLTE.git
sched,nr: use formatting %d to represent slot index
This commit is contained in:
parent
8ceb573ea7
commit
f22483ce72
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue