Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 8bada4cd authored by Chris Manton's avatar Chris Manton Committed by Gerrit Code Review
Browse files

Merge changes I1c84efb2,I6f663ae0 into main

* changes:
  logging: Provide enum formatter stack::tBT_PSM
  logging: Provide enum formatter stack::tL2CAP_CID_FIXED
parents 277c0d4a f7c0bbe9
Loading
Loading
Loading
Loading
+5 −0
Original line number Diff line number Diff line
@@ -67,3 +67,8 @@ inline std::string bt_psm_text(const tBT_PSM& psm) {
  };
  RETURN_UNKNOWN_TYPE_STRING(type, psm);
}

namespace fmt {
template <>
struct formatter<tBT_PSM> : enum_formatter<tBT_PSM> {};
}  // namespace fmt
+2 −0
Original line number Diff line number Diff line
@@ -501,6 +501,8 @@ constexpr uint16_t L2CAP_SDU_LENGTH_LE_MAX = 0xffff;
namespace fmt {
template <>
struct formatter<tL2CAP_CONN> : enum_formatter<tL2CAP_CONN> {};
template <>
struct formatter<tL2CAP_CID_FIXED> : enum_formatter<tL2CAP_CID_FIXED> {};
}  // namespace fmt

#endif