STM32 serial: MAke uart_devs[] const. From Freddie Chopin
This commit is contained in:
parent
4af3e1cfa1
commit
081f88b4b9
@ -988,7 +988,7 @@ static struct up_dev_s g_uart8priv =
|
|||||||
|
|
||||||
/* This table lets us iterate over the configured USARTs */
|
/* This table lets us iterate over the configured USARTs */
|
||||||
|
|
||||||
static struct up_dev_s *uart_devs[STM32_NUSART] =
|
static struct up_dev_s * const uart_devs[STM32_NUSART] =
|
||||||
{
|
{
|
||||||
#ifdef CONFIG_STM32_USART1
|
#ifdef CONFIG_STM32_USART1
|
||||||
[0] = &g_usart1priv,
|
[0] = &g_usart1priv,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user