Skip to content

Commit 4aa83b6

Browse files
committed
make interleaving inline, todo optim (2.27us to read and decode the adc values from buffer)
1 parent 5e54639 commit 4aa83b6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/current/rp2350/RP2350PIOCurrentSense.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -115,7 +115,7 @@
115115
return 0;
116116
};
117117

118-
void extract_bit_interleaved(const uint32_t w0, const uint32_t w1, uint32_t *a, uint32_t *b, uint32_t *c, uint32_t *d) {
118+
static inline void extract_bit_interleaved(const uint32_t w0, const uint32_t w1, uint32_t *a, uint32_t *b, uint32_t *c, uint32_t *d) {
119119
*a = 0;
120120
*b = 0;
121121
*c = 0;

0 commit comments

Comments
 (0)