Skip to content

Commit

Permalink
Optimize CAN API V3 wrapper
Browse files Browse the repository at this point in the history
Relates to [MACCAN-204]
  • Loading branch information
mac-can committed Jun 9, 2024
1 parent c536707 commit 21e2b51
Show file tree
Hide file tree
Showing 3 changed files with 101 additions and 100 deletions.
2 changes: 1 addition & 1 deletion Sources/KvaserCAN.h
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@
#define KVASERCAN_LIBRARY_NAME CANDLL_KVASERCAN
#define KVASERCAN_LIBRARY_VENDOR "UV Software, Berlin"
#define KVASERCAN_LIBRARY_LICENSE "BSD-2-Clause OR GPL-3.0-or-later"
#define KVASERCAN_LIBRARY_COPYRIGHT "Copyright (c) 2020-2024 by Uwe Vogt, UV Software, Berlin"
#define KVASERCAN_LIBRARY_COPYRIGHT "Copyright (c) 2017-2024 by Uwe Vogt, UV Software, Berlin"
#define KVASERCAN_LIBRARY_HAZARD_NOTE "If you connect your CAN device to a real CAN network when using this library,\n" \
"you might damage your application."
/// \}
Expand Down
8 changes: 3 additions & 5 deletions Sources/KvaserCAN_Defines.h
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
/*
* KvaserCAN - macOS User-Space Driver for Kvaser USB CAN Interfaces
*
* Copyright (c) 2017-2023 Uwe Vogt, UV Software, Berlin ([email protected])
* Copyright (c) 2017-2024 Uwe Vogt, UV Software, Berlin ([email protected])
* All rights reserved.
*
* This file is part of MacCAN-KvaserCAN.
Expand Down Expand Up @@ -91,8 +91,6 @@ extern "C" {
#endif
#endif
/** @} */
#define OPTION_KVASER_CiA_BIT_TIMING // FIXME: replace this by !OPTION_KVASER_BIT_TIMING


/* ----------- defines ------------------------------------------------
*/
Expand Down Expand Up @@ -133,7 +131,7 @@ extern "C" {
* @{ */
#define KVASER_LIB_ID 600 /**< library ID (CAN/COP API V1 compatible) */
#if defined(_WIN32) || defined (_WIN64)
#define KVASER_LIB_CANLIB "canLib32.DLL"
#define KVASER_LIB_CANLIB "canlib32.dll"
#define KVASER_LIB_WRAPPER "u3cankvl.dll"
#elif defined(__APPLE__)
#define KVASER_LIB_CANLIB "(driverless)"
Expand Down Expand Up @@ -161,5 +159,5 @@ extern "C" {
/* ----------------------------------------------------------------------
* Uwe Vogt, UV Software, Chausseestrasse 33 A, 10115 Berlin, Germany
* Tel.: +49-30-46799872, Fax: +49-30-46799873, Mobile: +49-170-3801903
* E-Mail: [email protected], Homepage: http://www.uv-software.de/
* E-Mail: [email protected], Homepage: https://www.uv-software.de/
*/
Loading

0 comments on commit 21e2b51

Please sign in to comment.