We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b2de59d commit c9c946fCopy full SHA for c9c946f
hal/targets/hal/TARGET_NORDIC/TARGET_NRF5/serial_api.c
@@ -350,7 +350,7 @@ void serial_baud(serial_t *obj, int baudrate)
350
// directly) to make it possible to set special baud rates like 56000
351
// or 31250.
352
353
- uint32_t const acceptedSpeeds[][2] = {
+ static uint32_t const acceptedSpeeds[][2] = {
354
{ 1200, UART_BAUDRATE_BAUDRATE_Baud1200 },
355
{ 2400, UART_BAUDRATE_BAUDRATE_Baud2400 },
356
{ 4800, UART_BAUDRATE_BAUDRATE_Baud4800 },
0 commit comments