gps pin name error fix
This commit is contained in:
parent
ad1daa4ba3
commit
3d010a3ad5
@ -63,7 +63,7 @@ void UART_GPS::Init() {
|
|||||||
ESP_LOGE(TAG, "uart_param_config: %d", ret);
|
ESP_LOGE(TAG, "uart_param_config: %d", ret);
|
||||||
return;
|
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);
|
UART_PIN_NO_CHANGE);
|
||||||
ret = uart_driver_install(GPS_UART, GPS_UART_RX_BUF_SIZE,
|
ret = uart_driver_install(GPS_UART, GPS_UART_RX_BUF_SIZE,
|
||||||
GPS_UART_TX_BUF_SIZE, GPS_UART_QUEUE_SIZE, NULL, 0);
|
GPS_UART_TX_BUF_SIZE, GPS_UART_QUEUE_SIZE, NULL, 0);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user