diff --git a/drivers/apa102/apa102.c b/drivers/apa102/apa102.c index 1d529e47aa..d47e067cc1 100644 --- a/drivers/apa102/apa102.c +++ b/drivers/apa102/apa102.c @@ -65,7 +65,7 @@ void apa102_load_rgba(const apa102_t *dev, const color_rgba_t vals[]) for (int i = 0; i < dev->led_numof; i++) { uint32_t data = HEAD; /* we scale the 8-bit alpha value to a 5-bit value by cutting off the - * 3 leas significant bits */ + * 3 least significant bits */ data |= (((uint32_t)vals[i].alpha << BRIGHT_SHIFT) & BRIGHT); data |= ((uint32_t)vals[i].color.b << BLUE_SHIFT); data |= ((uint32_t)vals[i].color.g << GREEN_SHIFT);