Commit 46a5108e authored by Achim Morschhauser's avatar Achim Morschhauser
Browse files

Baud rate in development

parent f1c311d6
......@@ -100,6 +100,8 @@ driver_obs_obsdaq::driver_obs_obsdaq(std::string port, int baud,
sprintf(addr_str, "%02X", addr);
RS485_addrstr = std::string(addr_str);
/* In development
// Check if requested baud rate is already set
if ( check_baud(baud) != 1){
......@@ -112,6 +114,11 @@ driver_obs_obsdaq::driver_obs_obsdaq(std::string port, int baud,
}
*/
// Set baud rate
set_baud(baud);
// Initialize
init();
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment