Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

use QSerialPort for garmin serial communication. #1279

Draft
wants to merge 14 commits into
base: master
Choose a base branch
from
Draft
4 changes: 2 additions & 2 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,8 @@ set(CMAKE_AUTORCC ON)
add_executable(gpsbabel)

# Find the QtCore library
find_package(Qt6 REQUIRED COMPONENTS Core Core5Compat)
list(APPEND QT_LIBRARIES Qt6::Core Qt6::Core5Compat)
find_package(Qt6 REQUIRED COMPONENTS Core Core5Compat SerialPort)
list(APPEND QT_LIBRARIES Qt6::Core Qt6::Core5Compat Qt6::SerialPort)
if(${Qt6Core_VERSION} VERSION_LESS 6.2)
message(FATAL_ERROR "Qt version ${Qt6Core_VERSION} found, but version 6.2 or newer is required.")
else()
Expand Down
2 changes: 0 additions & 2 deletions jeeps/gpsdevice.h
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,6 @@ typedef struct gpsdevh gpsdevh;

#include "jeeps/gps.h"

#define usecDELAY 180000 /* Microseconds before GPS sends A001 */


int32_t GPS_Device_Chars_Ready(gpsdevh* fd);
int32_t GPS_Device_On(const char* port, gpsdevh** fd);
Expand Down
Loading