code cleanup
This commit is contained in:
parent
191942d48f
commit
b1ca85b6e9
1 changed files with 0 additions and 6 deletions
|
@ -25,9 +25,3 @@ class WS2812 {
|
||||||
PIO m_pio;
|
PIO m_pio;
|
||||||
uint m_sm;
|
uint m_sm;
|
||||||
};
|
};
|
||||||
|
|
||||||
static inline void put_pixel(uint32_t pixel_grb) { pio_sm_put_blocking(pio0, 0, pixel_grb << 8u); }
|
|
||||||
|
|
||||||
// static inline uint32_t urgb_u32(uint8_t r, uint8_t g, uint8_t b) {
|
|
||||||
// return ((uint32_t)(r) << 8) | ((uint32_t)(g) << 16) | (uint32_t)(b);
|
|
||||||
// }
|
|
Loading…
Reference in a new issue