code cleanup

This commit is contained in:
Martin Brodbeck 2023-01-05 10:16:32 +01:00
parent 191942d48f
commit b1ca85b6e9

View file

@ -25,9 +25,3 @@ class WS2812 {
PIO m_pio;
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);
// }