Adds a HAL wrapper around the CAN API's (#623)

Can someday be added to the simulator. Removes the last use case for the
ni headers directly.
This commit is contained in:
Thad House
2017-09-07 21:40:30 -07:00
committed by Peter Johnson
parent c572e6a307
commit 2249a8bac0
7 changed files with 148 additions and 20 deletions

View File

@@ -20,15 +20,6 @@ typedef enum {
// full.
} CTR_Code;
// CAN Errors
#define ERR_CANSessionMux_InvalidBuffer -44086
#define ERR_CANSessionMux_MessageNotFound -44087
#define WARN_CANSessionMux_NoToken 44087
#define ERR_CANSessionMux_NotAllowed -44088
#define ERR_CANSessionMux_NotInitialized -44089
#define ERR_CANSessionMux_SessionOverrun 44050
// VISA Error
#define _VI_ERROR (-2147483647L - 1)
#define VI_ERROR_SYSTEM_ERROR (_VI_ERROR + 0x3FFF0000L)