Make HAL_Initialize timeout configurable, makes result a bool, and makes Java an exception rather than assert. (#557)

This commit is contained in:
Thad House
2017-07-01 00:43:06 -07:00
committed by Peter Johnson
parent d34c844900
commit 2da26c0579
7 changed files with 66 additions and 50 deletions

View File

@@ -68,7 +68,7 @@ HAL_PortHandle HAL_GetPortWithModule(int32_t module, int32_t channel);
uint64_t HAL_GetFPGATime(int32_t* status);
int32_t HAL_Initialize(int32_t mode);
HAL_Bool HAL_Initialize(int32_t timeout, int32_t mode);
// ifdef's definition is to allow for default parameters in C++.
#ifdef __cplusplus