mirror of
https://github.com/apache/nuttx.git
synced 2025-12-16 01:34:58 +08:00
Added Adafruit QT Py RP2040 board.
Added ability to configure indivdual UART, SPI and I2C pin location.
This commit is contained in:
@@ -667,7 +667,7 @@ int ws2812_leds_register(FAR const char *devpath, FAR struct spi_dev_s *spi,
|
||||
return -ENOMEM;
|
||||
}
|
||||
|
||||
priv->nleds = nleds;
|
||||
priv->nleds = nleds;
|
||||
priv->tx_buf = (FAR uint8_t *)kmm_zalloc(TXBUFF_SIZE(priv->nleds));
|
||||
if (!priv->tx_buf)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user