diff options
| author | Aleksei Musin <[email protected]> | 2026-02-09 12:22:20 +0400 |
|---|---|---|
| committer | GitHub <[email protected]> | 2026-02-09 12:22:20 +0400 |
| commit | 6e675da608b063e2ea7db1d700d788d6a247f9ec (patch) | |
| tree | 5bcf5bb529e6ca2ebefc889920b28f1fab851e3f /src/common/tusb_common.h | |
| parent | ebc9edfb7a512c8dd6816a40698c62c364bd78da (diff) | |
| parent | f5424c569ddc673a9c23b78febceed8f7f098509 (diff) | |
Merge branch 'hathach:master' into threadx_osal
Diffstat (limited to 'src/common/tusb_common.h')
| -rw-r--r-- | src/common/tusb_common.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/common/tusb_common.h b/src/common/tusb_common.h index d74760608..6ac1405f3 100644 --- a/src/common/tusb_common.h +++ b/src/common/tusb_common.h @@ -329,7 +329,7 @@ TU_ATTR_ALWAYS_INLINE static inline void tu_unaligned_write16(void *mem, uint16_ #endif -// scatter read 4 bytes from two buffers. Parameter are not checked +// scatter read 4 bytes from two buffers (LE). Parameter are not checked TU_ATTR_ALWAYS_INLINE static inline uint32_t tu_scatter_read32(const uint8_t *buf1, uint8_t len1, const uint8_t *buf2, uint8_t len2) { uint32_t result = 0; @@ -348,7 +348,7 @@ TU_ATTR_ALWAYS_INLINE static inline uint32_t tu_scatter_read32(const uint8_t *bu return result; } -// scatter write 4 bytes to two buffers. Parameter are not checked +// scatter write 4 bytes (LE) to two buffers. Parameter are not checked TU_ATTR_ALWAYS_INLINE static inline void tu_scatter_write32(uint32_t value, uint8_t *buf1, uint8_t len1, uint8_t *buf2, uint8_t len2) { for (uint8_t i = 0; i < len1; ++i) { |
