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

Commit d1ce8c9f authored by Chris Manton's avatar Chris Manton
Browse files

Add main/shim/dumpsys::supervision_timeout_to_seconds

Towards loggable code

Bug: 163134718
Tag: #refactor
Test: gd/cert/run

Change-Id: Icd73d874a7143efdf33383ad3b096305c21d98b8
parent 8c2d2026
Loading
Loading
Loading
Loading
+4 −0
Original line number Diff line number Diff line
@@ -40,6 +40,10 @@ inline double ticks_to_seconds(uint16_t ticks) {
  return (static_cast<double>(ticks) * 0.625 * 0.001);
}

inline double supervision_timeout_to_seconds(uint16_t timeout) {
  return (static_cast<double>(timeout) * 0.01);
}

namespace bluetooth {
namespace shim {