Browse Source

gps pin name error fix

try-fix-comms-errors
Alex Mikhalev 6 years ago
parent
commit
3d010a3ad5
  1. 2
      main/ugv_io_gps.cc

2
main/ugv_io_gps.cc

@ -63,7 +63,7 @@ void UART_GPS::Init() { @@ -63,7 +63,7 @@ void UART_GPS::Init() {
ESP_LOGE(TAG, "uart_param_config: %d", ret);
return;
}
uart_set_pin(GPS_UART, GPS_UART_TX_PIN, GPS_UART_TX_PIN, UART_PIN_NO_CHANGE,
uart_set_pin(GPS_UART, GPS_UART_TX_PIN, GPS_UART_RX_PIN, UART_PIN_NO_CHANGE,
UART_PIN_NO_CHANGE);
ret = uart_driver_install(GPS_UART, GPS_UART_RX_BUF_SIZE,
GPS_UART_TX_BUF_SIZE, GPS_UART_QUEUE_SIZE, NULL, 0);

Loading…
Cancel
Save