NuttX 10.3+ upgrade (#20190)

Co-authored-by: Peter van der Perk <peter.vanderperk@nxp.com>
Co-authored-by: David Sidrane <David.Sidrane@NscDg.com>
Co-authored-by: alexklimaj <alex@arkelectron.com>
This commit is contained in:
Daniel Agar
2022-11-20 20:28:07 -05:00
committed by GitHub
co-authored by Peter van der Perk David Sidrane alexklimaj
parent 45b390b0bf
commit 2cb4ef0629
249 changed files with 2850 additions and 632 deletions
@@ -286,7 +286,7 @@ static void mavlink_usb_check(void *arg)
#if defined(CONFIG_SERIAL_PASSTHRU_UBLOX)
speed_t baudrate = cfgetspeed(&uart_config);
char baudstring[16];
snprintf(baudstring, sizeof(baudstring), "%d", baudrate);
snprintf(baudstring, sizeof(baudstring), "%ld", baudrate);
static const char *gps_argv[] {"gps", "stop", nullptr};
static const char *passthru_argv[] {"serial_passthru", "start", "-t", "-b", baudstring, "-e", USB_DEVICE_PATH, "-d", SERIAL_PASSTHRU_UBLOX_DEV, nullptr};