diff --git a/CMakeLists.txt b/CMakeLists.txt index 4862e55..8fc9c7b 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -18,7 +18,7 @@ project( LANGUAGES CXX ) -set(PROJECT_VERSION 1.0.0) +set(PROJECT_VERSION 1.0.1) configure_file(config.h.in configured/config.h) include_directories(${CMAKE_CURRENT_BINARY_DIR}/configured) diff --git a/Common/Constants.cxx b/Common/Constants.cxx index 82b9d01..567d9fe 100644 --- a/Common/Constants.cxx +++ b/Common/Constants.cxx @@ -25,7 +25,7 @@ namespace Common { uint32_t Constants::TSAP_PORT_LOCAL = 0; // Read from PVSS on driver startup from config file uint32_t Constants::TSAP_PORT_REMOTE = 0; // Read from PVSS on driver startupconfig file uint32_t Constants::POLLING_INTERVAL = 2; // Read from PVSS on driver startupconfig file, default 2 seconds - uint32_t Constants::MAX_IO_FAILURES = 5; // Read from PVSS on driver startupconfig file, default 2 seconds + uint32_t Constants::MAX_IO_FAILURES = 1; // Read from PVSS on driver startupconfig file, default 1 time uint32_t Constants::CYCLE_INTERVAL = 1; // Read from PVSS on driver startupconfig file, default 1 second bool Constants::SMOOTHING = true; // Read from PVSS on driver startupconfig file std::string Constants::drv_version = PROJECT_VER; diff --git a/README.md b/README.md index 71977dc..cf1481e 100644 --- a/README.md +++ b/README.md @@ -165,7 +165,7 @@ smoothing = 1 cycleInterval = 1 # Set max number of IO failures before disconnecting and connecting again -maxIoFailures = 5 +maxIoFailures = 1 ```