From b1ca85b6e9abe076d68e68349e7dc5731cdc548c Mon Sep 17 00:00:00 2001 From: Martin Brodbeck Date: Thu, 5 Jan 2023 10:16:32 +0100 Subject: [PATCH] code cleanup --- src/ws2812.h | 6 ------ 1 file changed, 6 deletions(-) diff --git a/src/ws2812.h b/src/ws2812.h index f7d4a7e..229fccf 100644 --- a/src/ws2812.h +++ b/src/ws2812.h @@ -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); -// } \ No newline at end of file