summaryrefslogtreecommitdiff
path: root/src/common
diff options
context:
space:
mode:
authorHa Thach <[email protected]>2022-05-31 20:57:07 +0700
committerGitHub <[email protected]>2022-05-31 20:57:07 +0700
commit223aaeaecd7b07364b4c10a3f1a00c270c5502d3 (patch)
treee6e81b9e0fddbb16cd6a1b91c63c2e3f151c5656 /src/common
parent11f0ffd9a833f4ea9b28fd12f4dff03e9bb99331 (diff)
parentf2926670cc4e495e025b0838fed5b44d27e4cd43 (diff)
Merge pull request #1463 from hathach/sof-isr-update
changes proposal to audio feedback computation
Diffstat (limited to 'src/common')
-rw-r--r--src/common/tusb_common.h6
1 files changed, 0 insertions, 6 deletions
diff --git a/src/common/tusb_common.h b/src/common/tusb_common.h
index bcdf8933a..b1ee40a1a 100644
--- a/src/common/tusb_common.h
+++ b/src/common/tusb_common.h
@@ -134,12 +134,6 @@ TU_ATTR_ALWAYS_INLINE static inline uint32_t tu_offset4k(uint32_t value) { retur
//------------- Mathematics -------------//
TU_ATTR_ALWAYS_INLINE static inline uint32_t tu_div_ceil(uint32_t v, uint32_t d) { return (v + d -1)/d; }
-/// inclusive range checking TODO remove
-TU_ATTR_ALWAYS_INLINE static inline bool tu_within(uint32_t lower, uint32_t value, uint32_t upper)
-{
- return (lower <= value) && (value <= upper);
-}
-
// log2 of a value is its MSB's position
// TODO use clz TODO remove
static inline uint8_t tu_log2(uint32_t value)